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

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
st0kes

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

Post 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!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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...
Mantlet
Forum Members
Forum Members
Posts: 114
Joined: Fri Apr 28, 2006 9:42 am

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

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

Yes if you want to show thumbs and just one Album you use the album id in the tag...
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

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

Post 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!
sn3p
Forum Members
Forum Members
Posts: 169
Joined: Mon Oct 15, 2007 2:27 pm

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

Post by sn3p »

yorgi63:
Try removing the trailing comma in the categories parameter.
{cms_module module='album' categories='2' albums='2'}
Locked

Return to “Layout and Design (CSS & HTML)”