Change blocks in Siriux

elgatohva

Joined: 2009-06-08
Posts: 15
Posted: Mon, 2009-08-10 00:48

Hello!

I've the next trouble, I want to change the position of the blocks to show in the album's pages becouse all my albums have 50 or more photos, so my users don't see the slideshow and the others actions for an album. I want to put this block before the thumbtails. It is posible?

Thanks

URL de Gallery = http://www.angelpd.info/fotos/main.php
Versión de Gallery = 2.3 núcleo 1.3.0
API = Núcleo 7.54, Módulo 3.9, Tema 2.6, Incrustado en 1.5
Versión de PHP = 5.2.10 apache2handler
Servidor Web = Apache/2.2.12 (Unix) mod_ssl/2.2.12 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.10 mod_perl/2.0.4 Perl/v5.8.8
Base de Datos = mysqlt 5.0.81-community, lock.system=flock
Herramientas = Exif, Getid3, LinkItemToolkit, SquareThumb, Gd, Thumbnail
Aceleración = none/3600, none/3600
Sistema Operativo = Linux sv29.byethost29.org 2.6.18-128.1.1.el5.028stab062.3 #1 SMP Sun May 10 18:54:51 MSD 2009 i686
Tema por defecto = siriux
gettext = habilitado
Fichero de idioma = es_ES
Buscador = Mozilla/5.0 (Windows; U; Windows NT 6.0; es-ES; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13
Filas en la tabla GalleryAccessMap = 8
Filas en la tabla GalleryAccessSubscriberMap = 613
Filas en la tabla GalleryUser = 8
Filas en la tabla GalleryItem = 611
Filas en la tabla GalleryAlbumItem = 12
Filas en la tabla GalleryCacheMap = 0

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2009-08-10 01:19

just edit the album.tpl you will see something like

{* Show any other album blocks (comments, etc) *}
{foreach from=$theme.params.albumBlocks item=block}
  {g->block type=$block.0 params=$block.1}
{/foreach}

That will be 'blocks'
and this should have the action items in it.
Move that but of code about and you should be good to go.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
elgatohva

Joined: 2009-06-08
Posts: 15
Posted: Mon, 2009-08-10 07:26

Thanks for the answer, but I've edited album.tpl located in /themes/sirux/templates/album.tpl and I've put thas lines at the begining of the file, but I've not see any changes.

Thansk

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-08-10 09:50

Did you clear you cache?
FAQ: How can I clear cached data?

http://codex.gallery2.org/Gallery2:Editing_Templates
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
elgatohva

Joined: 2009-06-08
Posts: 15
Posted: Mon, 2009-08-10 13:02

Oops, I forgot it... it's working ok!!