Member
Member
acelik   07-09-2010, 09:41
#1

Hey There,

I'm trying to show latest images and albums on my homepage (outside of zenphoto)

my template is flickrish and I use it's index page on my external page. The page looks but normally zenphoto index shows just 14 pictures and 7 albums. On external page the image number is ok but instead of 7 latest albums, it shows all the albums added to the system. it doesnt use pagination on that page.

codes are here `

            � Son Eklenen Fotoğraflar








            � Son Eklenen Galeriler

[list]

[*]

                        " title="" target="_blank" >
Administrator
Administrator
acrylian   07-09-2010, 09:50
#2

[i]META http-equiv=content-type content=text/html;charset=iso-8859-9>

[/i]
Just a note: You should decide what charset you are actually using...

flickrish is not a offical theme so we can't support it. Part of your code is unreadable because not properly escaped (backticks or html CODE tag). However, you have probably to set up the right context to get the pagination to work. But note that Zenphoto with all its feature is not meant to be used externally. It's a system of its own.

Regarding extra pages I suggest to read the theming tutorial.

Member
Member
acelik   07-09-2010, 09:59
#3

acrylian, lets say I don't want to use pagination. I just want to limit the latest albums to 5. can I do this within those codes?

`

  " title="" target="_blank" >

  [img][/img]



  " title="">









   albums





   foto






  `
Administrator
Administrator
acrylian   07-09-2010, 10:29
#4

Sure, count within the loop and stop it when you reached the 5.

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