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


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
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


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
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