Home  Extras  MODx Add-Ons  SectionRoots

Product:

SectionRoots


Forums Support Thread Votes: 122
Tags: Navigation, Internationalization, Menu, snippet
Submitted: Jun 25, 2006
Released: Jun 25, 2006
Downloads: 1141
License: GPL - GNU Public

Works with:
0.9.2.1

SectionRoots 0.9.2 | Author: Dimmy

This snippet find its way back to a folder that you can specify in the snippet call or in the config and displays that id number.


Download


Description

This snippet find its way back to a folder that you can specify in the snippet call or in the config and displays that id number. Great to set different roots for DropMenu. For instance when making a multilangual site where the root must not be 0 but the folder of the language that is active.
if none is found it wil return 0
Based on ListSections made by Jared

Instructions

Some examples on how to use this snippet in combination with other snippets or for calling images and css:

[!DropMenu? &startDoc=`[[SectionRoots?Sec_roots=1,2,3,4,5,6,108,118,144,161,174,190]]` &subdiv=true &subdivClass=nav2!]


[!ListGlobal?LGlob_node=[[SectionRoots?Sec_roots=106,107]]!]


<link href="css/basic_[!SectionRoots?Sec_roots=106,107!].css" rel="stylesheet" type="text/css" media="all" />
<img height="43" src="assets/images/menulijnen/toplijn_[!SectionRoots?Sec_roots=106,107!].png" width="825" alt="" />


To make a snippetcall function within a snippet call you must call it like [[snippet]] instead of [!snippet!] for it to work.




Released Versions

Releases that are grayed out are deprecated.

Version Released Author Downloads
Total Versions: 1 Total Downloads: 1,141
0.9.2 Jun 25, 2006 dimmy 1,141

Download Statistics

Package downloads per day since tracking began on June 27th, 2010. Weekends are colored. Plot below shows an overview.


Top Countries

This is a list of the countries most downloading this Extra.

Country Downloads
United States 6
Indonesia 2
Germany 1
Colombia 1
 
 
 

Contact Us | Advertise | Team Blog | FAQ | Credits

© 2005-2010 MODx, LLC. All rights reserved. Privacy Policy | Terms of Service