Member
Member
edasque   2008-10-21, 16:32
#1
Hi all,

do you know of any way to have the Title of the page be something like this:

Gallery | Portfolio 2002 | Page 2/3

Thanks in advance,

Erik
Member
Member
edasque   2008-10-25, 17:54
#2
/bump ?
Administrator
Administrator
acrylian   2008-10-25, 18:58
#3
It's all in the functions guide...:-):
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetCurrentPage (doc is wrong though...)
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetTotalPages
Member
Member
edasque   2008-10-27, 02:32
#4
Do either work though ? It seems they return nothing for me (in album.php's <TITLE>)
Member
Member
edasque   2008-10-29, 22:21
#5
/bump ?
Member
Member
Vincent   2008-10-29, 23:00
#6
Works fine for me:

<?php echo getCurrentPage() . "/" . getTotalPages();?>

in the album.php of the default theme.
Member
Member
edasque   2008-10-30, 00:58
#7
Duh. Echo. Embarrassing. Thank you.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.