forum.coppermine-gallery.net

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: Paver on June 17, 2006, 04:35:31 am

Title: Set Home Category for Groups
Post by: Paver on June 17, 2006, 04:35:31 am
As suggested by this thread (http://forum.coppermine-gallery.net/index.php?topic=32737.0), this plugin lets you set a "home category" for each group (besides the administrator & banned groups).  Once you set a home category, the "Home" links in the system menu and breadcrumb will be replaced with links to this category.

I'm pretty sure it works in all cases & configurations, but treat it with caution.  Since it messes with the 'page_html' filter, it could make your site go blank (it did during some of my intermediate tests which were subsequently addressed).  If this happens, go to your database (using a tool like phpMyAdmin) and empty out the cpg_plugins table or just delete the single reference to this plugin.  Then refresh your page.  Please report any serious issues. 

Since users can belong to more than one group, the way this plugin chooses which home category to use is that it looks at the secondary groups to which a user belongs.  If there is only one secondary group, it chooses that home category setting.  If there is more than one secondary group, it chooses the primary group home category (which for most galleries is "Registered" - you can change the primary group, but if your gallery depends upon a "Registered" group, you might get stuck - a user cannot belong to "Registered" as a secondary group).
Title: Re: Set Home Category for Groups
Post by: klow on September 27, 2006, 02:32:24 pm
go to your database (using a tool like phpMyAdmin)

How can I do that?...
Title: Re: Set Home Category for Groups
Post by: Sami on September 27, 2006, 04:29:27 pm
Use your hosting control panel's db tools or install phpmyadmin ....
Title: Re: Set Home Category for Groups
Post by: Mimer on January 26, 2008, 05:05:44 pm
Hi

I have translated the language file for custom home 1.0 to danish.

Mimer  8)
Title: Re: Set Home Category for Groups
Post by: nointerest on January 27, 2008, 12:34:47 am
I have translated this plugin into German (Du) and attach the file. It is saved as utf-8.

(I dont use the plugin - therefore I cant test how the translation "feels" like. If someone has recommendations for doing phrases in a better way I am very open. Just send me a message in this forum then please).
Title: Re: Set Home Category for Groups
Post by: Mimer on May 31, 2009, 02:39:28 pm
Danish language updated for Custom Home 1.0.
Revision 1.1

Brugerdefineret Startside -> Alternativ Startside
Typos corrected
Gramma corrected

Mimer  8)