New release v1.2.5!
http://www.ngenworks.com/software/ee/structure/
IMPORTANT: There is a behavior change with the start_from parameter in this release- read below. If there are concerns or issues with this change please contact me.
This mode switches the tag to “fixed” mode, where it will show ALL levels of children as you drill down instead of just children pages. The “start_form” parameter MUST BE FULL URI! Example: start_form=”/about/company” or start_form=”/{segment_1}/{segment_2}”. This parameter can be used to switch certain pages back to the alternate mode if required.
ALL CHANGES
• {exp:structure:nav_sub} rewritten • {exp:structure:nav_sub} when using start_from param now moves into ‘fixed’ mode • Bug fix: Windows host issue - \ was returned instead of / in get_site_path() function
Travis,
A small detail, but on a Windows machine, your zip is littered with some hidden OS X files: the usual suspects of .DS_Store and a __MACOSX directory. Not a big deal, but it could cause some confusion.
May I humbly suggest you create zip files with CleanArchiver? http://www.sopht.jp/en/cleanarchiver/ I’ve used that software for years.
geof
I just upgraded to the latest version - so happy to have the sitemap feature!! Has anyone successfully turned the sitemap into a CSS vertical flyout menu? I really need this feature for a site that I’m working on. If anyone is able to help with this, please contact me. Thanks!
I just upgraded to the latest version - so happy to have the sitemap feature!! Has anyone successfully turned the sitemap into a CSS vertical flyout menu? I really need this feature for a site that I’m working on. If anyone is able to help with this, please contact me. Thanks!
I’ve only briefly looked at this but as far as I can see the sitemap produces a semantic, nested unordered list.
Qrayg has a good example of how to adapt the menu with CSS.
I hope that helps!
I am using Structure within a few sections of a larger site. I am trying to simple pull in another weblog into one of the structure template and its isn’t diplaying at all. Its like it is completely ignoring that code.
Does Structure allow you to embed another weblog within a template?
I’ve only briefly looked at this but as far as I can see the sitemap produces a semantic, nested unordered list. Qrayg has a good example of how to adapt the menu with CSS. I hope that helps!
Thanks for the link, very helpful!
I think there might be a bug with {exp:structure:nav_sub} in 1.2.5. When I use a exclude_status=”hidden” I get a bunch of empty <li></li> tags in the markup.
example:
{exp:structure:nav_sub show_overview_link="yes" show_level_classes="no" exclude_status="hidden"}
renders:
<ul id="nav-sub"><li class="here"><a href="/contact/">Overview</a></li>
<li class="here last"><a href="/contact/contact-form/">Contact Form</a></li>
</ul>
</li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
<li class="last"><a href="/"></a></li>
</ul>
It looks to be roughly the number of pages that are using that weblog.
Exclude Status {exp:structure:sitemap exclude_status="status1|status2"}
I used this for my sitemap. I created a new status called “Hidden” and applied it to a thank you page that I’m redirecting people to after they fill out a form. It removed the link from the site map list, but it also is not allowing the entry to display on the page at all. It comes up completely blank when the status is applied.
It removed the link from the site map list, but it also is not allowing the entry to display on the page at all. It comes up completely blank when the status is applied.
Try adding status=”open|Hidden” to the {exp:weblog:entries} tag like this:
{exp:weblog:entries weblog="" status="Open|Hidden"}
Hi Travis, great module, congratulations.
i try to use structure with a multilenguaje site and need to assign a custom title like
standard field title
Custom fields title_br title_es
And try to assign it to structure like this:
{exp:structure:sitemap title_label="{title_br}"}
Or with a custom template variable “country_code” like this:
{exp:structure:sitemap title_label="{title_{country_code}}"}
i found the sql querys and try to figure out how to apply the changes to support this functionality hope to find a solution.
@Federacafe @vik407 Great ideas, guys. This isn’t currently on our list of additions and would add quite a bit of code. You could do the same thing with some segment checking and branching the languages into different areas of the site (Example: http://your-domain.com/english/stuff/here OR http://your-domain.com/espanol/stuff/here), then you can limit what you show depending on the segment.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.