view_topics_page

NAML documentation   Watch a video
   Usages of this macro
... in view_topics_page.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<override_macro name="view_topics_page">
    <n.set_app_rows_per_page
Macro
Parameters: rows_per_page
 rows_per_page="[n.forum_topics_per_page
Macro
/]"/>
    <n.app_html
Macro
Requires: servlet
Parameters: head, body
>
        <head>
            <script async="true" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-1052304445061414", enable_page_level_ads: true }); </script>
            <n.app_title
Macro
/>
            <n.topics_table_stylesheet
Macro
/>
        </head>
        <body>
            <n.new_topic_action_link
Macro
Parameters: text
/>
            <n.subapps_action_link
Macro
Parameters: text
/>
            <n.people_action_link
Macro
Requires: node_page
/>
            <n.options_action_menu
Macro
Requires: node_page
/>
 
            <n.app_topic_pagination
Macro
Requires: node_page, servlet
Parameters: margin
 margin=".8em .3em .5em 0"/>
            <n.topics_table
Macro
Parameters: columns
.topics_table_columns
Macro
Requires: app_namespace
 />
            <n.app_topic_pagination
Macro
Requires: node_page, servlet
Parameters: margin
 margin=".8em .3em .5em 0"/>
            <n.forum_footer
Macro
/>
        </body>
    </n.app_html>
</override_macro>
Overrides default macro
... in ads_manual_1.naml
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<override_macro name="view_topics_page">
    <n.set_app_rows_per_page rows_per_page="[n.forum_topics_per_page/]"/>
    <n.app_html>
        <head>
            <n.app_title/>
            <n.topics_table_stylesheet/>
                        <n.auto_ads/>
        </head>
        <body>
                        <div class="ad-responsive-top" style="margin-top:10px;margin-bottom:10px;text-align:center">
                            <n.ad_responsive_top/>
                        </div>
            <n.new_topic_action_link/>
            <n.subapps_action_link/>
            <n.people_action_link/>
            <n.options_action_menu/>
 
            <n.app_topic_pagination margin=".8em .3em .5em 0"/>
            <n.topics_table.topics_table_columns />
            <n.app_topic_pagination margin=".8em .3em .5em 0"/>
            <n.forum_footer/>
                        <script>
                            var nbl_showAds = !(window.nbl_canHideAds && window.localStorage && localStorage.nbl_noAds);
                            if(nbl_showAds) {
                                (adsbygoogle = window.adsbygoogle || []).push({});
                            }
                        </script>
        </body>
    </n.app_html>
</override_macro>
Overrides default macro
... in view_topics.naml
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<macro name="view_topics_page">
    <n.set_app_rows_per_page rows_per_page="[n.forum_topics_per_page/]"/>
    <n.app_html>
        <head>
            <n.app_title/>
            <n.topics_table_stylesheet/>
        </head>
        <body>
            <n.new_topic_action_link/>
            <n.subapps_action_link/>
            <n.people_action_link/>
            <n.options_action_menu/>
 
            <n.app_topic_pagination margin=".8em .3em .5em 0"/>
            <n.topics_table.topics_table_columns />
            <n.app_topic_pagination margin=".8em .3em .5em 0"/>
            <n.forum_footer/>
        </body>
    </n.app_html>
</macro>