new_topic_action_row

NAML documentation   Watch a video
   Usages of this macro
... in new_topic_action_row.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
<override_macro name="new_topic_action_row" requires="node_page">
    <tr>
        <td style="width:20px">
            <img src="/images/icon_post_message.png" class="image16" border="0"/>
        </td>
        <td class="nowrap" style="padding-left:.2em">
            <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.new_topic_link
Macro
Requires: node
Parameters: href, text, title, class
                text="[t]Ask a New Question[/t]"
                title="[t]Post new message in [t.location.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/][/t]"
            />
        </td>
    </tr>
</override_macro>
Overrides default macro
... in widget.naml
69
70
71
72
73
74
75
76
77
78
79
80
81
<macro name="new_topic_action_row" requires="node_page">
    <tr>
        <td style="width:20px">
            <img src="/images/icon_post_message.png" class="image16" border="0"/>
        </td>
        <td class="nowrap" style="padding-left:.2em">
            <n.page_node.new_topic_link
                text="[t]New Post[/t]"
                title="[t]Post new message in [t.location.page_node.subject/][/t]"
            />
        </td>
    </tr>
</macro>