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

<?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();


What has to be done to get the toggle function?

Type: Discussion
Status: New
skyschrei
View Replies:
c5mix replied on at Permalink Reply
c5mix

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.