Keyword Box in Edit Page

General project discussion. NOT for help questions.
Post Reply
katea
Forum Members
Forum Members
Posts: 116
Joined: Wed Jun 10, 2009 12:25 am

Keyword Box in Edit Page

Post 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
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Keyword Box in Edit Page

Post by Nullig »

Why not just use the Autometa tag, to automatically insert keywords?

http://dev.cmsmadesimple.org/projects/autometa

Nullig
katea
Forum Members
Forum Members
Posts: 116
Joined: Wed Jun 10, 2009 12:25 am

Re: Keyword Box in Edit Page

Post 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.  :)
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Keyword Box in Edit Page

Post by Nullig »

In your template, below the  {metadata} tag, add:

 

This will create a Keywords input box for your pages.

Nullig
katea
Forum Members
Forum Members
Posts: 116
Joined: Wed Jun 10, 2009 12:25 am

Re: Keyword Box in Edit Page

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Keyword Box in Edit Page

Post by calguy1000 »

use a content block... that's what they do, provide different details for every page.l
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
katea
Forum Members
Forum Members
Posts: 116
Joined: Wed Jun 10, 2009 12:25 am

Re: Keyword Box in Edit Page

Post 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 ;)
katea
Forum Members
Forum Members
Posts: 116
Joined: Wed Jun 10, 2009 12:25 am

Re: Keyword Box in Edit Page

Post by katea »

Oh, and the box is really small... Can we make it larger (or longer) by giving it a class or something?

Thanks
Ziggywigged
Power Poster
Power Poster
Posts: 424
Joined: Sat Feb 02, 2008 12:42 am

Re: Keyword Box in Edit Page

Post 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.
Take a penny, leave a penny.
raissazhou02

Re: Keyword Box in Edit Page

Post 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.
Post Reply

Return to “General Discussion”