PDA

View Full Version : Add meta description to index


discover
01-07-2008, 05:56 PM
Whats the best way to add a meta description to just the index?
thanks
al

discover
01-09-2008, 06:26 PM
anyone help with this?

James
01-09-2008, 06:29 PM
version please

discover
01-09-2008, 06:44 PM
actually need it for two versions

v2.1.2 and v2.1.1

thanks in advance!

James
01-09-2008, 08:16 PM
ok asking once again to nail it down. You want to just have a seperate diescription for index or not show it on all pages .... and you mean true meta and not having the text on the page showing right?

discover
01-09-2008, 08:21 PM
seperate description for index only
and true meta tag yes

TDK
01-10-2008, 08:02 PM
This works for 2.1.2 - in header.tpl put this in the <head> section:
Content visible to registered users only.

discover
01-10-2008, 08:34 PM
excellent TDK
I tried that code and it works :)
if i wanna add keywords meta i just add them only using:

{if $category.ID eq 0 and not $p}
<meta name="keywords" content="Your site's keywords here">
{/if}


now just need 2.2.1 :)

shadav
01-10-2008, 09:58 PM
that should work for all v2.x i would think....