Member
Member
zenflava   2009-11-10, 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   2009-11-10, 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   2009-11-12, 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   2010-07-22, 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:

<h1>» Recent Albums</h1>
<div class="siteInfo">
<div id="recentPhotos">
<?php printLatestUpdatedAlbums(10)?>
</div>
</div>

any idea?

Thanks in advance
Member
Member
kagutsuchi   2010-07-22, 14:58
#5
The function `printLatestUpdatedAlbums` provides a container which should be

`<div id="latestupdated_album">`

which simply encases an unordered list. You will need to style that list appropriately.
Member
Member
acelik   2010-09-03, 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 `<?php echo getGalleryTitle();?>` and `<?php printAlbumTitle(3)?>` but they show nothing
Administrator
Administrator
acrylian   2010-09-03, 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.