Several Problems (Dates, Theme, Subalbum) in 1.1.2

Hi everybody,
I updated to 1.1.2 about two weeks ago and everything seemed to work fine, actualy the important stuff does work just fine :-)
But...
I just wanted to start using the subalbum feature and now the subalbums don't show up in the gallery.
I probably need to make some adjustment to the theme I'm using, but I didn't find the hints (all I found was about the admin panel, but that just works fine for me.).
My zenphoto gallery can be found at:
http://www.mypartofthe.net/photo/zenphoto/
The album on which I want to use the SubAlbums is at:
http://www.mypartofthe.net/photo/zenphoto/san-augustin/
And the SubAlbums itself are at:
http://www.mypartofthe.net/photo/zenphoto/san-augustin/hinweg
http://www.mypartofthe.net/photo/zenphoto/san-augustin/parque-arqueologico
http://www.mypartofthe.net/photo/zenphoto/san-augustin/reiten
and
http://www.mypartofthe.net/photo/zenphoto/san-augustin/jeeptour
I guess a look at the source code of my theme might also be of help:
http://www.mypartofthe.net/files/chaoticsoul.zip

Other minor problems I have is that the Dates of the Albums "taken" are wrong, although in the admin panel all photo-dates are correct.

And finaly, in the admin-panel, under themes it says "Current theme is default" and it also offers me the option to use my ChaoticSoul theme, though as you can see, I actualy use ChaoticSoul allready... (?)

Comments

  • 1. Take a look at http://www.zenphoto.org/support/topic.php?id=560&replies=17#post-10621 for some information on migrating your theme.

    2. Are you saying that the date that Admin shows for an album is different from the date taken displayed by printAlbumDate()?

    3. Does the admin themes pannel show more than one theme?
  • Thanks sbillard for your quick reply, searching around I found the post you mention, though I don't find where to add "the subalbum-path breadcrumb" as I don't find "right before the current album/image name" in my album.php nor image.php or maybe I just don't understand what is meant with "right before the current album/image name"...
    (I do know a fair bit of xhtml and CSS and I think I do understand most of the php I read in the album.php and image.php files.)
    For the while-loop described by mitcho on his page, do I add this to the album.php file?
    It should probably go either before or after the image-loop,right?
    (The image-loop in my album.php looks like this:
    `<br /> <?php while (next_image()): ?><br /> <div class="zpimage"><br /> <div class="imagethumb"><a href="<?=getImageLinkURL();?>" title="<?=getImageTitle();?>"><?php printImageThumb(getImageTitle()); ?></a></div><br /> </div><br /> <?php endwhile; ?><br /> `

    2. What I'm trying to say is, that on the zenphoto index page it says "Date Taken: January 1st, 1970" next to the Album Title, while in the AdminPannel the Date next to the Photos is the correct one, e.g. "2007-12-22 09:14:14" and I left the Box for the Date of the Album empty. (Maybe I have to add something else aswell to my theme?)

    3. The admin Themes Pannel shows 11 Themes, the ones that came by default (I guess) plus my ChaoticSoul theme.
  • You can use one of the distributed themes as an example of where the function calls go. Obviously, where things go in your theme will depend on what you want things to look like.

    There is a difference between album dates and image dates. If your album date is blank in the admin pannel I think that you will get the "root" date. Date values are integer numbers that are a 'time since' some starting point. In your case it looks like the starting date is 1/1/1970. You can either set the date for the album in admin or not print the album date in your themes.

    There are only 4 themes that came with the current release. One of them is named "default". The rest must be left over from other times. `Default` is also the 'default' setting of the themes option. I have no idea how your theme is the one showing when the option seems to think that Default has been selected, but it is not a serious issue. Just select your theme in the options panel.
  • Okay, got the Subalbum problem sorted out, I will just have to tweak a bit more on the code and the css to make it look good :-)

    For the Dates thingy, I will probably have to comment it out in the code, but it seems strange to me that this problem didn't show up earlier as there is something about the Date in the theme-code... (doesn't matter though, now that I know where to change the code.)

    I'm kind of afraid selecting the right theme in the admin-panel right now as I'm on the road and don't realy have a possibility to backup... But it works the way it is for now...
    Thanks anyway and keep up the good work!
  • In previous versions of zenphoto the printAlbumDate function did not work.
Sign In or Register to comment.