Page 1 of 1

Album : how to display all pictures straight away (no album thumbnail)

Posted: Thu Feb 28, 2008 12:39 pm
by st0kes
I don't think I've explained it very well in the subject! I have one single photo album and what I want to do is have a tap for my Gallery, and when you click on it, it takes you straight into this photo album, rather than presenting you with a single thumbnail for the photo album. I guess this is possible by using a special template but am not sure how to achiveve this. Any thoughts welcomed!

Re: Album : how to display all pictures straight away (no album thumbnail)

Posted: Fri Feb 29, 2008 4:59 am
by Dr.CSS
Look at one of the default templates that act the way you like and make a copy then find the part that holds the part of the album you want, maybe around 'big picture' calls, and remove the other calls for parts you don't want...

If looking at it doesn't help you can put a number or some mark in the template then run the album as normal and look on the page and view the source to see where the numbers/marks show...

Re: Album : how to display all pictures straight away (no album thumbnail)

Posted: Fri Feb 29, 2008 5:02 pm
by Mantlet
It is doing that straight away when you only have one album.

I made an album and in the gallery page I used this code:

Code: Select all

{cms_module module='album' sortdesc='true' albums="1" lang="nl_NL"}
All I changed to the default template is the way pictures are displayed when you click them. I prefer the viewer used with the random images. But that doesn't change anything about the way the pictures are handled.

So, when there is just one album in your selection that should automatically solve the problem for you.

Re: Album : how to display all pictures straight away (no album thumbnail)

Posted: Fri Feb 29, 2008 11:40 pm
by Dr.CSS
Yes if you want to show thumbs and just one Album you use the album id in the tag...

Re: Album : how to display all pictures straight away (no album thumbnail)

Posted: Thu Mar 06, 2008 5:51 pm
by yorgi63
I have run into a similar problem adn still have no soloution.

This is strange it seems as long as I point to category 1 and album 1 or album 1 it works.

In other words: {cms_module module='album' categories='1,' albums='1'}

but when I change it to:
{cms_module module='album' categories='2,' albums='2'}  OR
{cms_module module='album' categories='2,' albums='3'}

The error keep scoming up the same:
Parse error: syntax error, unexpected T_ELSE in /home/.jonas/name/domain.com/theeye/tmp/templates_c/Album^%%B9^B9B^B9B62FDB%%module_db_tpl%3AAlbum%3Bdefault.php on line 36

here is the rest of the post:
http://forum.cmsmadesimple.org/index.ph ... 095.0.html

Any help you be appreciated.

Thanks!

Re: Album : how to display all pictures straight away (no album thumbnail)

Posted: Wed Aug 26, 2009 11:42 am
by sn3p
yorgi63:
Try removing the trailing comma in the categories parameter.
{cms_module module='album' categories='2' albums='2'}