Slide show for albums - differant layout?

tim_ver

Joined: 2009-06-07
Posts: 16
Posted: Wed, 2009-06-10 20:55

Is there a way to have the play slide show button under each photo album instead of above album info. And also add text that says click here to view a slide show of this album?

Or better yet when you mouse over it gives you choices like 1.) view album 2.) view slide show of album. Is this possible?

Also the text under album info goes off the edge of white onto the grey color. How do I fix this?

Thanks

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-06-12 08:35

Easiest way to do this is to create your own theme. Just copy themes/default to themes/tim_ver, modify themes/tim_ver/theme.info to have your info in it and activate your theme in Admin > Appearance > Theme Choice, then hack up themes/tim_ver/views/album.html.php to your heart's delight.
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
tim_ver

Joined: 2009-06-07
Posts: 16
Posted: Sat, 2009-06-13 04:56

Ok, I will give it a shot. Is text pad the best for editing the file(s)? or is there something better.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2009-06-13 23:38

Any editor should work.
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest code/upgrading: http://codex.gallery2.org/Gallery3:Upgrading
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
tim_ver

Joined: 2009-06-07
Posts: 16
Posted: Thu, 2009-06-18 14:29

Ok, I just uploaded the new theme and in admin it shows as
Gallery Default. How do I change this to the name of the theme?

Thanks

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2009-06-18 18:34

Make sure you edit the theme.info file inside your theme to give it a new name and description. Also, make sure that the modes on the theme directory are 755 or more so that the webserver can see the files.
---
Problems: Check gallery3/var/logs first!
file a bug or feature request | upgrade to the latest code | use git

 
tim_ver

Joined: 2009-06-07
Posts: 16
Posted: Tue, 2009-06-23 22:58

Ok, thanks. Is there a place here that has more themes to download and use?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2009-06-23 23:55

Not yet.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
tim_ver

Joined: 2009-06-07
Posts: 16
Posted: Wed, 2009-06-24 04:48

Ok, I am suggesting a d/l section for themes. :)

 
tim_ver

Joined: 2009-06-07
Posts: 16
Posted: Sat, 2009-06-27 02:27

I have been playing around with it for a while now and I am having an issue. Hope you can help. I would like to have the video slide show play button under each album and put text under it saying click to see a slide show of this album. How do I do this. Right now it is on top right column "default".

Thanks

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2009-06-28 04:17

You'll need to either write a module to do that, or modify your existing theme. If you write a module, then you want to overload the thumb_bottom() theme function (look in existing modules/*/helpers/*_theme.php classes to find places where we do stuff like that) and add your own HTML. You can use the developer module from the gallery3-contrib git repository to get started.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!