coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: aftab1003 on April 23, 2008, 06:23:21 PM

Title: clickable keywords in template (index.php)
Post by: aftab1003 on April 23, 2008, 06:23:21 PM
hi fellows

me again here...

i am searching about to post click able keywords tags that the uploaders set during uploading pictures.. in template HTML file, coz it will show the keywords on each page, and it will 100% search engine favourite.

what code i add in template (classic) to do that i need.
and
one thing more, there is no keywords to select from popup keyword list..
i am using the latest update 1.4.18 and the site link is http://www.picturerating.us/picture-gallery/index.php

all keywords are show in search.php
any help regarding my needs, i will be thankful to u in advance.
Title: Re: clickable keywords in template (index.php)
Post by: Joachim Müller on April 24, 2008, 07:01:37 AM
I don't understand what you want to accomplish - please rephrase your question.
Title: Re: clickable keywords in template (index.php)
Post by: aftab1003 on April 24, 2008, 12:32:28 PM
i am sorry if i cant explain my question



Q.

i want to display clickable Keyword List that is displaying in bottom of search.php page, at my MAIN index.php page...at "powered by.." location.

i hope there is no misunderstandings.
thanks
Title: Re: clickable keywords in template (index.php)
Post by: Joachim Müller on April 24, 2008, 06:17:24 PM
Haven't tested, but you should be able to use anycontent.php and from that file try to include include/keyword.inc.php, like this<?php
if ($CONFIG['clickable_keyword_search'] != 0) {
    include(
'include/keyword.inc.php');
}
?>
Title: Re: clickable keywords in template (index.php)
Post by: aftab1003 on April 25, 2008, 04:18:29 PM
i have done all the related functions in index.php, anycontect.php and template.html but there is no affects...

any idea,?
i know u can do this...
Title: Re: clickable keywords in template (index.php)
Post by: Joachim Müller on April 25, 2008, 05:58:35 PM
Quote from: aftab1003 on April 25, 2008, 04:18:29 PM
i have done all the related functions in index.php, anycontect.php and template.html but there is no affects...
You did what? "I have done all related functions" is not a valid explanation of what you did. I wanted you to put that code intoy anycontent.php, upload that file to your server and enable anycontent in coppermine's config (refer to the docs how to accomplish this).
The file functions.inc.php is not related at all. You mustn't touch it.
Title: Re: clickable keywords in template (index.php)
Post by: aftab1003 on April 26, 2008, 03:25:32 PM
sorry sory sorry

i was understanding wrong, and now its done as i wish with your help...
thanks


one thing more, i think my keywords are not showing 100% in that area / some keywords missing that recently updated through picture uploads by users, am i wrong?
plz see the site and look the results plz... http://www.picturerating.us/picture-gallery/index.php [Edit GauGau] Warning: link not safe for work [/Edit]
thanks in advance
Title: Re: clickable keywords in template (index.php)
Post by: Joachim Müller on April 28, 2008, 01:29:16 PM
Always post a warning if you post a link to a site like yours. I edited your posting accordingly.