Change the order of the items displayed below the images on the "Album" pages?

Dirkii

Joined: 2008-01-16
Posts: 214
Posted: Tue, 2008-06-10 10:30

How can I change the order of the items displayed below the images (see screenshot) on the "Album" pages generally and especially in the theme "ICE"?

Nette Grüße, Dirk

----------

Gallery version 2.2.4 / full package
PHP version 5.2.6 apache2handler
Webserver Apache
Database mysqlt 5.0.51a-community-log
Toolkits Thumbnail, Gd
Operating system Linux dd5036 2.6.24.4-nmm2 #2 SMP Tue Apr 15 18:13:27 CEST 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14

----------------------------------
www.galerie-der-fotos.de

AttachmentSize
1.jpg52.78 KB
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2008-06-11 03:51

edit childs.tpl
find

	{if $theme.params.showCoreItemLinks}
		{g->block type="core.ItemLinks" item=$child links=$child.itemLinks}
	{/if}

that is the dropdown. Move it below the title:

			<p class="giTitle">{$child.title|markup}</p>
			{/if}
		{/if}
	{/if}

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Dirkii

Joined: 2008-01-16
Posts: 214
Posted: Wed, 2008-06-11 15:36

Great Dave,

It works, would have thought there would be an option on the front or back end to do this.

Many thanks for your help, Dirk.

P.S.

To do the same with the description I have done this:

Quote:
{if $theme.params.showItemTitle}
{if !empty($child.title)}
{if $child.canContainChildren}
<table cellpadding="0" cellspacing="0">
<tr>
<td class="giTitleIcon">
<div class="iconAlbum"></div>
</td>
<td>
<p class="giTitle">{$child.title|markup}</p>
</td>
</tr>
</table>
{else}
<p class="giTitle">{$child.title|markup}</p>
{/if}
{/if}
{/if}
{if $theme.params.showItemSummaries}
{if !empty($child.summary)}
<p class="giDescription">
{$child.summary|markup|entitytruncate:256}
</p>
{/if}
{/if}

{if $theme.params.showCoreItemLinks}
{g->block type="core.ItemLinks" item=$child links=$child.itemLinks}
{/if}

It seems to work, so I ought to have done it right?

Thanks again, Dirk.

----------------------------------
www.galerie-der-fotos.de

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2008-06-11 20:49
Quote:
would have thought there would be an option on the front or back end to do this.

It could be a option in the theme, but it is up to the theme author to offer options like this.
Take a look at the X_treme theme it has MANY configuration options to satisfy most users, but in that regard has option overload.

Quote:
It seems to work, so I ought to have done it right?

Looks good to me! Now you are a theme developer! :-)

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Dirkii

Joined: 2008-01-16
Posts: 214
Posted: Wed, 2008-06-11 21:46

Thank you, Dave,

Yes indeed, an enormous amount of options has X_treme, it behaves a bit slow and stumbling somehow on my system, in the browser.

And many thanks again for your help, Dirk.

----------------------------------
www.galerie-der-fotos.de

 
bigmaster

Joined: 2006-11-05
Posts: 1
Posted: Sun, 2010-08-01 08:47

hi dave

how change this links in album.tpl theme ice

thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2010-08-01 17:06

bigmaster, you have to elaborate a bit more of what you are after.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team