Re: Weird error in my classic_message:cell
Posted by
Hugo <Nabble> on
Apr 24, 2013; 3:34pm
URL: https://support.nabble.com/Weird-error-in-my-classic-message-cell-tp7584164p7584170.html
Yesterday we made a change that affected this. As the error message says, you should remove the "style" parameter of the show_ad macro. You can move that style to an outer div if you prefer, like this:
<n.if.is_first_element>
<then>
<div style="text-align:left;padding-top:1em">
<n.show_ad location="first_classic_message"/>
</div>
</then>
</n.if.is_first_element>
<n.if.is_last_element>
<then>
<n.if.not.regex_matches pattern='1' text="[n.page_node.descendant_count/]">
<then>
<div style="text-align:left;padding-top:1em">
<n.show_ad location="last_classic_message"/>
</div>
</then>
</n.if.not.regex_matches>
</then>
</n.if.is_last_element>