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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.