How to make most viewed appear on the home page? How to make most viewed appear on the home page?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

How to make most viewed appear on the home page?

Started by vishnu, October 07, 2008, 06:22:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vishnu

Hi,

I want to display the most viewed section of my gallery in the home page and remove the random files section. In the template.html for my theme, I see a property {GALLERY}. where is it defined?
Any help appreciated.

Joachim Müller

Did you read the docs? The FAQ? Obviously not. Reading the board rules might be a good idea as well.

vishnu

yes I did read the FAQ and documentation but I can't figure it out. I was expecting a walk through from this forum.

amitbhalerao

Log in as admin, go to config(admin.php). Click on "Album list view".
Here you'll find "The content of the main page"
with value similar to..
breadcrumb/catlist/alblist/random,2/lastup,2

You can remove 'random,2' and add 'topn,2'.
Also you can change the number(to change the number of rows).

-Amit

vishnu


Joachim Müller

That's exactly what is being explained in the docs and FAQ: in my above posting, I even posted deep links that point to the corresponding section. Again, it seems you even didn't bother to even click those links I posted.
Review your attitude - don't expect to be spoon-fed.
Anyway, marking thread as "solved", as you even failed to do that.