Login  Register

Re: Put date and time on Photo Gallery posts

Posted by GregChapman on Nov 27, 2012; 9:11pm
URL: https://support.nabble.com/Put-date-and-time-on-Photo-Gallery-posts-tp7582058p7582073.html

Ah! Apologies!

I did warn you I wasn't a NAML expert.

I guess you'll need to wait till one of the Nabble team comes along and offers a correction to my code.

However, as I explained earlier, it is simple to remove my bad code.

As to including both the date of post and comments and views, it should just be a matter of adding the correct date code to what is already there in the default macro.

Go back into the NAML editor and you should be able to see that all I did was delete the following code to remove the comments and views:
         <n.if.not.is_locked_topic>
            <then>
                <n.if.has_replies>
                    <then.comments_link/>
                    <else>
                        0 <t>comments</t>
                    </else>
                </n.if.has_replies>
            </then>
        </n.if.not.is_locked_topic>
        &ndash;
        <n.views show_text="true"/>
        <n.if.is_in_subapp>
            <then>
                - <t>in <t.location.italic.subapp_link_on_hover/></t>
            </then>
        </n.if.is_in_subapp> 
Replacing it with the line that I now see produces a fixed date!

Apologies again!
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.