No page descriptions (meta tags)
No page descriptions (meta tags)
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
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
Re: No page descriptions (meta tags)
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
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
Re: No page descriptions (meta tags)
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
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
Re: No page descriptions (meta tags)
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
...or did you entered only "Some very important text"?
Kind regards
Michael
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">
Kind regards
Michael
Re: No page descriptions (meta tags)
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
...or did you entered only "Some very important text"?Code: Select all
<meta name="keywords" content="blablubb, important text, more important text etc."> <meta name="description" content="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?
Re: No page descriptions (meta tags)
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
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
Re: No page descriptions (meta tags)
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
Re: No page descriptions (meta tags)
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.
/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.
Re: No page descriptions (meta tags)
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
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.
Re: No page descriptions (meta tags)
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?
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?