Re: Put date and time on Photo Gallery posts
Posted by
GregChapman on
Nov 27, 2012; 5:01pm
URL: https://support.nabble.com/Put-date-and-time-on-Photo-Gallery-posts-tp7582058p7582059.html
You'll need to edit the NAML code that generates the page. I do not regard myself as a NAML expert, but this macro over-ride seems to do what you want:
<override_macro name="cell_details">
<div class="weak-color" style="font-variant: small-caps;">
<t>by <t.author.owner.name truncate="20"/></t>
</div>
<div class="weak-color" style="width:100%;font-size:80%;margin:.3em 0;font-variant: small-caps;">
<n.page_node.when_created.long_format/>
</div>
<div class="weak-color" style="width:100%;font-size:80%;margin:.3em 0;font-variant: small-caps;">
<n.if.is_in_subapp>
<then>
<t>in <t.location.italic.subapp_link_on_hover/></t>
</then>
</n.if.is_in_subapp>
</div>
</override_macro>
Perhaps some NAML expert can tell me how I could have forced a line break rather than use:
</div>
<div class="weak-color" style="width:100%;font-size:80%;margin:.3em 0;font-variant: small-caps;">
at lines 8-9. Whatever I tried I got an error.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.