topic_html

NAML documentation   Watch a video
   Usages of this macro
... in post_limit.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<override_macro name="topic_html" requires="servlet">  
    <n.topic_min_html
Macro
Requires: servlet
Parameters: head, body
>  
        <head>  
            <n.topic_common_head
Macro
/>  
            <n.topic_head
Macro
Requires: threaded_view_namespace
/>  
            <n.topic_meta
Macro
Requires: node_page, servlet
/>  
            <n.increment_view_count
Macro
Requires: node_page, servlet
/>  
        </head>  
        <body>  
            <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.topic_hardcoded_notices
Macro
Requires: node_page
/>  
            <n.newsflash
Macro
/>  
            <n.topic_header
Macro
/>  
            <n.topic_controls
Macro
Requires: forum_topic_namespace
/>  
            <n.topic_contents
Macro
Requires: forum_topic_namespace
Parameters: contents
.view_contents
Macro
Requires: threaded_view_namespace
Parameters: rows
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.topic_rows
Macro
Requires: node, forum_topic_namespace, threaded_view_namespace
/>  
            <n.topic_footer
Macro
/>  
            <n.user_request
Macro
/>  
        </body>  
    </n.topic_min_html>  
</override_macro>
Overrides default macro
... in topic.naml
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<macro name="topic_html" requires="servlet">
    <n.topic_min_html>
        <head>
            <n.topic_common_head/>
            <n.topic_head/>
            <n.topic_meta/>
            <n.increment_view_count/>
        </head>
        <body>
            <n.page_node.topic_hardcoded_notices/>
            <n.newsflash/>
            <n.topic_header/>
            <n.topic_controls/>
            <n.topic_contents.view_contents.page_node.topic_rows/>
            <n.topic_footer/>
        </body>
    </n.topic_min_html>
</macro>