Login  Register

Re: Heresy: Threaded View

Posted by Peter <Nabble> on Oct 22, 2011; 7:15pm
URL: https://support.nabble.com/Heresy-Threaded-View-tp6918325p6920732.html

I checked that and since the links are no follow it should be ok to just remove them.

If you go to any topic page you will see those controls right above the content, under the header, at the left.

Editing NAML there you should be able to go to:

classic_forum_topic › topic_html › topic_controls › topic_controls_left › view_selectors

There you will find those links.
If you want to remove them and leave only the classic view, deleting lines 8 to 14 would do the job, like this:

<macro name="view_selectors">
    <table>
        <tr>
            <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>
         </tr>
    </table>
</macro>

If you want to remove all of them it would be easier to just remove the controls at
classic_forum_topic › topic_html › topic_controls

by deleting the lines 3 to 5 like this:

<macro name="topic_controls" requires="forum_topic_namespace">
    <div style="margin:1.2em 0 5em">
        <div id="topics-controls-right" class="float-right nowrap" style="padding-top:.3em">
            <n.topic_controls_right/>
        </div>
    </div>
</macro>
Nabble staff. We never ask for passwords.