View Single Post
  #2  
Old 04-29-2014, 08:21 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: dropdown speedbar

Well the good news is that your CSS and JS appear to be loading correctly.

Thanks for actually providing reference links to look at!

The current html output looks like:
Code:
<ul id="flexmenu2" class="flexdropdownmenu"> </ul> <ul id="flexmenu3" class="flexdropdownmenu"> </ul>
Your posted code uses an array named $pages_menu. I don't think this value is getting assigned to smarty by PHP. You can determine this by using webmaster mode and looking at the assigned variables. You could also wrap your added code in an if statement: {if $pages_menu} {/if} and see if the <ul> sections show up. Also remember that the orderby of the pages needs to be within the defined ranges.

I use this particular trick all the time, pretty cool that Phil does too.

I am pretty sure you are not getting the array set in PHP. Especially since you copied over the whole skin. All signs point to this. Check if it is set and get back to us.

-Mike
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote