forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Spicedogs on December 15, 2007, 06:50:21 pm

Title: Trouble with content of new page
Post by: Spicedogs on December 15, 2007, 06:50:21 pm
I want to add "last viewed" to my contents. I read the instructions (and maybe I am too thick to understand it properly) and this is what I did:

According to the instructions, this is the default value, "catlist/alblist/random,2/lastup,2"

And, according to what i understood, all I needed to do is to add "lasthits" to the default value. No matter in what order I had "lasthits" to the format, it still doesn't work. What am I doing wrong?

Here are a few examples:

breadcrumb/catlist/alblist/lastup,2/random,2/lasthits,2

breadcrumb/catlist/alblist/lastup,2/random,2/lasthits/

breadcrumb/catlist/alblist/lastup,2/random,2

breadcrumb/catlist/alblist/lasthits,2/lastup,2/random,2/

etc.
Title: Re: Trouble with content of new page
Post by: François Keller on December 16, 2007, 09:02:11 am
Quote
breadcrumb/catlist/alblist/lastup,2/random,2/lasthits,2
this works as well on my install
Title: Re: Trouble with content of new page
Post by: Spicedogs on December 16, 2007, 06:36:36 pm
this works as well on my install

I tried it. It doesn't work. Could it be my theme? Rainy day.
Title: Re: Trouble with content of new page
Post by: François Keller on December 16, 2007, 06:59:26 pm
try with another theme
Title: Re: Trouble with content of new page
Post by: Spicedogs on December 16, 2007, 07:19:10 pm
This is what I get with the classic theme

Home ::   My gallery ::   Memberlist ::   User mode ::   Upload file ::   Logout [esbaker]
Album list :: Last uploads :: Last comments :: Most viewed :: Top rated :: My Favorites :: Search

This is my code:

breadcrumb/catlist/alblist/lastup,2/random,2/lasthits,2

BTW, I tried all the skins. It doesn't work.
Title: Re: Trouble with content of new page
Post by: François Keller on December 16, 2007, 07:33:37 pm
Quote
I want to add "last viewed" to my contents.
adding lasthits in the list display a the lasthits bloc, not a menu link
Title: Re: Trouble with content of new page
Post by: Spicedogs on December 16, 2007, 07:43:05 pm
adding lasthits in the list display a the lasthits bloc, not a menu link


Oh, my misunderstanding.

I wanted something that would show me the photos most recently viewed. Is there a way of doing that?
Title: Re: Trouble with content of new page
Post by: François Keller on December 16, 2007, 08:10:39 pm
yes, the lasthits bloc does it.
give us a link for a start
Title: Re: Trouble with content of new page
Post by: Spicedogs on December 16, 2007, 08:19:42 pm
yes, the lasthits bloc does it.
give us a link for a start

Where do I find lasthits bloc?

here's my photogallery's link:

http://michaelemerson.net/coppermine

Is this what you are asking for?

(Pardon my stupidite)
Title: Re: Trouble with content of new page
Post by: François Keller on December 16, 2007, 08:29:15 pm
go to the bottom of your index page and you will see the lasthits bloc

BTW perhaps  should you show only the categories on your index page
Title: Re: Trouble with content of new page
Post by: Spicedogs on December 16, 2007, 08:46:38 pm
go to the bottom of your index page and you will see the lasthits bloc

BTW perhaps  should you show only the categories on your index page

That worked. How stupid can one get? LOL

How do I program it to show the categories only on the index page?
Title: Re: Trouble with content of new page
Post by: François Keller on December 16, 2007, 08:51:39 pm
read the doc  ;) http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_album_list (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_album_list)
Title: Re: Trouble with content of new page
Post by: Spicedogs on December 16, 2007, 08:56:54 pm
read the doc  ;) http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_album_list (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_album_list)

Thanks. You've been very helpful.
Title: Re: Trouble with content of new page
Post by: Joachim Müller on December 17, 2007, 08:32:49 am
One issue per thread!. Marking as "solved", locking.