Page 1 of 1

[SOLVED] Turning off menu debug

Posted: Wed Dec 01, 2010 7:04 pm
by Hypocrite
Seems like a stupid question but I don't seem to able to set off menu debug in CMS 1.9.1.

I set debug to true once and then back to false.

Now when viewing the source I see menu information in comments:

Code: Select all

<!-- stdClass Object
(
    [id] => 15
    [pagetitle] => Example title
    [url] => http://www.domain.com/example
    [accesskey] => 1
    [type] => content
    [tabindex] => 
    [titleattribute] => Home Page, shortcut key=1
    [modified] => 1291229654
    [created] => 1153851751
    [hierarchy] => 1
    [depth] => 1
    [prevdepth] => 1
    [children_exist] => 
    [haschildren] => 
    [menutext] => Front page
    [raw_menutext] => Front page
    [target] => 
    [index] => 0
    [alias] => front
    [parent] => 
    [extra1] => 
    [extra2] => 
    [extra3] => 
    [current] => 1
)
1 -->
How do I turn this off?

Re: Turning off menu debug

Posted: Wed Dec 01, 2010 7:07 pm
by Dr.CSS
Sorry, that is a left over from when the new menu templates were being worked on, if you import the menu template you will see remove that and it will be good...

P.S. this is only in the simple_navigation.tpl, which you could change by FTPing to the site > modules > menu manager > templates > simple_navigation.tpl...