Login  Register

Re: Pedro, my forum lost all NAML - Solved !

Posted by jsmoraes on Mar 08, 2014; 11:54am
URL: https://support.nabble.com/Pedro-my-forum-lost-all-NAML-Need-restore-backup-Solved-tp7589715p7589723.html

note: if you prefer use the option to show avatar in front of message and answers, the lines on macro topic_column with reference to avatar in section head e section body must be deleted.

<head>
            <td class="[n.column_default_border/] topics-column nowrap" style="[n.width_style.width/]">
                <table class="avatar-table">
                    <tr>
                        <!-- 
                        <td style="width:22px;border:none">
                            <n.avatar_control group="A"/>
                        </td>
                        -->
                        <td class="nowrap" style="font-weight:bold;border:none">

<body>
            <n.current_node.>
                <td class="[n.column_default_border/]">
                    <table>
                        <tr>
                            <!-- <td valign="top" style="border:none">
                                <n.owner.avatar size="small" group="A"/>
                            </td> -->
                            <n.topics_column_start/>
                               <td class="adbayes-content" style="width:100%;padding-left:.3em;border:none;word-break:break-word">
                                <n.if.is_app>

The line n.topics_column_start controls the presence or not of avatar, now.

If you want only avatar in front of the message, and not in front of the answers, you must don't select show avatar in add-ons and let the code on section body like this:

<body>
            <n.current_node.>
                <td class="[n.column_default_border/]">
                    <table>
                        <tr>
                            <td valign="top" style="border:none">
                                <n.owner.avatar size="small" group="A"/>
                            </td>
                            <!-- <n.topics_column_start/>  -->
                               <td class="adbayes-content" style="width:100%;padding-left:.3em;border:none;word-break:break-word">
                                <n.if.is_app>

note 2: all this is necessary only if you made any override in macros that have call to STAR and AVATAR. The default macro was changed by Nabble, but your override not !
Observatório de Astronomia de Vilatur - W. Herschel
Saquarema - RJ - Brasil
http://www.astronomia.pousadavilatur.com.br