Login  Register

Re: Heresy: Threaded View

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

<override_macro name="view_selectors">
    <n.if.not.equal value1="[n.topic_view/]" value2="classic"> 
        <then>
                                                <n.topic_view_option name="[t]Classic[/t]" value="classic" image="view-classic.gif">
                        <url><n.page_node.topic_path view="[n.classic_view/]"/></url>
                    </n.topic_view_option>
                            
        </then>
    </n.if.not.equal>
</override_macro >

Maybe combining them both would do a better solution as it would display only the classic view link and only to those who are not on it already.
Nabble staff. We never ask for passwords.