close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Navigation not working

Thread began 6/10/2010 9:05 am by larry268887 | Last modified 6/11/2010 7:25 am by larry268887 | 4760 views | 7 replies |

larry268887

Navigation not working

I know this is not a problem with site sculptor and it is probably something I did wrong.

In dreamweaver the links are set up as relative to document and the site name is Parti Yorkies.

The host has the website folder as elvis-parti-yorkies.com so all my navigation contains
Parti Yorkies/filename.php. Since I don't have any folder parti yorkies on the remote site one can't find the file.

What did I do wrong and how should I correct it?

Larry

Sign in to reply to this post

Jimmy Wu

The url that is used by Site Sculptor is in your site definition in the testing server portion. You would want to change the URL Prefix for the testing server. Try that and see if the value is getting set correctly.

Sign in to reply to this post

larry268887

That doesn't work Now the home page is all messed up.Now the local site doesn't work and the remote site doesn't work. can you please call 573-734-6330.

Sign in to reply to this post

Jimmy Wu

What did you change the site definition settings from and what did you change them to?

Could you elaborate on how the sites are not working?

If it is necessary, we'll get into a phone call, but as of now, its not at that stage yet.

Sign in to reply to this post

larry268887

changing the site definition is not the solution. Even if it worked it would still give and extra level in the address which is unacceptable. You will also have all the files that the original site description. I have two other sites and the site description has never been the same as the remote folder.

Sign in to reply to this post

larry268887

The server testing folder C:\program_files\wamp\www\Parti Yorkies\

The URL prefix is Parti Yorkies/

I changed them to

C:\program_files\wamp\www\elvis-parti-yorkies.com\ and

elvis-parti-yorkies.com/

Once I did this nothing worked because there are a number of files such menu.php
which still has rwmote route as Parti Yorkies

Sign in to reply to this post

larry268887

source code for menu on local host

<div id="topNavigation"><ul class="level-0" id="cssmw3">
<li class="parent"><a href="/Parti Yorkies/partiyorkiesforsale.php">Parti Yorkies For Sale</a>

<ul class="level-1">
<li class="parent"><a href="/Parti Yorkies/partiyorkiesforsale/partipuppiesforsale.php">Parti Puppies For Sale</a>
<ul class="level-2">
<li><a href="/Parti Yorkies/partiyorkiesforsale/partipuppiesforsale/puppyforsale.php?Id=3">Allie</a></li>
<li><a href="/Parti Yorkies/partiyorkiesforsale/partipuppiesforsale/puppyforsale.php?Id=1">Hannah</a></li>
<li><a href="/Parti Yorkies/partiyorkiesforsale/partipuppiesforsale/puppyforsale.php?Id=2">Madlin</a></li>
</ul>
</li>

<li class="parent"><a href="/Parti Yorkies/partiyorkiesforsale/partiadultsforsale.php">Parti Adults For Sale</a>

<ul class="level-2">
</ul>
</li>
</ul>
</li>
<li class="parent"><a href="/Parti Yorkies/partiyorkiebreeders.php">Parti Yorkie Breeders</a>
<ul class="level-1">
<li><a href="/Parti Yorkies/partiyorkiebreeders/malepartiyorkies.php">Male Parti Yorkies</a></li>
<li><a href="/Parti Yorkies/partiyorkiebreeders/femalepartiyorkies.php">Female Parti Yorkies</a></li>
</ul>

</li>
<li class="parent"><a href="/Parti Yorkies/photos.php">Photos</a>
<ul class="level-1">
<li><a href="/Parti Yorkies/photos/nurserypicturegallery.php">Nursery Picture Gallery</a></li>
<li><a href="/Parti Yorkies/photos/pastpuppiespicturegallery.php">Past Puppies Picture Gallery</a></li>
</ul>
</li>
<li class="parent"><a href="/Parti Yorkies/information.php">Information</a>
<ul class="level-1">
<li><a href="/Parti Yorkies/information/aboutus.php">About Us</a></li>
<li><a href="/Parti Yorkies/information/contactus.php">Contact Us</a></li>

<li><a href="/Parti Yorkies/information/adoptioncontract.php">Adoption Contract</a></li>
<li><a href="/Parti Yorkies/information/shipping.php">Shipping</a></li>
<li><a href="/Parti Yorkies/information/studservices.php">Stud Services</a></li>
<li><a href="/Parti Yorkies/information/privacypolicy.php">Privacy Policy</a></li>
</ul>
</li>
<li><a href="/Parti Yorkies/shoppingcart.php">Shopping Cart</a></li>
</ul>



