close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CSS Menu Writer not displaying "current" state

Thread began 9/13/2010 1:05 pm by sandy170299 | Last modified 9/23/2010 8:03 am by Jason Byrnes | 3235 views | 15 replies |

sandy170299

CSS Menu Writer not displaying "current" state

My menu is not displaying a "current" state, even though I have edited the CSS to make the "current" menu stand out. I am using a combination of static and database driven menus, so I'm not sure how to make this happen.

Sign in to reply to this post

Jason ByrnesWebAssist

please post a link

Sign in to reply to this post

sandy170299

It's not live anywhere. Give me a bit and I'll find somewhere to put it. I'll also have to create the DB on the server, so it's going to take a little while...

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, once you have it uploaded, I will be able to take a look to see why the currant highlighting is not working.

Sign in to reply to this post

sandy170299

I've uploaded the pages to the server, but I'm getting a strange error message.

main.php

It's giving me the following error:

Warning: require_once(../Connections/dynamo.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/69/6124769/html/dynamenus/CSSMenuWriter/cssmw0/menu.php on line 24

Fatal error: require_once() [function.require]: Failed opening required '../Connections/dynamo.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/69/6124769/html/dynamenus/CSSMenuWriter/cssmw0/menu.php on line 24

What's being refrenced in this line of code is the connection string. It should be okay, but I'll double-check.

Sign in to reply to this post

sandy170299

Jason, I found a post that is documenting exactly what I'm experiencing: showthread.php?t=14307&highlight=connection

I'm not able to fix this. Can you help? Sheesh ... one issue leads to another!

Sign in to reply to this post

Jason ByrnesWebAssist

in the menu.php file, the require_once line for the connection needs to be edited.

It looks like line 24 is:
require_once("../Connections/dynamo.php")

and should be changed to:
require_once("../../../Connections/dynamo.php")

Sign in to reply to this post

sandy170299

That worked, but now I'm getting a parse error online 27.

Here's the whole block of code:

<?php
// MenuWriter connection includes
require_once("../../../Connections/dynamo.php")
// end connection includes
// MenuWriter ignore connection includes
if (1 == 0) {
?>

Sign in to reply to this post

sandy170299

Jason, I forgot the semi-colon, but that didn't solve the problem. It still can't find the connection string.

Sign in to reply to this post

Jason ByrnesWebAssist

sorry, looks like it only needs to go down 2 levels,:
require_once("../../Connections/dynamo.php");

Sign in to reply to this post
loading

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