PDA

View Full Version : Navigation Issues For Sub Pages


undiesblog44369
02-04-2010, 03:28 AM
Hi

I have set up a site using Site Assist Pro with the pages being .php pages.

I ahve set the site up on my local machine in C://Wamp/www/GuitarPlayerResources/

When I F12 the index page, the index page opens and the address in the URL is http://localhost/GuitarPlayerResources/index.php

However, when I try to either go to my first menu link which is Guitar or one of the menus within the guitar menu I get Page Not Found pages and the URL's are similar to those below.

http://localhost/guitars/acousticguitars.php

http://localhost/guitars.php

Notice how GuitarPlayerResources is not in the URL

I am sure I have to change something in Menu.php to reflect the correct path but do I have to do this in bothe the content and the home Menu.php files and what do I ahve to change?

Could you be quite specific with the answer as I am not an expert and what may seem obvious to some will probably be a daunting task to me.

Thanks in advance

Oh, I have checked the forums already for this but have not managed to understand the answers I have seen up to now.

Regards

Jimmy Wu
02-04-2010, 12:54 PM
In the CSSMenuWriter directory, you will want to open up the menu.php file in both cssmw_content and cssmw_home directories. In this file you will want to find the $WA_localRoot = "[some path]";
$WA_remoteRoot = "[some path]";

and change them to look like this:
$WA_localRoot = "[some path]/GuitarPlayerResources/";
$WA_remoteRoot = "[some path]/GuitarPlayerResources/";

undiesblog44369
02-05-2010, 04:47 AM
Hi

Just wanted to say thanks. It worked a treat.

Seems obvious now.

Have a good weekend.

Malcolm

Jimmy Wu
02-05-2010, 12:32 PM
Great to hear that its working for you. If you run into any additional issues, feel free to open a new thread.

Lon Winters
02-09-2010, 11:29 AM
Is this because of the Dreamweaver bug that sometimes looks for things one folder above where you actually told it to. This bug has shown up on Vista and W7 when you create a site definition - it doesn't correctly save the local folder path, and I had heard this bug has been affecting some extensions as well.

Jimmy Wu
02-09-2010, 01:38 PM
Yes, I believe this is part of that bug. When you select the folder, you will have to select a folder within that folder if you are experiencing this error.