Bug #16265
closed
Meta keywords,description etc do not show up
Added by Niels Soendergaard over 18 years ago.
Updated about 6 years ago.
Description
Hello,
I can't get my page (based om template BUSINESS) to show the Meta tags,
I have this in the template:
plugin.meta {
file = typo3/sysext/cms/tslib/media/scripts/meta.php
global {
description = {$plugin.meta.description}
description_2 = {$styles.content.meta.site_description}
keywords = {$plugin.meta.keywords}
[.......snip........]
meta.distribution}
rating = {$plugin.meta.rating}
revisit = {$plugin.meta.revisit}
}
the script : typo3/sysext/cms/tslib/media/scripts/meta.php
does not seems to exist (neither in my directory, nor in the CVS on Sourcefouge.
mvh
Niels
I triet to load the extention :plugin.tx_bkautomakemetatags, but that does not change anything.
(issue imported from #M3709)
Niels, this is a bugtracker not a support list. Please ask on the English list or on any TYPO3 support bulltin.
This is NOT a support question, it is a bug report,
I've done like the manual says, but the meta tag in the header "keywords" and "author", "description" and the like does not show up un the header.
The template also says it would use a file, which is not present !
mvh
Niels
Where did it say you should use typo3/sysext/cms/tslib/media/scripts/meta.php?
There never was such a file, not even in earlier TYPO3 versions. Til 3.8 the file meta was shipped in typo3/ext/meta/meta.php.
Since 4.0 typo3/ext is empty. So you have to get the extension "meta" from there. If you install it locally, the file will be found in typo3conf/ext/meta/meta.php
Hello
in the "template analyser" under the "Plugin.Meta" it has this setup:
[GLOBAL]
plugin.meta >
plugin.meta = PHP_SCRIPT
plugin.meta {
file = typo3/sysext/cms/tslib/media/scripts/meta.php
global {
description = {$plugin.meta.description}
description_2 = {$styles.content.meta.site_description}
keywords = {$plugin.meta.keywords}
keywords_2 = {$styles.content.meta.site_keywords}
robots = {$plugin.meta.robots}
copyright = {$plugin.meta.copyright}
email = {$plugin.meta.email}
author = {$plugin.meta.author}
language = {$plugin.meta.language}
distribution = {$plugin.meta.distribution}
rating = {$plugin.meta.rating}
revisit = {$plugin.meta.revisit}
}
local {
description.field = description
keywords.field = keywords
}
flags {
useSecondaryDescKey = 1
alwaysGlobalDescription = {$plugin.meta.includeGlobal}
alwaysGlobalKeywords = {$plugin.meta.includeGlobal}
DC =1
}
}
Where there is a reference to the non-exsisting file
mvh
Niels
First of all I made a mistake: the extension is called "metatags" (not "meta").
But, I have checked the TS template of the extension. It has
plugin.meta {
file = EXT:metatags/meta.php
}
And I have also checked the template BUSINESS. I have installed the extension "Default Static Templates" (defaultstatic_tmpl) because the templates are not shipped with 4.0. There is no reference to meta tags.
So please use the object browser to see where plugin.meta.file is set. You can see the location in a tooltip above the "file" in the object browser. I'm sure it is set somewhere in your TS templates.
And if not, it's no Core bug anyway. The static templates and the meta tags extensins are not part of TYPO3 any more.
Not a core bug and no feedback for a long time.
- Status changed from Resolved to Closed
Also available in: Atom
PDF