Page 1 of 1

HTML Meta Tags on Static Pages

Posted: Fri Sep 19, 2008 11:45 pm
by lokiwolf
Is there a way to input keywords for static pages, the way you do for entry pages? I don't want my static pages to all use the same default keywords, I would like to custom enter them for each static page. Is there a way to make the plugin do this? Thanks!

Also, is there a way to disable the other parts of the plugin, such as the description and title? I already have these dynamically coded into my index file, and I don't want the plugin adding extra meta tags in the headers. Only the keywords one.

Re: HTML Meta Tags on Static Pages

Posted: Sat Sep 20, 2008 1:31 pm
by garvinhicking
Hi!

Currently there is no builtin way for this. But sinec recently, the staticpage plugin can have custom templates so that you can enter any custom fields you like. But you must insert them into a smarty template, and need to fetch the key inside your master index.tpl template file, so you need some basic Smarty knowledge to get this to work.

See this posting for example: http://blog.s9y.org/archives/199-Improv ... lugin.html

With this way you can also finetune any field of the staticpage plugin.

HTH,
Garvin

re: static pages

Posted: Sat Sep 20, 2008 9:11 pm
by lokiwolf
Ok, thanks.. I'll fiddle around with it. I don't know smarty stuff that well, but I can read the code and figure out pretty much what something does and copy it if I have to... Thanks for the ideas... I guess I really don't need keywords, for the major search engines, but some of the smaller ones still use em I guess. I was looking because I keep getting an error from some site checkers that I have no keywords meta tag... but on further reading, I probably can ignore that, huh?

Re: re: static pages

Posted: Sun Sep 21, 2008 12:10 pm
by garvinhicking
Hi!

Keywords are still a nice benefit, but they're not really mandatory. It's up to you to see if it's worth the effort *g*

Regards,
Garvin