Source code for menu on remote server

<div id="topNavigation"><ul class="level-0" id="cssmw3">
<li class="parent"><a href="/Parti Yorkies/partiyorkiesforsale.php">Parti Yorkies For Sale</a>

<ul class="level-1">
<li class="parent"><a href="/Parti Yorkies/partiyorkiesforsale/partipuppiesforsale.php">Parti Puppies For Sale</a>
<ul class="level-2">
<li><a href="/Parti Yorkies/partiyorkiesforsale/partipuppiesforsale/puppyforsale.php?Id=3">Allie</a></li>
<li><a href="/Parti Yorkies/partiyorkiesforsale/partipuppiesforsale/puppyforsale.php?Id=1">Hannah</a></li>
<li><a href="/Parti Yorkies/partiyorkiesforsale/partipuppiesforsale/puppyforsale.php?Id=2">Madlin</a></li>
</ul>
</li>

<li class="parent"><a href="/Parti Yorkies/partiyorkiesforsale/partiadultsforsale.php">Parti Adults For Sale</a>

<ul class="level-2">
</ul>
</li>
</ul>
</li>
<li class="parent"><a href="/Parti Yorkies/partiyorkiebreeders.php">Parti Yorkie Breeders</a>
<ul class="level-1">
<li><a href="/Parti Yorkies/partiyorkiebreeders/malepartiyorkies.php">Male Parti Yorkies</a></li>
<li><a href="/Parti Yorkies/partiyorkiebreeders/femalepartiyorkies.php">Female Parti Yorkies</a></li>
</ul>

</li>
<li class="parent"><a href="/Parti Yorkies/photos.php">Photos</a>
<ul class="level-1">
<li><a href="/Parti Yorkies/photos/nurserypicturegallery.php">Nursery Picture Gallery</a></li>
<li><a href="/Parti Yorkies/photos/pastpuppiespicturegallery.php">Past Puppies Picture Gallery</a></li>
</ul>
</li>
<li class="parent"><a href="/Parti Yorkies/information.php">Information</a>
<ul class="level-1">
<li><a href="/Parti Yorkies/information/aboutus.php">About Us</a></li>
<li><a href="/Parti Yorkies/information/contactus.php">Contact Us</a></li>

<li><a href="/Parti Yorkies/information/adoptioncontract.php">Adoption Contract</a></li>
<li><a href="/Parti Yorkies/information/shipping.php">Shipping</a></li>
<li><a href="/Parti Yorkies/information/studservices.php">Stud Services</a></li>
<li><a href="/Parti Yorkies/information/privacypolicy.php">Privacy Policy</a></li>
</ul>
</li>
<li><a href="/Parti Yorkies/shoppingcart.php">Shopping Cart</a></li>
</ul>


The menus are the same the only problem is there isn't any Parti Yorkies folder on the remote server.

Sign in to reply to this post

larry268887

Bugs In Menu writer and site sculptor

Here are three threads with the same problem.

showthread.php?t=13609 6/7/10
showthread.php?t=12437 4/24/10
showthread.php?t=11850 4/6/10

Menu writer uses the Http address on the local info portion in dreamweaver site definition to populate the variable $WA_remoteRoot in the menu.php file that is created by menu writer.

If you follow webassists directions on defining a site doc...efinitions.php your local route folder might be something like this C:\program_files\wamp\www\Parti-Yorkies\ and your Http address would be something like Parti-Yorkies/.

If you set your site like this then menu writer will assign $WA_remoteRoot = 'Parti Yorkies'

When you go to upload you files to your remote server the menu will no longer work even tho it worked on your local host.

To get the menu to work you must go into the menu.php file and set $WA_remoteRoot= '/'.
It should be noted that THIS FIX WILL NOT WORK IF THE SITE WAS CREATED WITH SITE SCULPTOR.

Another Bug in menu writer is if you have two sub-menus that are dynamic.
The first dynamic menu is correct but the second dynamic menu isn't.
Menu writer frees the second data base before selecting the database.
To correct this one must edit the menu.php file.

the following code (as an example)
<?php
mysql_free_result($menuwriter_products);
?>

must be placed after the </ul>after the fetching of the items on the second menu.


This first bug has been reported on 4/6/10 that I'm aware of. Why hasn't webassist addressed the problem? This takes a customer a lot of time to track down the problem that is not my responsibility.

How long will it take to resolve the bug in menu writer when used with site sculptor?
Edit/Delete Message

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