SectionRoots
SectionRoots 0.9.2
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
- repo-495.txt - 1.5 kb (1141 downloads)
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 |




