We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37523
    • 141 Posts
    Just noticed going through the example chunk for siblingNav that there is a call to
     [[_isactive]]
    . 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.
      • 28042 ☆ 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.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 4172
        • 5,888 Posts
        In this example, if there aren't any previous resources, it is 0, otherwise it is 1
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!