Someone can choose the encoding charset with the template.
But - there is no tag to include this as a metatag like this autmatically:
-----------------------------------------------------------------------
Where can i insert my meta - datas of a page ?? No options are shown.
Meta Datas Topic is solved
Re: Meta Datas
Hi Piratos,
This has caused some confusion in 0.11.x. The headtags box when editing a page was removed and instead one was supposed to use a content block in the section of the template (like {content block='headtags' wysiwyg='false'} ), and enter metadata for each page in that content block.
But in 0.12 the metadata box for each page will be reintroduced. There will also be a tag called {metadata} that is inserted in the template and that takes both site global metadata and page-specific metadata entered for each page.
But as far as the charset is concerned, that should probably be in the default template and taken from the encoding setting in config.php (which from v. 1.0. will be editable from the Admin Panel), or better still, from the template encoding if it is not set to default (in which case it's taken from the config.php setting).
This has caused some confusion in 0.11.x. The headtags box when editing a page was removed and instead one was supposed to use a content block in the section of the template (like {content block='headtags' wysiwyg='false'} ), and enter metadata for each page in that content block.
But in 0.12 the metadata box for each page will be reintroduced. There will also be a tag called {metadata} that is inserted in the template and that takes both site global metadata and page-specific metadata entered for each page.
But as far as the charset is concerned, that should probably be in the default template and taken from the encoding setting in config.php (which from v. 1.0. will be editable from the Admin Panel), or better still, from the template encoding if it is not set to default (in which case it's taken from the config.php setting).
Re: Meta Datas
i know that but that is not what i mean.setting in config.php
if i change or make the settings in the template i expect from the cms, that it was shown automatically in the template.
Re: Meta Datas
That's what I meant with "or better still, from the template encoding". Whatever encoding that is set for the template should be in the metadata tag. If that is set to default, the setting in config.php should be displayed.Piratos wrote: if i change or make the settings in the template i expect from the cms, that it was shown automatically in the template.
And from 0.11.x all language files are in UTF-8, so most often one doesn't need to change the encoding.
Re: Meta Datas
The encoding is sent via http headers, because I figured there would be a lot of situations where we didn't have control over the meta tags.
So, if in config.php or for the template it is set to iso-8859-1, it'll be sent via the content-type header as such.
So, if in config.php or for the template it is set to iso-8859-1, it'll be sent via the content-type header as such.
Re: Meta Datas
I know that all, but if you develop with a local webserver and you try to validate e.g. html by validator.w3.org you must choose the upload option - try it by yourself and you see what i mean.