I have included the {metadata} tag in the template. But the information is not properly formatted.
This is what is included in the header information:
Beatles, The Beatles, music theory, musical analysis, musicological analysis, I Should Have Known Better, Alan W Pollack
The last part,
"Beatles, The Beatles, music theory, musical analysis, musicological analysis, I Should Have Known Better, Alan W Pollack"
is written in the "Metadata" field in the template. I think this should have been included in tags
, but it is unformatted. Is there a way to get the correct formatting tags here?
(And is there a way to include the content in the "Description (title attribute):" field in the template in tags in the header?)
{metadata} tag - formatting
Re: {metadata} tag - formatting
What did you put in the metadata under "Global Settings"?
Ronny
Ronny
Re: {metadata} tag - formatting
Did you remember to end the tag properly - /> - like,
Nullig
Nullig
-
olavt
Re: {metadata} tag - formatting
It is only the default:RonnyK wrote: What did you put in the metadata under "Global Settings"?
Ronny
"
"
-
olavt
Re: {metadata} tag - formatting
Who knows. I have not done any formating of the data - which I thought should not be necessary when the text is entered into the "Metadata" field in the edit form. Do I have to format this manually? (I am not using the wysywyg editor, as it does not work in Opera.)Nullig wrote: Did you remember to end the tag properly - /> - like,
Nullig
-
alby
Re: {metadata} tag - formatting
For metadata content in Global setting you MUST know html sintax. See Nullig code or default data, example of metadata content:olavt wrote:Who knows. I have not done any formating of the data - which I thought should not be necessary when the text is entered into the "Metadata" field in the edit form. Do I have to format this manually? (I am not using the wysywyg editor, as it does not work in Opera.)Nullig wrote: Did you remember to end the tag properly - /> - like,
Nullig
Code: Select all
<meta name="Generator" content="CMS Made Simple - Copyright (C) 2004-6 Ted Kulp. All rights reserved." />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Beatles, The Beatles, music theory, musical analysis, musicological analysis, I Should Have Known Better, Alan W Pollack" />
<meta name="description" content=[color=red]'[/color]The last part,
"Beatles, The Beatles, music theory, musical analysis, musicological analysis, I Should Have Known Better, Alan W Pollack[color=red]'[/color]/>
Alby
-
olavt
Re: {metadata} tag - formatting
I know the HTML syntax. But the metadata is not global data. What I want to do is to write the content in the metadata and descrption field int the edit template without having to worry about formatting on each page, and have them formatted in the result. Someting like this:
-
alby
Re: {metadata} tag - formatting
Please but I have a language problem.olavt wrote: I know the HTML syntax. But the metadata is not global data. What I want to do is to write the content in the metadata and descrption field int the edit template without having to worry about formatting on each page, and have them formatted in the result. Someting like this:
I don't understand when you say "formatting on each page"
If you add {metadata} in your template (head part), smarty substitute {metadata} with metadata tags in Global setting plus metadata tags in Option of current page
Alby
Re: {metadata} tag - formatting
something like this requires a new field name "keywords" if the field is named "metadata" its pretty clear that the content is going to be ALL metadata you want to add (even <meta refresh if you want).olavt wrote:
I agree, this is not the best way to handle it, but thats how it is right now.
Quite clean way to change the behavior is to add second content block (name keyword
hope this helps...


