Login  Register

Pedro, my forum lost all NAML - Need restore backup (Solved !)

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

I don't know what happened, but all my NAML programation exist in Advanced Editor, but don't appear in Edit this Page as custom.
All my work to customize my forum was lost ? Nothing is working. I could not understand what happens. I think I need a restore from backup. Can you clear this problem ?
Thanks, jorge

http://astronomia-e-astrofotos.1069742.n5.nabble.com/

note: searching for the problem it seems something with macro topics_column.  The error message says: macro or method for avatar-control not found. It crashs in instruction n.avatar_control group="A"/

There are no image of avatar in the forum. Something was lost or damaged.

I did a test. I changeg the code of macro topics_column:

<macro name="topics_column" parameters="width,title,count">
    <n.table_column>
        <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">
                            <n.default. to="[t]Topics[/t]"><n.title/></n.default.>
                            <span class="weak-color" style="font-size:80%;margin-right:1.7em">(<n.count/>)</span>
                        </td>
                    </tr>
                </table>
            </td>
        </head>

The line now has tag for comments. You can see there, it is now as:  <!-- <n.avatar_control group="A"/> -- >
This line exist and is active in my forum to test NAML programation and it is not problem there.
http://jsmtstnaml.23557.n7.nabble.com/

My NAML code is working partially, now,  with this. But another error is showed in another macro: cell_link_and_star.  I don't undestand. Something is corrupted im my forum. Many ressources I created with NAML to edit messages aren't woking, too.

Please, restore from a backup if it is possible.
Observatório de Astronomia de Vilatur - W. Herschel
Saquarema - RJ - Brasil
http://www.astronomia.pousadavilatur.com.br