Custom META DATA

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
URAN

Custom META DATA

Post by URAN »

I`m not very much in PHP and MySQL, but wonder if it possible to add ability to input custom meta data when creating a Content Page?

Without this option I`m not sure that it possible to create SEO-content (Seach Engine Optimized content) of my web with CMS MadeSimple engine.
Last edited by URAN on Thu Mar 02, 2006 9:08 am, edited 1 time in total.
westis

Re: Custom META DATA

Post by westis »

In 0.12 the head tags (that is, metadata in the section) is re-introduced. You can even set it for each page separately and also globally for all pages.

In 0.11.X, use a content block in the section of you template, like this:
{content block='headtags' wysiwyg=false}

Then you will get an additional content block when you edit a page, where you can insert the metadata for that page. You can of course also insert metadata for all pages in the template.

wysiwyg=false means that if you have selected to use a WYSIWYG editor, it is not used for the headtags content block.
URAN

Re: Custom META DATA

Post by URAN »

I do use 0.12. Well... I`m not sure that I clearly understand you. I was talking about two extra input fields to paste custom KEYWORDS and DESCRIPTION.

In the beginning I just made new HTML Blob named "meta".

In this Blob I pasted two rows with global meta-data for all web-site:

Code: Select all

<meta content="*******" name="keywords" />
<meta content="*******" name="description" />
... and add this html_blob to my template -  {html_blob name='meta'} between tags.



Now, I thing how to make this meta-data more "up-to-page". I thing it could be done by generating from TITLE this way:

1. Open/Create current HTML_Blob "meta" at Admin Page / Layout / HTML Blobs
2. Modify it to :

Code: Select all

<meta content="MAIN KEYWORDS, {title}, ADDITIONAL KEYWORDS" name="keywords" />
<meta content="MAIN DESCRIPTION, {title}, ADDITIONAL DESCRIPTION" name="description" />
I think it should work not perfect, but much more better than global meta for all web.
LeisureLarry

Re: Custom META DATA

Post by LeisureLarry »

Look in the options of each content page. There you can set individual meta data for each page.
URAN

Re: Custom META DATA

Post by URAN »

Ups, sorry..  :D I told a lie... my version is  0.11.2, not 0.12 ... Sorry. Will try to upgrade
URAN

Re: Custom META DATA

Post by URAN »

Patricia, so, my method of creating meta-data will not work too? I meaning pasting {title} into the line with meta-data:
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Custom META DATA

Post by Ted »

In beta2 it won't work.  When 0.12 is released, it will.  I fixed it the other day.
URAN

Re: Custom META DATA

Post by URAN »

Will looking forward for it! Hope upgrade from 0.11.2 to 0.12 will come soon.
numer9

Re: Custom META DATA

Post by numer9 »

hey,
since 0.12 is up and running, i got another question. is there a chance to add some specific keywords into one page... i know there is options tab and textarea to insert additional fields. But i'm not sure if bots will read correctly the page, if it has 2 times...

Another words.
I'd like to have a global keywords like "word1, word2" and add "word3" only to page3 of my cms. But i want the engine to sum it, so i have only one tag on every page...

i hope i'm clear what i'm asking about ;)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Custom META DATA

Post by calguy1000 »

why not create a "global content block" that contains all of the common keywords, then on your template, or on each page if you wish you could put

{common_keywords} inside of your meta tag, as well as the custom ones you want on each page.
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.
Locked

Return to “CMSMS Core”