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

Globals Meta_Description and Meta_Keywords

Quote Reply
Globals Meta_Description and Meta_Keywords
Hi,

I'm using globals <%Meta_Description%> and <%Meta_Keywords%> on my templates and it print blank not text which is in globals.

This is how I use it:

Code:
<meta name="description" content="<%Meta_Description%>" />
<meta name="keywords" content="<%Meta_Keywords%>" />

And I have setup Meta_Description and Meta_Keywords in Template Globals.

Where is the catch?

Regards.

UnReal Network
Quote Reply
Re: [DeadMan] Globals Meta_Description and Meta_Keywords In reply to
Which template is this in?

Also, do a <%GT::Template::dump%> and see if the tags exist anywhere there?

It could even be a global that is overwriting them - as they should show up fine.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Globals Meta_Description and Meta_Keywords In reply to
I've done dump. It exists. Don't understand. Crazy

Regards.

UnReal Network
Quote Reply
Re: [DeadMan] Globals Meta_Description and Meta_Keywords In reply to
Ah, I just re-read your post - try changing the global names to something else (as Meta_Keywords and Meta_Description clash with the Category database fields =))

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Globals Meta_Description and Meta_Keywords In reply to
Yes, its ok now :)

I've just added "_Tag" at the end of globals and its working. Thanks!

Regards.

UnReal Network