Remove date on gallery images..
chaindog
Joined: 2005-08-02
Posts: 3 |
Posted: Tue, 2005-08-02 16:12 | |||
hey guys, I have been searching for hours but I cant find any help on how to remove the date from the main image page (after you have clicked on a thumbnail)...here are my details: Gallery version = 2.0-beta-3 core 0.9.17 I have attached a view of the date i want to remove from below each full rez image... I am using : Default layout : Siriux thanks!
|
||||
Posts: 32509
chaindog, i wouldn't spend a single minute customizing beta 3. the layout/theme system has been changed in beta 4, you can't use your beta 3 customizations in any new version of g2, including the final.
in beta 4, you'll want to create a copy of modules/core/templates/blocks/ItemInfo.tpl in modules/core/templates/blocks/local/ItemInfo.tpl and remove the date section from the file.
Posts: 3
hmmm im really happy with this layout and I dont really want to upgrade as they dont have this layout in the later versions do they?
so is there no way to remove the date in this version?
thanks,
james
Posts: 3
ok figured this out!! for anyone in the future who searches and finds this, this is how i did it!
opened the file 'singleBody.tpl' from the directory of the template, then deleted this section:
<p class="giInfo">
{capture name=originationTimestamp}
{g->date timestamp=$layout.item.originationTimestamp}
{/capture}
{g->text text="Date: %s" arg1=$smarty.capture.originationTimestamp}
<br/>
now the date isn't displayed!
james
Posts: 32509
all layouts from beta 3 are now back in the nightly snapshots (as themes).
and more cool themes are already there, pg, wpg2, more to come.