Login  Register

Re: Commenting out?

Posted by Pedro on Jun 06, 2013; 3:12pm
URL: https://support.nabble.com/Commenting-out-tp7584717p7584720.html

You can use the tag n.comment.
<override_macro name="app_body_header" requires="node_page,servlet">
    <n.page_node.>
        <div id="forum-header">
<n.comment.>
            <n.if.is_root>
                <then> 
                    <div id="harvey_img">
                        <a href="http://pro.accuweather.com/nx_mosaic_640x480c/sir/inmasirny_.gif">
                            <img alt="NY Radar"  style="border-width:0px 1px 1px 0px; border-style : solid; border-color:  black"  src="http://pro.accuweather.com/nx_mosaic_640x480c/sir/inmasirny_.gif"/>
                        </a>
                    </div> 
                </then>
            </n.if.is_root>
</n.comment.> 
            <h1 id="forum-title" class="app-title-[n.id/]"><n.subject/></h1>
            <div id="description-box">
                <n.mailing_list_information/>
                <n.node_message_as_html/>
            </div>
            <div id="search-box" class="search-box">
                <n.search_box/>
            </div>
        </div>
    </n.page_node.>
</override_macro> 
My test forum.