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
PHP version = 4.3.10 cgi
Webserver = Apache/1.3.33 (Unix)
Database = mysql 4.0.25-standard-log
Toolkits = ArchiveUpload, Exif, Gd, NetPBM, SquareThumb, Thumbnail
Operating system = Linux infong 2.4 #1 SMP Mon Aug 9 10:21:08 CEST 2004 i686 unknown
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

I have attached a view of the date i want to remove from below each full rez image...

I am using :

Default layout : Siriux
Defualt theme : matrix

thanks!
James

AttachmentSize
help.jpg39.54 KB
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-08-02 16:30

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.

 
chaindog

Joined: 2005-08-02
Posts: 3
Posted: Tue, 2005-08-02 17:47

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

 
chaindog

Joined: 2005-08-02
Posts: 3
Posted: Tue, 2005-08-02 18:35

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 :)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-08-02 20:58

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.