How to display the latest albums/categories

Phoca Gallery - image gallery extension
klevis miho
Phoca Member
Phoca Member
Posts: 14
Joined: 08 Jun 2010, 16:40

How to display the latest albums/categories

Post by klevis miho »

Is there a way (plugin) to display the latest categories?
For example to display the 5 latest categories?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9974
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to display the latest albums/categories

Post by Benno »

Hi,
Is there a way (plugin) to display the latest categories?
For example to display the 5 latest categories?
No, but if this is a solution, you can hide all other category(s) and show only the latest five.
Kind regards,
Benno
klevis miho
Phoca Member
Phoca Member
Posts: 14
Joined: 08 Jun 2010, 16:40

Re: How to display the latest albums/categories

Post by klevis miho »

But how to do that?
You mean to hide them by id?
I wanted a automatic solution.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9974
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to display the latest albums/categories

Post by Benno »

Hi,
You mean to hide them by id?
Yes.
I wanted a automatic solution.
I understand you, but as far as I know there is no automatic solution.
Kind regards,
Benno
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to display the latest albums/categories

Post by Jan »

If you find Phoca extensions useful, please support the project
gerardq
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 Sep 2010, 15:35

Re: How to display the latest albums/categories

Post by gerardq »

Hello Jan,

I tried the mod_jkphoca module but it run in error. I'l notify the developer but meanwhile I developed such a module myself, based on the standard mod_latestnews. See 'www.zonnewereld.nl' for an example (sorry it is in Dutch). It isn't that hard. One thing puzzles me though: when opening a category view like:

'index.php?option=com_phocagallery&view=category&id=62'

it doesn't show pagination. If I append '&ItemID=115' like:

'index.php?option=com_phocagallery&view=category&id=62&ItemId=115'

pagination comes in. Why is that?

regards,
Gerard

P.S: love your work, it is a site for a school, teachers now upload photo albums themselves whithout needing me.
gerardq
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 Sep 2010, 15:35

Re: How to display the latest albums/categories

Post by gerardq »

Jan,
I found the ItemID=115 issue: it is a menu-itemid. I created it to have pagination while using the phocagallary plugin. The trick was this: create two menu-items of type phoca gallery categroy view, the second is the child of the first. Publish the child but unpublish the parent. This way you won't see all the categories but you can use the plugin and have pagination. The id of this child menu seems to be appended automatically by the plugin.
Gerard.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to display the latest albums/categories

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
justingbauer
Phoca Member
Phoca Member
Posts: 16
Joined: 23 Oct 2009, 03:55

Re: How to display the latest albums/categories

Post by justingbauer »

is there anything new on the topic of a module or plugin that displays the latest albums/categories?
Post Reply