We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Structure: nav_sub start_from issue.

Development and Programming

Dyad's avatar
Dyad
29 posts
16 years ago
Dyad's avatar Dyad

I can’t explain what is going on but when i use this tag:

{exp:structure:nav_sub start_from="/services/creative" css_id="test_only" css_class="test_only" }

I get this code:

<ul id="test_only" class="test_only">
</ul>
</li>
<li class="sub_level_-1 last"><a href="http://localhost/services/creative/">Creative</a></li></ul>

Something went afoul but i don’t know what. The <li> isn’t even inside the <ul> and the sub_level is -1. It should be rendering all subpages of creative something like this:

<ul id="test_only" class="test_only">
<li class="sub_level_0"><a href="#">Graphic</a></li>
<li class="sub_level_1"><a href="#">Print</a></li>
<li class="sub_level_2"><a href="#">Web</a></li>
<li class="sub_level_3"><a href="#">Interactive</a></li>
</ul>
       
rockthenroll's avatar
rockthenroll
485 posts
16 years ago
rockthenroll's avatar rockthenroll

Not sure if you’re still having this issue, but there have been a few releases with nav_sub bug fixes and a complete rewrite since then, so upgrade and email support if you still have issues: support [at] buildwithstructure [dotcom]

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.