Login  Register

Re: Heresy: Threaded View

Posted by Peter <Nabble> on Oct 28, 2011; 11:30pm
URL: https://support.nabble.com/Heresy-Threaded-View-tp6918325p6942127.html

if not is works like if but instead of running "then" when values are equal, it runs "then" when values are "not equal" a.k.a. different.

So the second line of his suggestion says to run the "then" when the topic_view is not classic (threaded and list).

The then says to run the macro that is overridden, the original macro.

This will display the view selectors only when your users are not on the classic view.

Take a look again:

<override_macro name="view_selectors">
  <n.if.not.equal value1="[n.topic_view/]" value2="classic"> 
    <then.overridden/>
  </n.if.not.equal>
</override_macro>
Nabble staff. We never ask for passwords.