[Zope] Skins - a few questions (LONG)

Webteam der Uni Bielefeld webteam@uni-bielefeld.de
Wed, 22 Dec 1999 12:18:18 +0100


Hi!

maxm wrote:
> 
> Hi

--- snip ---

> 
> Well my real question comes here:
> 
> --------------------------------
> 1)
> 
> To get started I have made a dtml method called "box" in the root of my zope
> site that looks like this:
> 
> <table spacing=3 border=0 padding=0 width=100%>
>    <tr bgcolor=green>
>       <td><font size=+1 color=white><b><!--dtml-var
> theTitle--></b></font></td>
>    <tr>
>    </tr>
>       <td><!--dtml-var theContent--></td>
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
>    </tr>
> </table>
> 
> How do I call it from a dtml document?
> 
> I have tried different things and I cannot seem to succed.
> 
---snip---
You should try either <dtml-var theContent> or <!--#var theContent-->

> 3)
> Is there anybody who can see an obwious way to turn this functionality into
> a product and perhaps give me a few hints or an outline. Any ideas are
> welcome as I havn't yet grokked the zen of Zope.

Have a look at http://www.zope.org/Members/hellmann/Chameleon

Chris

-- 
Webteam der Universität Bielefeld
mailto:webteam@uni-bielefeld.de
Tel. 0521 / 106-3651