CMS MLE header DTD [[solved]

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
manurevah
Forum Members
Forum Members
Posts: 37
Joined: Fri Aug 03, 2007 2:24 pm

CMS MLE header DTD [[solved]

Post by manurevah »

this one might be of interest to Alby,

i just realised that i can't use two different templates for the same page/different language; hence they have the same

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
so i'm trying to think out a simple way to have a EN and FR version, depending on the languague of the page. ..  has anyone ran into this problem ?
Last edited by manurevah on Sat Oct 27, 2007 2:38 pm, edited 1 time in total.
alby

Re: CMS MLE header DTD

Post by alby »

manurevah wrote: this one might be of interest to Alby,
::)


Have you read MLE tips (link in my signature)?

Alby
manurevah
Forum Members
Forum Members
Posts: 37
Joined: Fri Aug 03, 2007 2:24 pm

Re: CMS MLE header DTD [solved]

Post by manurevah »

AHA! thank you Alby.

i should "bookmark" your signature somewhere. .  : ]
i am bad because i actually was posting/following the post that contained the answer to my question.  i will just complete with:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//{$currlang}" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$currlang}" lang="{$currlang}">
this makes a complete nice header.
alby

Re: CMS MLE header DTD [solved]

Post by alby »

manurevah wrote: AHA! thank you Alby.

i should "bookmark" your signature somewhere. .  : ]
i am bad because i actually was posting/following the post that contained the answer to my question.  i will just complete with:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//{$currlang}" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$currlang}" lang="{$currlang}">
this makes a complete nice header.
Check this because I think that DOCTYPE is EN only (from W3C):

if not this is better:

Please report this if this is wrong

Alby
manurevah
Forum Members
Forum Members
Posts: 37
Joined: Fri Aug 03, 2007 2:24 pm

Re: CMS MLE header DTD [[solved]

Post by manurevah »

seems you are right (believe it or not, i am new to the making of web pages)

so

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$currlang}" lang="{$currlang}">
and thanks for the "|upper" tip, i was wondering about that.
Locked

Return to “[locked] CMSMS MLE fork”