![]() |
|
printPopularImages() for current album - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: printPopularImages() for current album (/thread-8008.html) |
printPopularImages() for current album - hkdigit - 2010-12-29 Hi, I try modify the template file album.php to display popular images based on current album by following function: However, it display the popular images for all album. So any function return current album for $albumfolder parameter? Another question: Is it possible to show page number for HTML title? e.g. http://www.hkgimages.com/pic/page/2/ HTML page title show : Page 2 - Hong Kong Images Many thanks in advance. printPopularImages() for current album - acrylian - 2010-12-29
printPopularImages() for current album - hkdigit - 2010-12-29 Dear acrylian, Thanks again for your reply.
string $albumfolder: folder of an specific album I try using getAlbumId(), but got runtime error : Example: http://www.hkgimages.com/pic/weather/page/2/
printPopularImages() for current album - acrylian - 2010-12-29
printPopularImages() for current album - hkdigit - 2010-12-29 1 It's working now. Thanks ^_^Beside, it's not related w/ zenphoto, but the popular div seems overlap with commentcontent div... any hints how to fix it? Ref: http://www.hkgimages.com/pic/food/ |