Removing "Submenu" from content pages doesnt works.
No <?php echo submenu();?> in the "template.htm" or .css files, the content page(s) (h1) still shows the submenu.
Must I write a own script($cf['functions) to solve this?
Diff b. cmsimple / cmsimple _xh?
Lost in toc
regards,
cmsimple_xh remove submenu from content pages
Re: cmsimple_xh remove submenu from content pages
It should be enough to hide the submenu. Which version of CMSimple(_XH) do you use?named wrote:No <?php echo submenu();?> in the "template.htm" or .css files, the content page(s) (h1) still shows the submenu.
You certainly don't have to write your own function.
Leen
Re: cmsimple_xh remove submenu from content pages
Hm, how can you see the submenu if it is not called from the template? The only possibility is, that the call #CMSimple $output.=submenu();# is called directlz on the page. Check if this code is not used on the pages.
If you use CMsimple v.3-, edit your content.htm and find/replace this code with "nothing".
If you use CMSimple_XH with hi_pd_scripting plugin, deactivate the plugin call in Plugins tab for each page containing the submenu.
If you use CMsimple v.3-, edit your content.htm and find/replace this code with "nothing".
If you use CMSimple_XH with hi_pd_scripting plugin, deactivate the plugin call in Plugins tab for each page containing the submenu.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: cmsimple_xh remove submenu from content pages
Using CMSimple_XH 1.1.2 Build: 2010031002 .
The <?php echo submenu();?> is erased from the template, yes is strange but I can still see the submenu.
</h4><ul class="submenu"><li class="doc">
"If you use CMSimple_XH with hi_pd_scripting plugin, deactivate the plugin call in Plugins tab for each page containing the submenu"
I have the hi_pd_scripting plugin, but no "Plugins tab"?
I just want to hide the submenus on my content pages, not from the menu.
Cache problem?
Ideas?
The <?php echo submenu();?> is erased from the template, yes is strange but I can still see the submenu.
</h4><ul class="submenu"><li class="doc">
"If you use CMSimple_XH with hi_pd_scripting plugin, deactivate the plugin call in Plugins tab for each page containing the submenu"
I have the hi_pd_scripting plugin, but no "Plugins tab"?
I just want to hide the submenus on my content pages, not from the menu.
Cache problem?
Ideas?
Re: cmsimple_xh remove submenu from content pages
That's it. Removing any mention of submenu(); both from content and/or tamplate.htm or pagedata.php shall remove the submenu from any page-subpage-sub-sub-page.named wrote:I just want to hide the submenus on my content pages, not from the menu.
Cache problem?
Ideas?
The submenu in "menu"has nothing to do with submenu function. It is created by toc() function.
It may also be a case of cache. Try to empty the cache and/or open the page in different borwser.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.