Several minor customizations - pls. point me to the right place?

150mph

Joined: 2009-11-11
Posts: 8
Posted: Fri, 2009-11-20 22:11

Found the place to make several alterations to http://eryl.net/gallery but searches for some other things I want have come up empty—possibly because I'm not using the right terminology?—or left me confused. Customizations I'd like to do:

Gallery opening page: Remove word "Album:" preceding every album title
Gallery opening page: Remove date ( I prefer "date" to be event date, not posting date and don't want to enter it more than once)

— Album pages: Make filename a small caption under/near photo instead of bold headline
— Album pages: Remove date

— Photo pages: I want the full-size photo to appear by default, and possibly the smaller one available in the drop down.
— Photo pages: Re-position filename and description under photo so it's like a caption
— Photo pages: Make filename tiny, un-bold
— Photo pages: Remove date

------------------------------------------------------------------------------------------
http://eryl.net/gallery
http://eryl.net/gallery/phpinfo.php
-----
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.2.6 cgi-fcgi
Webserver = Apache/1.3.41 (Unix) PHP/4.4.9 mod_throttle/3.1.2 mod_psoft_traffic/0.2 mod_ssl/2.8.31 OpenSSL/0.9.8b mod_macro/1.1.2
Database = mysqlt 5.0.67-log, lock.system=flock
Toolkits = ArchiveUpload, Dcraw, Exif, Ffmpeg, Getid3, LinkItemToolkit, NetPBM, SquareThumb, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux web935.opentransfer.com 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:03:03 EDT 2009 x86_64
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
Rows in GalleryAccessMap table = 19
Rows in GalleryAccessSubscriberMap table = 10
Rows in GalleryUser table = 2
Rows in GalleryItem table = 8
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sat, 2009-11-21 18:13
Quote:
Remove word "Album:" preceding every album title

: http://www.google.com/search?domains=gallery.menalto.com&sitesearch=gallery.menalto.com&q=remove+%22Album%3A%22&op=Search+with+Google
First result should do the trick.

@changing date to event date: edit /modules/core/templates/blocks/ItemInfo.tpl
{g->text text="EVENT Date: %s" arg1=$smarty.capture.childTimestamp}

If you want to remove stuff on other albums and not the root album then you have to follow these directions:
http://codex.gallery2.org/Gallery2:Themes:Reference:Variables#Page_specific_info

Quote:
— Photo pages: I want the full-size photo to appear by default, and possibly the smaller one available in the drop down.

never seen that request before. Don't know.

Quote:
— Photo pages: Re-position filename and description under photo so it's like a caption

Edit photo.tpl of the theme you are using.

Quote:
— Photo pages: Make filename tiny, un-bold

Edit the CSS for the theme:
Here is some tools to get you started:
http://gallery.menalto.com/node/70126

Quote:
— Photo pages: Remove date

That should be a theme setting. Edit album theme tab.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team