close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Dynamic DD menu - third level problem

Thread began 11/10/2010 10:18 pm by superpac250441 | Last modified 11/15/2010 7:22 am by Jason Byrnes | 2044 views | 6 replies |

superpac250441

Dynamic DD menu - third level problem

Hi there,
I am trying to build a dynamic third level on one of the drop downs (products). I can do this quite successfully until I try building the next menu item to drop down from next top level item. The menu then breaks up. I have attached the menu page and the cssmenuwriter folder. Can anyone give me a clue as to what is causing this problem.
Many thanks

Attached Files
MenuTest.zip
cssmw2.zip
Sign in to reply to this post

Jason ByrnesWebAssist

can you send a link where i can see the issue in the browser.

Looking at the code, i don't see a problem.

Sign in to reply to this post

superpac250441

Many thanks

YOU CAN SEE IT AT MenuTest.php

It give the following error:

Parse error: syntax error, unexpected '=' in /home/agricon/public_html/b/CSSMenuWriter/cssmw2/menu.php on line 109

Line 109 onwards:
<?phclass="level-3">
<?php if ($totalRows_menuwriter_productsubcategory > 0) { // Show if recordset not empty ?>
<?php do { ?>
<li><a href="<?php echo($assumedRoot); ?>plugins/<?php echo $row_menuwriter_productsubcategory["url"]; ?>"><?php echo $row_menuwriter_productsubcategory["Name"]; ?></a></li>
<?php } while ($row_menuwriter_productsubcategory = mysql_fetch_assoc($menuwriter_productsubcategory)); ?>
<?php } // Show if recordset not empty ?>
</ul>

The snagged picture attached shows what it looks like on my local host

Sign in to reply to this post

Jason ByrnesWebAssist

ahhh, the error helps a lot.


change 109:
<?phclass="level-3">


to:
<ul class="level-3">

Sign in to reply to this post

superpac250441

This post has been deleted.

superpac250441

Another problem

Hi there,
It worked on my local host but not for some reason at the hosting server. So I rebuilt is, cleaned out the free mysql's out of menu.php inside the menuwriter folder but still get an error:

Parse error: syntax error, unexpected '<', expecting T_VARIABLE or '$' in /home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php on line 135

It can be seen at menu.php

Any assistance is much appreciated

Sign in to reply to this post

superpac250441

Hi again,
It's not writing the code correctly but I have sorted out the problem - so many thanks

Sign in to reply to this post

Jason ByrnesWebAssist

OK, glad to hear you have found the problem.

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