How do I remove sub-sections from the section list? I only want to show the top level sections.
The themes that display the sub-sections use javascript to generate the code. The easiest way to stop the sub-sections from showing is to stop using the javascript and replace this code with one variable to only display the top level sections. To do this:
* on the 'Design' tab, click on your section list on the preview pane
* on the layout code that displays in the 'layout code' window, look for something like:
* replace this code with:
* click 'Apply' and only the top level sections should be displayed in the preview
* update your site.
The themes that display the sub-sections use javascript to generate the code. The easiest way to stop the sub-sections from showing is to stop using the javascript and replace this code with one variable to only display the top level sections. To do this:
* on the 'Design' tab, click on your section list on the preview pane
* on the layout code that displays in the 'layout code' window, look for something like:
HTML Code:
<script language="javascript" type="text/javascript"> document.write(YahooSections(section_tree)) </script>
HTML Code:
<actinic:variable name="TopLevelSectionList" />
* update your site.