forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: landfree on June 28, 2006, 07:56:23 pm

Title: how can i add meta tag (keywords)
Post by: landfree on June 28, 2006, 07:56:23 pm
hello
please tell me how can i add meta keywords and description in coppermine gallery
for example your site
Quote
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        <meta name="description" content="Start new topic" />
        <meta name="keywords" content="coppermine,gallery,picture,forum" />
what i do ?
thank you
bye
Title: Re: how can i add meta tag (keywords)
Post by: Nibbler on June 28, 2006, 08:00:57 pm
Edit your theme's template.html
Title: Re: how can i add meta tag (keywords)
Post by: crakup on August 07, 2006, 06:30:18 am
I have edited my theme template.html inserting in the head section:
Code: [Select]
<meta name="Keywords" content="keyword 1, keyword 2" />
<meta name="description" content="Gallery Description" />
I think that this is all right, but the code isn't showing in the page. :-\
Hope someone can help me.
Title: Re: how can i add meta tag (keywords)
Post by: Sami on August 07, 2006, 06:35:04 am
which theme you are using and where did you put that code?
my point is:
- if you are using classic theme then you need to add those meta tags under
Code: [Select]
<meta http-equiv="Pragma" content="no-cache" />
in to themes/classic/template.html
Title: Re: how can i add meta tag (keywords)
Post by: Joachim Müller on August 07, 2006, 06:43:52 am
Posting a link to your coppermine-driven gallery might be a good start if you actually want help...
Title: Re: how can i add meta tag (keywords)
Post by: crakup on August 07, 2006, 07:19:43 am
My gallery is hosted in: crakup.cr.funpic.de (http://crakup.cr.funpic.de)
By the way my theme is rainy day as you can watch ;D
Title: Re: how can i add meta tag (keywords)
Post by: Joachim Müller on August 07, 2006, 07:30:51 am
I can see as well that you're using cpg1.4.8, so you shouldn't have posted on the cpg1.3.x boards in the first place. We have different support boards for different coppermine versions for good reasons. You shouldn't have tried to hijack this thread.