Member
Member
Comodor125   2017-02-27, 17:27
#1

Hello I want to create and add pages; Most visited, best rated, recent photos and put the links in the header of my site. Home|Most visited|Best rated|Recent photos|
As on the default theme at piwigo: http://www.piwigo.org/demo/index.php?/categories

Can anyone help me please?

Administrator
Administrator
acrylian   2017-02-27, 18:09
#2

Create so called "static theme pages" or those within your theme:

Enable the image_album_statistics plugin and add the related functions

For some of these "categories" we call "statistics" dynamic albums may also a be a way.
http://www.zenphoto.org/news/how-to-use-the-dynamic-albums-feature/

Member
Member
Comodor125   2017-02-27, 19:30
#3

Ok thank you but what are the php features that displays the best pictures, the latest.

This is my header

Administrator
Administrator
acrylian   2017-02-28, 10:18
#4

See the doc link for the image_album_statistics plugin I already posted.

printRSSHeaderLink('Album',getAlbumTitle()); ?>
That line will not work as static theme pages are outside of any album or else context. Use something like printRSSHeaderLink('Gallery', gettext('Gallery RSS')); instead. Please take the time to read the theming basics if you haven't already and also look at the official themes for some examples. There are also basic example theme pages available within the tutorial.

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