can't render HTML5 page?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

can't render HTML5 page?

叶双明
Hi all:

How to render page with HTML5 dcotype like: <!DOCTYPE HTML>
Seem that it's hard code by now: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

--
叶双明
Reply | Threaded
Open this post in threaded view
|

Re: can't render HTML5 page?

Adrian Crum-3
What version of OFBiz are you using?

-Adrian

On 8/30/2013 5:35 AM, 叶双明 wrote:
> Hi all:
>
> How to render page with HTML5 dcotype like: <!DOCTYPE HTML>
> Seem that it's hard code by now: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
> 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>

Reply | Threaded
Open this post in threaded view
|

Re: can't render HTML5 page?

叶双明
12.04


2013/8/30 Adrian Crum <[hidden email]>

> What version of OFBiz are you using?
>
> -Adrian
>
>
> On 8/30/2013 5:35 AM, 叶双明 wrote:
>
>> Hi all:
>>
>> How to render page with HTML5 dcotype like: <!DOCTYPE HTML>
>> Seem that it's hard code by now: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
>> 1.0 Transitional//EN" "
>> http://www.w3.org/TR/xhtml1/**DTD/xhtml1-transitional.dtd<http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
>> ">
>>
>>
>


--
叶双明
Reply | Threaded
Open this post in threaded view
|

Re: can't render HTML5 page?

Adrian Crum-3
You need to change the FreeMarker template:

framework\widget\templates\htmlScreenMacroLibrary.ftl

Adrian Crum
Sandglass Software
http://www.sandglass-software.com

On 8/30/2013 8:49 AM, 叶双明 wrote:

> 12.04
>
>
> 2013/8/30 Adrian Crum <[hidden email]>
>
>> What version of OFBiz are you using?
>>
>> -Adrian
>>
>>
>> On 8/30/2013 5:35 AM, 叶双明 wrote:
>>
>>> Hi all:
>>>
>>> How to render page with HTML5 dcotype like: <!DOCTYPE HTML>
>>> Seem that it's hard code by now: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
>>> 1.0 Transitional//EN" "
>>> http://www.w3.org/TR/xhtml1/**DTD/xhtml1-transitional.dtd<http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
>>> ">
>>>
>>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: can't render HTML5 page?

叶双明
Thank you Adrian!

It works. but it affects all other themes and components.

I don't know whether it will create other problems?


2013/8/31 Adrian Crum <[hidden email]>

> You need to change the FreeMarker template:
>
> framework\widget\templates\**htmlScreenMacroLibrary.ftl
>
> Adrian Crum
> Sandglass Software
> http://www.sandglass-software.**com <http://www.sandglass-software.com>
>
>
> On 8/30/2013 8:49 AM, 叶双明 wrote:
>
>> 12.04
>>
>>
>> 2013/8/30 Adrian Crum <adrian.crum@sandglass-**software.com<[hidden email]>
>> >
>>
>>  What version of OFBiz are you using?
>>>
>>> -Adrian
>>>
>>>
>>> On 8/30/2013 5:35 AM, 叶双明 wrote:
>>>
>>>  Hi all:
>>>>
>>>> How to render page with HTML5 dcotype like: <!DOCTYPE HTML>
>>>> Seem that it's hard code by now: <!DOCTYPE html PUBLIC "-//W3C//DTD
>>>> XHTML
>>>> 1.0 Transitional//EN" "
>>>> http://www.w3.org/TR/xhtml1/****DTD/xhtml1-transitional.dtd<http://www.w3.org/TR/xhtml1/**DTD/xhtml1-transitional.dtd>
>>>> <ht**tp://www.w3.org/TR/xhtml1/DTD/**xhtml1-transitional.dtd<http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
>>>> >
>>>> ">
>>>>
>>>>
>>>>
>>>
>>
>>


--
叶双明