Just noticed going through the example chunk for siblingNav that there is a call to
. What does this do?
Is this checking to see weather the chunk should be used or not? Where would I find documentation about this? Are there any other similar calls that could be usefull?
I can see after the isactive calls there are output modifiers.
The complete sample usage within the siblingNav is:
<li>
[[+_isactive:is=`1`:then=`
<a href="[[~[[+id]]]]"><</a>
`:else=`
<
`]]
</li>
Glyn Szasz
Sydney, Australia
Happy to help (when can) and happy to learn
If you are a Sydney based MODX developer would love to hear from you. Please contact me.
-
☆ A M B ☆
- 24,524 Posts
It's an internal setting to determine if this particular item is supposed to be an active link. It is specific to siblingNav. The [[+... indicates a placeholder.
In this example, if there aren't any previous resources, it is 0, otherwise it is 1