Page 1 of 1
Keyword Box in Edit Page
Posted: Wed Jul 01, 2009 12:51 pm
by katea
Hi guys,
We of course have a Description (title attribute): when we click on Options when we edit a page ...
BUT... Is there anyway that we can add a Keywords box directly below it?
This way it would be easier for users to type in their keywords without surrounding it with the meta tag.
I've had a look around the forum, there was a suggestion in 2007 by the genius calguy, but he was talking about content blocks... Which would be great, but each page will of course need to be specific to the keywords.
I just need to be able to put in a Keyword box underneath the Ttitle box and then implement it in my global settings or template.
Anybody have any idea about how to do this?
Thanks
Kate
Re: Keyword Box in Edit Page
Posted: Wed Jul 01, 2009 2:10 pm
by Nullig
Why not just use the Autometa tag, to automatically insert keywords?
http://dev.cmsmadesimple.org/projects/autometa
Nullig
Re: Keyword Box in Edit Page
Posted: Wed Jul 01, 2009 2:33 pm
by katea
I did look at that, but I'd rather do it by hand.
I'd much rather have the box in place so that I can manipulate with ease.
Thanks anyway.

Re: Keyword Box in Edit Page
Posted: Wed Jul 01, 2009 2:52 pm
by Nullig
In your template, below the {metadata} tag, add:
This will create a Keywords input box for your pages.
Nullig
Re: Keyword Box in Edit Page
Posted: Wed Jul 01, 2009 3:28 pm
by katea
Thanks nullig, but I'm looking to not use a content block. With a content block you'll have the same keywors for every page. I need different keywords for every page.
When I edit pages, I'd like there to be a box below the description box (which works great by the way) so that users can just folow on from writing that and then input there keywords.
Right now I'm using page specific meta ie:
Which is easy for me, but not so much for other users.
I'm just looking for a way to simplify the process for users.
Re: Keyword Box in Edit Page
Posted: Wed Jul 01, 2009 3:29 pm
by calguy1000
use a content block... that's what they do, provide different details for every page.l
Re: Keyword Box in Edit Page
Posted: Wed Jul 01, 2009 3:46 pm
by katea
calguy1000 wrote:
use a content block... that's what they do, provide different details for every page.l
Hi Calguy,
OK, so I added a content block (and the code kindly supplied by Nullig) and I get a keywords block (Taht's a HUGE start and I'm feeling a little bid foolish right now ;o)), but how do I get that box in the options area below the description?
Right now it's stuck in the middle of my page header and page content ..... In the main tab ...
Now, as much as this is a solution, it seems a little silly to have the keywords on one page and the description on another ...
Anyway around this?
I figured that there would be some kind of code that I could pop into the editpage.php and it would fit in nicely.
Thanks both for your help, it's really appreciated..
K

Re: Keyword Box in Edit Page
Posted: Wed Jul 01, 2009 3:53 pm
by katea
Oh, and the box is really small... Can we make it larger (or longer) by giving it a class or something?
Thanks
Re: Keyword Box in Edit Page
Posted: Wed Jul 01, 2009 3:58 pm
by Ziggywigged
Not a direct solution to your questions, but what I do is add
Code: Select all
<meta name="description" content="" />
<meta name="keywords" content="{title}, {sitename}" />
to the metadata Page Defaults textarea.
Re: Keyword Box in Edit Page
Posted: Thu Jul 02, 2009 7:51 am
by raissazhou02
wwo, you guys are really good at this work, i offen come accross this problems , thank you for alll your help ,i got it.