No page descriptions (meta tags)

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
zeuse

No page descriptions (meta tags)

Post by zeuse »

Im not sure if there is something out of place in my template or global settings as none of my pages are showing a page description when i view the source code. When i see my site on the search engines all i see is the page title but with no description.



My template has:

{sitename} - {title}


{metadata}




My Global Metadata in global settings is:







Is there a line of code missing somewhere that would normally give the page descriptions?



thanks
Michael AC

Re: No page descriptions (meta tags)

Post by Michael AC »

Hi Zeuse,

when adding a new page (or changing an existing one) you can enter the pages metatags on the options tab.

Regards from Aachen, Germany
Michael
zeuse

Re: No page descriptions (meta tags)

Post by zeuse »

Hi,

Its the actual descriptons that in the options tab that im actually expecting to see when i view the source code but its not there. When i view he source code there is the meta title, keywords list ( which dont seem to be meta tagged), there is no page description shown at all. Also, at the very top of every page i can see my list of keywords so something is wrong somewhere.

thanks
Michael AC

Re: No page descriptions (meta tags)

Post by Michael AC »

Hi Zeuse,

sounds like that you didn't "code" the metatags within the metatags field but only entered the tags content itself...

Did you entered something like

Code: Select all


<meta name="keywords" content="blablubb, important text, more important text etc.">
<meta name="description" content="Some very important text">

...or did you entered only "Some very important text"?

Kind regards
Michael
zeuse

Re: No page descriptions (meta tags)

Post by zeuse »

Michael AC wrote: Hi Zeuse,

sounds like that you didn't "code" the metatags within the metatags field but only entered the tags content itself...

Did you entered something like

Code: Select all


<meta name="keywords" content="blablubb, important text, more important text etc.">
<meta name="description" content="Some very important text">

...or did you entered only "Some very important text"?

Kind regards
Michael

Are you saying that when i click on the options tab, instead of just entering "Some very important text" into the metadata box, i have to code the meta tags inside the metadata box?
Michael AC

Re: No page descriptions (meta tags)

Post by Michael AC »

Hi Zeuse,

yes, that's it!

"Metadata" means not only keywords but description, date and so on... when entering just the words, wherefrom should cmsms know what kind of metadata you mean?

You have to use the metatag code within the textarea.

Kind regards
Michael
zeuse

Re: No page descriptions (meta tags)

Post by zeuse »

Michael AC wrote: Hi Zeuse,

yes, that's it!

"Metadata" means not only keywords but description, date and so on... when entering just the words, wherefrom should cmsms know what kind of metadata you mean?

You have to use the metatag code within the textarea.

Kind regards
Michael

Micheal,

I cant thank you enough. Ive tried it and you are correct ( you know that anyway). Problem now is i have to add meta tags to 200 odd pages...

Thanks
Zeuse
vaughnt
Forum Members
Forum Members
Posts: 82
Joined: Tue Jun 13, 2006 2:05 pm

Re: No page descriptions (meta tags)

Post by vaughnt »

A little modification I like to do on my CMSMS installs is:

/lib/classes/class.content.inc.php
-change 
$this->mMetadata      = "";
to
$this->mMetadata      = "\n" ;

That way, each time you create a new page, the keywords and description tags are already there, all you need to supply is the content.

It's much easier to teach my clients to just fill in between the quotes where it says content, than it is to teach them to enter the meta tags.
--
My photography: http://vaughnsphotoart.com
Festiva Resorts: http://www.festiva.travel
zevat
New Member
New Member
Posts: 6
Joined: Fri Jul 28, 2006 7:46 am

Re: No page descriptions (meta tags)

Post by zevat »

Hi all

I am experiencing exactly the same issue. :-[

I have modified the line 220 from the file "class.content.inc.php"

$this->mMetadata      = "";
into
$this->mMetadata      = "\n" ;

but no changes.

I still need the html tags in order to display correctly the metadata.
Any hints or idea? ::)

cheers,
vat

btw: i have a brand new install of the version 1.1
Last edited by zevat on Wed Aug 08, 2007 5:30 pm, edited 1 time in total.
ravonet
Forum Members
Forum Members
Posts: 59
Joined: Fri Jan 11, 2008 12:04 pm

Re: No page descriptions (meta tags)

Post by ravonet »

zevat: did you find a solution?

I am having the exact same problem.

When I change:

$this->mMetadata      = "";
into
$this->mMetadata      = "\n" ;

...in /lib/classes/class.content.inc.php nothing happens in the CMS?

I still have to type in the html tags for meta-data.

Any ideas why it does not work for us?
Locked

Return to “[locked] Installation, Setup and Upgrade”