forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: another_angel on December 27, 2012, 09:50:10 pm

Title: Clickable Keywords to gallery main page
Post by: another_angel on December 27, 2012, 09:50:10 pm
Is there a quick way to display the "clickable keyword search" on the front page of my gallery?  I would like to display it above the random and new additions displays at the bottom of the main gallery page.

When I searched for this topic, someone noted there was a plugin to do this, but I could not find one for version 1.5.x.  I am comfortable with light coding.

My gallery - http://www.teamskarsgard.com/gallery
Title: Re: Clickable Keywords to gallery main page
Post by: Αndré on December 28, 2012, 11:24:49 am
Are you looking for this plugin (http://forum.coppermine-gallery.net/index.php/topic,63693.0.html)?
Title: Re: Clickable Keywords to gallery main page
Post by: another_angel on December 30, 2012, 05:37:06 pm
Unfortunately, this plugin does not work correctly or it would be great.  In this plugin, the keywords show up grouped together with semi-colons in between, which defeats the purpose of the cloud.  If someone could offer a solution to this problem (I checked the entire thread about this plugin.  Multiple people said they were having this issue, but no solutions were given), then I would just use it instead.

However, what I really wanted/intended to do is just move (or copy) the keyword cloud from the search page onto my gallery main page.
Title: Re: Clickable Keywords to gallery main page
Post by: Αndré on January 02, 2013, 12:38:46 pm
Copy the following code to your anycontent.php file and add it to the content of the main page in the settings:
Code: [Select]
include('include/keyword.inc.php');
Title: Re: Clickable Keywords to gallery main page
Post by: another_angel on January 02, 2013, 04:31:46 pm
Worked like a charm!   ;)  You are my hero.  Thanks so much.  I learned a valuable tool today.