Error on template in new version of WB

twolf

Oh you ROCK!!!!  Thanks SO very much....  That took care of my issues....  Appreciate your help greatly!!

Blessings....

T

marmot

Hi,

Quote from: twolf on April 18, 2013, 12:37:28 AM
Any guidance would be greatly appreciated...   
I think you can fix this by just deleting AND $extra_where_sql from the sql statement in line 21 of templates index.php.
So that line looks like:    $query_menu = $database->query("SELECT page_id,menu_title,page_title,link,target,level,visibility$extra_sql FROM ".TABLE_PREFIX."pages WHERE parent = '$parent' AND $menu_number ORDER BY position ASC");

regards

twolf

I have been using a template for a while and with the new update installed on WB I am receiving an error on line 21 of this template....

The error is effecting the menu from displaying and If I remove the code at the top and the menu code within the error goes away. 

I would like to be able to display the drop down menu the same way, but I am not sure how to achieve that in the new version of WB and I am not 100% certain the php error I am receiving.

Any guidance would be greatly appreciated...   I have attached the entire template that I am working with.

T