close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Update Page / Update Menu

Thread began 10/04/2011 11:14 am by info271221 | Last modified 11/01/2011 11:39 am by Jason Byrnes | 731 views | 5 replies |

info271221

Update Page / Update Menu

My update dynamic menu is not retaining the initially selected item.

Attached Files
versatool_Update.zip
Sign in to reply to this post

Jason ByrnesWebAssist

do you mean the gallery select list? is that what you are referring to?

if so:
In design view, click on the select list.

In the property inspector click the dynamic button

click the lightning bolt next to select value equal to.

from the dynamic data bindings, expand the WADAphotogallery recordset and select the GalID binding.

Sign in to reply to this post

info271221

Update page, update menu dynamic join

I think my problem is that I do not know how to create a dynamic join. The gallery id is in the photogallery table but the gallery title is only in the galtitle table. Therefore I believe I need to select the galid that is in the photogallery table and the galtitle from the galtitle table. This is what I have and it is displaying the selected gallery twice in the menu and the entire list once in the menu and it is NOT selecting the initially selected as initially selected, it is selecting the 1st item in the GalTitle table.
<select name="GalID" id="GalID">
<option value="<?php echo(str_replace('"', '&quot;', $row_WADAphotogallery['GalID'])); ?>" selected="selected"><?php echo(str_replace('"', '&quot;', $row_WADADynListphotogaltitle['GalTitle'])); ?></option>
<?php do { ?>
<option value="<?php echo $row_rsGalleriesList['GalID']; ?>"><?php echo $row_rsGalleriesList['GalTitle']; ?></option>
<?php } while ($row_rsGalleriesList = mysql_fetch_assoc($rsGalleriesList)); ?>
</select>

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of your insert page? This may help me understand the problem a bit better.

Sign in to reply to this post

info271221

Here is a fresh insert and the update. I have the pages in the powercms template.

Attached Files
versatool_InsertUpdate.zip
Sign in to reply to this post

Jason ByrnesWebAssist

Ok, on the update page the code for the galleries list is:

php:
<select name="GalID" id="GalID">
              <option value="<?php echo(str_replace('"''&quot;'$row_WADAphotogallery['GalID'])); ?>" selected="selected"><?php echo(str_replace('"''&quot;'$row_WADADynListphotogaltitle['GalTitle'])); ?></option>
              <?php do { ?>
              <option value="<?php echo $row_rsGalleriesList['GalID']; ?>"><?php echo $row_rsGalleriesList['GalTitle']; ?></option>
              <?php } while ($row_rsGalleriesList mysql_fetch_assoc($rsGalleriesList)); ?>
            </select>




delete the first option:

php:
<option value="<?php echo(str_replace('"''&quot;'$row_WADAphotogallery['GalID'])); ?>" selected="selected"><?php echo(str_replace('"''&quot;'$row_WADADynListphotogaltitle['GalTitle'])); ?></option>



then in design view, select the gallery list, in the property inspector, click the Dynamic button.

Next to the "Select Value Equal To Option, click the lightning bolt and select, expand the WADAphotogallery recordset and select the GalID column.

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...