CMS MADE SIMPLE FORGE

CMS Foundation

 

[#8889] hierarchy problem

avatar
Created By: Serkan (sercotec)
Date Submitted: Sun Feb 03 13:33:32 -0500 2013

Assigned To: Nicolas GRILLET (nicoss01)
Version: 1.4.2
CMSMS Version: None
Severity: Critical
Resolution: None
State: Open
Summary:
hierarchy problem
Detailed Description:
Hi Nicoss, i am using 1.11.4 and its not working when you add {cmsfoundation} to
menu template, but it works if you add {menu template="responsive_menu"}  to
your template. But there is a problem which i could not recover :

if menu has three or more levels html does not close <li class="has-dropdown">
and <ul class="dropdown">. So the next first level menu shown as previous menus
second level child.

Sample Code:

<li class="has-dropdown" id="css_tags"> <a href="">Tags</a>
  <ul class="dropdown">
<li id="css_tags-in-the-core"><a
href="http://www.sercotec.net/demo/arti/index.php?page=tags-in-the-core">Tags in
the core</a></li>
<li id="css_user-defined-tags"><a
href="http://www.sercotec.net/demo/arti/index.php?page=user-defined-tags">User
Defined Tags</a></li>
-----> and we need to write </ul></li> here which i could not manage by playing
with the code

Thanks in advance...




History

Comments
avatar
Date: 2013-02-03 14:12
Posted By: Serkan (sercotec)

I changed the code (added same condition at the beginning after the first row
below):



<li id="css_{$node->alias}"><a href="{if
$node->url!=''}{$node->url}{else}#{/if}">{$node->menutext}</a></li>
            {if $node->depth < $node->prevdepth}
          </ul>
        </li>
        {/if}  

it visually repaired the situation but still there are unclosed tags including
<section>, etc...

the address of the project is http://www.sercotec.net/demo/arti

Thank you...
      
Updates

Updated: 2013-02-03 14:12
resolution_id: => 5