Pier Environment Changes

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

Pier Environment Changes

Christoph Wysseier
Hi Lukas

I tried to change as a first step the environment (adding my own layers
and removing the ugly tables) using the following statement:
<div id="divHeader"><div id="divCommands">+commands+</div></div><div
id="divLeft"><div class="boxes">+tree+</div></div><div
id="divContents">+contents+</div>

But it seems, that this code gets escaped. Inspecting the kernel and its
root structure I see my HTML code as part of a paragraph which seems to
escape all the HTML characters...

Help is welcome! ;-)

Cheers, Chris

--
--------------------------------
Christoph Wysseier
Länggassstr. 74
3012 Bern

T +41 31 972 92 08
M +41 78 616 35 35
[hidden email]
--------------------------------



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

_______________________________________________
Smallwiki mailing list
[hidden email]
http://impara.de/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

RE: Pier Environment Changes

Ramon Leon
>
> I tried to change as a first step the environment (adding my
> own layers and removing the ugly tables) using the following
> statement:
> <div id="divHeader"><div id="divCommands">+commands+</div></div><div
> id="divLeft"><div class="boxes">+tree+</div></div><div
> id="divContents">+contents+</div>
>
> But it seems, that this code gets escaped. Inspecting the
> kernel and its root structure I see my HTML code as part of a
> paragraph which seems to escape all the HTML characters...
>
> Help is welcome! ;-)
>
> Cheers, Chris

Are you sure that is one single string with no carrige returns anywhere?


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________
Smallwiki mailing list
[hidden email]
http://impara.de/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier Environment Changes

Lukas Renggli-2
>> I tried to change as a first step the environment (adding my
>> own layers and removing the ugly tables) using the following
>> statement:
>> <div id="divHeader"><div id="divCommands">+commands+</div></div><div
>> id="divLeft"><div class="boxes">+tree+</div></div><div
>> id="divContents">+contents+</div>
>>
>> But it seems, that this code gets escaped. Inspecting the
>> kernel and its root structure I see my HTML code as part of a
>> paragraph which seems to escape all the HTML characters...
>>
>> Help is welcome! ;-)
>>
>> Cheers, Chris
>
> Are you sure that is one single string with no carrige returns  
> anywhere?

And that you have a current version of Pier, older versions put <p>  
around paragraphs and sort of turned the resulting html invalid (<p>  
and <div> are not allowed to nest into other <p>). This is fixed in  
later versions by using <div class="paragraph"> for paragraphs.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________
Smallwiki mailing list
[hidden email]
http://impara.de/mailman/listinfo/smallwiki