[Typo3] My typo3 renders page without metatag
Alan Heikkila
kalanh at shaw.ca
Sat Oct 22 07:05:45 CEST 2005
> Date: Sat, 22 Oct 2005 04:06:06 +0530
> From: Sandip Bhattacharya <sandip at lug-delhi.org>
> Subject: Re: [Typo3] My typo3 renders page without metatag
> To: typo3-english at lists.netfielders.de
> Message-ID:
> <mailman.1.1129934151.952.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=us-ascii
>
> Francesco di Francia wrote:
>> What i wish instead is to see keywords and description i insert for
>> each page. They are different for each page.
>
> You can add them in the TSConfig area of each page header, using the
> plugin.meta.xxx TS to set the keywords and description.
>
>> It's strange that there are keywords and description fields and then
>> there are not relative metatag in html source of page :(
>
> What kind of "rel" meta tags do you want?
>
> - Sandip
>
> --
> Sandip Bhattacharya * Puroga Technologies * sandip at puroga.com
> Work: http://www.puroga.com * Home/Blog: http://www.sandipb.net/blog
>
> PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3
>
>
> ------------------------------
Hi Francesco,
You can create any sort of meta tag you want with the TypoScript template
setup. Just use this format:
page.meta {
language = us/en
author = Alan Heikkila
robots = index/follow
}
Your Typo3 pages will only generate HTML between ###DOCUMENT_BODY###
markers, so anything you put in the header (meta tags, javascript etc.) is
replaced by what you include in the Typo3 page header. To manually insert
header data the Typo3 way, try this:
page.headerdata.10 = text
page.headerdata.10.value = (
<script type="text/javascript>
...</script>
)
Note the parenthesis on this one, not the curly braces we're used to.
Alan Heikkila
More information about the TYPO3-english
mailing list