Member
Member
zenflava   10-11-2009, 02:52
#1

Hey all,

I need help. I'm building a custom zenphoto theme based on light default theme.

This theme consist of multiple sub albums, fox example index.php will render Album Z and inside this album contains about five albums.

Everything works great but i'm running into problem when i add this code to index.php

printLatestAlbums(10, false, false, false, false, "hitcounter", 132, 186, false);

printLatestAlbums function render both parents and subalbums.

is there anyway just to show the latest albums without rendering the parent?

screenshot

http://bit.ly/1msVoj

Thank you

Administrator
Administrator
acrylian   10-11-2009, 10:10
#2

The nightly build (and therefore 1.2.7 will have) has the option to get the latest etc. (sub)albums of a specific album.

Member
Member
zenflava   12-11-2009, 00:49
#3

Thank you acrylian, I'll sync it up.
Instead of using printLatestAlbums() I use printLatestUpdatedAlbums() and it's working like a charm.

Member
Member
acelik   22-07-2010, 14:51
#4

hello guys,

this function is what I'm looking for but when I use it, the thumbnails of the albums like this:

Album1
Album2
Album3
.
.

but I want to show them as :

Album1 Album2 Album3 ...

Normally the css file is ok I think. I'm using flickrish template and trying the codes below:

            » Recent Albums

any idea?

Thanks in advance

Member
Member
kagutsuchi   22-07-2010, 14:58
#5

The function printLatestUpdatedAlbums provides a container which should be

``

which simply encases an unordered list. You will need to style that list appropriately.

Member
Member
acelik   03-09-2010, 07:24
#6

hey there,

is it simple way to show the latest albums's only title and picture number on homepage? not album page.

I try and but they show nothing

Administrator
Administrator
acrylian   03-09-2010, 08:59
#7

You should really review the functions documentation... printAlbumTitle() does not allow a parameter like that. And it does not work like that.. Also you should probably read the theming tutorial to learn theme basics first.

The image_album_statisticcs plugin has a function for latest albums but it of course shows the thumbnails of those as well. You will have to make a custom function to omit the thumbs.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.