Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Meta values on detailed page

Quote Reply
Meta values on detailed page
Hi,

I want to use different meta values on detailed page for every link.

How can be done? Should I delete "include header" in detailed template and put static header there or is there some other way?

Regards.

UnReal Network
Quote Reply
Re: [DeadMan] Meta values on detailed page In reply to
Depends where you're meta details are created. The default template is include_common_head.html

In your detailed.html template you would have to replace:

Code:
<%include include_common_head.html%>


with:

Code:
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta name="description" content="my detailed page decription" />
<meta name="Keywords" content="my detailed page keywords" />
<link type="text/css" rel="stylesheet" href="http://www.my_css_file_location.com/static/luna/luna.css" />

What you have to remember though is that even if you do change this, all of your detailed pages will still have the same meta values unless you use tags in the description and keywords such as <%Title%>, etc.

Last edited by:

MJB: Jan 10, 2010, 11:10 AM
Quote Reply
Re: [MJB] Meta values on detailed page In reply to
Yes, I've done it that way. Just was thinking is there maybe some other way...

Its cool this way. It works :)

Regards.

UnReal Network