Additional navigations
Permalink Browser Info Environment
I'd like to add some additional menues on the left to jump to specified pages direct.
It works, but they stay permanent open. I want them to open and close as the navigation at the top.
I added to full.php
left_mainsub.php
What has to be done to get the toggle function?
It works, but they stay permanent open. I want them to open and close as the navigation at the top.
I added to full.php
<?php $this->inc('elements/left_mainsub.php'); ?>
left_mainsub.php
<div id="mainsub1" <?php global $cp; if (is_object($cp) && ($cp->canWrite() || $cp->canAddSubContent() || $cp->canAdminPage())) { echo ' style="top:225px;"'; }?>> <div id="logo"><a href="/homoeopathica/korper/" title="Körper">Körper</a> </div><!-- #logo ends --> </div><!-- #mainsub1 ends --> <div id="mainsub1nav" <?php global $cp; if (is_object($cp) && ($cp->canWrite() || $cp->canAddSubContent() || $cp->canAdminPage())) { echo ' style="top:225px;left:142px;"'; }?>> <div id="menu-wrap" class="menu clearfix"> <div id="menu-tab" class="toggle"><img src="<?php echo $this->getThemePath(); ?>/images/menu-tab.png" alt="View Menu" /></div><!-- menu-tab ends --> <div id="menu" class="items"> <?php $nc = Page::getByPath('/homoeopathica/korper'); $bt = BlockType::getByHandle('autonav'); $bt->controller->displayPages = 'custom'; $bt->controller->displayPagesCID = $nc->getCollectionID();
Viewing 15 lines of 22 lines. View entire code block.
What has to be done to get the toggle function?
Type: | Discussion |
---|---|
Status: | New |
http://www.concrete5.org/marketplace/themes/clearview/questions-and...