close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Can't edit options in admin

Thread began 3/01/2011 4:46 pm by denise234045 | Last modified 3/02/2011 2:12 pm by Jason Byrnes | 743 views | 1 replies |

denise234045

Can't edit options in admin

Hi - this is all the way back in Powerstore 2! Any help would be greatly appreciated!!

This is the site: intlarrivals.com

From the admin section we are unable to edit or delete the different values that are set up in the various options. Please see attached image.

This is the source:
<p><span title="Pencil 10" x 6.5"">
Pencil 10":</span>
<a href="#" onclick="updateOptionValue(109, 'Pencil 10\" x 6.5\"', 17);"> Edit</a>

| <a href="#" onclick="deleteOption_Value (109, 'Pencil 10" x 6.5"', '36', 'Pencil 10" x 6.5"');">Delete</a>
</p>

Both the edit and delete buttons are not functioning. The client has mistakenly added several values that we need to get rid of, but has no way to do it unless he deletes the whole thing and starts over.

Any help would be much, much appreciated!!

Thank you thank you thank you thank you thank you

Sign in to reply to this post

Jason ByrnesWebAssist

on the admin/options_Add.php page, change:

php:
<a href="#" onclick="updateOptionValue(<?php echo $row_OptionValuesLoop['OptionID']; ?>, '<?php echo addslashes($row_OptionValuesLoop['OptionName']); ?>', <?php echo $row_AddedOptions['OptionGroupID']; ?>);"> Edit</a>




to:

php:
<a href="#" onclick="updateOptionValue(<?php echo $row_OptionValuesLoop['OptionID']; ?>, '<?php echo htmlspecialchars(addslashes($row_OptionValuesLoop['OptionName'])); ?>', <?php echo $row_AddedOptions['OptionGroupID']; ?>);"> Edit</a>




and change:

php:
<a href="#" onclick="deleteOption_Value (<?php echo $row_OptionValuesLoop['OptionID']; ?>, '<?php echo $row_OptionValuesLoop['OptionName']; ?>', '<?php echo $row_OptionValuesLoop['GroupingID']; ?>', '<?php echo $row_OptionValuesLoop['OptionName']; ?>');">Delete</a>



to:

php:
<a href="#" onclick="deleteOption_Value (<?php echo $row_OptionValuesLoop['OptionID']; ?>, '<?php echo htmlspecialchars($row_OptionValuesLoop['OptionName']); ?>', '<?php echo $row_OptionValuesLoop['GroupingID']; ?>', '<?php echo htmlspecialchars($row_OptionValuesLoop['OptionName']); ?>');">Delete</a>
Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...