Hi,
I have two sites that are setup the same way. For some reason on one of the sites when I call wayfinder:
[[Wayfinder? &startId=`0` &outerTpl=`top-nav` &excludeDocs=`2`]]
Here’s the template:
<ul id="top-nav"[+wf.classes+]>[+wf.wrapper+]</ul>
I get the following code:
<ul id="top-nav">
<li><a href="
http://diabetesfootcenter.info/" title="Home" >Home</a></li>
<li class="active"><a href="/aboutus" title="About Us" >About Us</a>
<ul id="top-nav">
<li><a href="/dr.-teichman" title="Dr. Teichman" >Dr. Teichman</a></li>
</ul>
</li>
<li><a href="/heelpaincenter" title="Heel Pain Center" >Heel Pain Center</a></li>
<li><a href="/diabeticfootandanklecenter" title="Diabetic Foot and Ankle Center" >Diabetic Foot and Ankle Center</a></li>
<li><a href="/officelocations" title="Office Locations" >Office Locations</a></li>
<li><a href="/testimonials" title="Testimonials" >Testimonials</a></li>
<li class="last"><a href="/contactus" title="Contact Us" >Contact Us</a></li>
</ul>
As you can see it the code is returning the UL ID of the submenu as <ul id="top-nav">
I don’t want the submenu to have id of Top Nav and on my other site using the exact same template, exact same call, the sub-menus do not come up with the <ul id="top-nav"> they return as just <ul> which is what I need.
I’m not the best with programming, but I can’t understand why it’s working differently on two sites with exactly the same call, the same template. Any help would be appreciated. If anyone needs more information, please let me know.
I’m using Evolution 1.0.5 on both sites. Same hosting environment.