Page 1 of 1

Page Meta data

Posted: Wed Jan 06, 2010 9:33 am
by tgnc.org.uk
How do I stop the meta data being output to the page output?

Every time I set specific meta data for a page, the meta data is printed with the page output, meta data NEVER gets seen by the individual, so gould a DEV pleas point me to the the part of the CMS that controls this output as this annoying to say the least and it ruins the page layout.

Re: Page Meta data

Posted: Wed Jan 06, 2010 7:28 pm
by Rolf
Hi tgnc.org.uk

Metadata can be placed in the page editor at Page Specific Metadata under the tab Options
In the html template will be the {process_pagedata} tag which calls this field.

And there is the {metadata} tag in the template that calls the Metadata which is entered in Site Admin >> Global settings

Hope this helps,

Rolf  :)

Re: Page Meta data

Posted: Wed Jan 06, 2010 7:40 pm
by replytomk3
What exactly is the problem that you have?

Re: Page Meta data

Posted: Wed Jan 06, 2010 8:35 pm
by Dr.CSS
The problem most likely is that they are putting plain text into the metadata box not doing it like a normal meta tag should be done...





Note the " />  a lot of people forget to close them...

Re: Page Meta data

Posted: Thu Jan 07, 2010 12:55 am
by tgnc.org.uk
Thanks.

The issue I was having was the raw text list was being output at the head of the page ranter than being wrapped in a meta tag. The input box does not make it clear that you have to include the HTML as well.

It might be a good widget to make to check for a <meta tag, if non present then wrap the contents of the text area prior to stuffing it in the database. The meta text I did not input, my friend did, so I will tell him off.

Question now is how do I mark this post as resolved?

Re: Page Meta data

Posted: Thu Jan 07, 2010 2:17 am
by replytomk3
Oh, so you were not putting the "meta" tag where necessary, just plain text. This was asked for many times before.

To mark the thread as [Solved], edit the first post in this thread, and modify the subject line.

Re: Page Meta data

Posted: Thu Jan 07, 2010 6:29 am
by Dr.CSS
The thing about the metadata box per page is that it doesn't know what kind of metadata you are going to put in it so you have to use an html based meta call...

Re: Page Meta data

Posted: Thu Jan 07, 2010 6:51 am
by Rolf
In the following post you will find some tricks to make the use of the description and keywords metadata easier:
http://forum.cmsmadesimple.org/index.ph ... 912.0.html #4 and #5

Regards, Rolf

[SOLVED] Re: Page Meta data

Posted: Thu Jan 07, 2010 10:44 am
by tgnc.org.uk
Thanks for the feed back.

@DR Css ... As for meta type... I guess you could make a pull down to indicate what type but generally a keyword list is something separated by a space or comma, or both comma and space. So a RegExp to test for " ", "," or ", " possibly would cure this detection issue.

As for the raw text, I automatically assumed this is what would be put in.