[Zope] tree alignment (fwd)
Adonis El Fakih
adonis@egsx.com
Fri, 12 Nov 1999 04:45:02 -0500 (EST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--1120801521-1050905982-942398188=:27742
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.3.96.991112044437.27742Q@egsx.com>
---------- Forwarded message ----------
Date: Fri, 12 Nov 1999 04:16:28 -0500 (EST)
From: Adonis El Fakih <adonis@egsx.com>
To: zope-dev@zope.org
Subject: Re: [Zope] tree alignment
Hi,
I made some modifications to the TreeTag.py module to allow the user
control over the alignment of the cells created by the moodule. Since this
is my first time using python ( my background is Perl and PHP) I made it
very simple. If you set a flag align=1 in the dtml-tree tag it will use
the ALIGN="LEFT" used in Zope 2.0.1, otherwise it will not insert an
ALIGN tag in the <TD> tag.
The solution is good enough for us, and I would like to pass this by you
for comments, also I would like to ask for this change to be inserted in
the Zope distribution. This will us one step closer to being
internationalization friendly.
Best regards,
Adonis
On Fri, 12 Nov 1999, Adonis El Fakih wrote:
> Date: Fri, 12 Nov 1999 03:19:58 -0500 (EST)
> From: Adonis El Fakih <adonis@egsx.com>
> To: zope@zope.org
> Subject: [Zope] tree alignment
>
> Hi,
>
> I am facing an interesting challenge.
>
> I want to use the dtml-tree tag in document that uses right to left
> alignment (Arabic). In HTML we can define the DIR=RTL tag in the
> <HTML> tag and all tables within a document will be flipped as to
> accomodate for the RTL behaviour. Unfortunalty the dtml-tree explicitly
> sets the alignment of the id/titles to the left, making the dtml-tree
> useless for these pages. Is there a way to tell the object the alignment
> required? Or do I have to dig into zope's code to see how to change
> this?
>
> Thanks in advance.
>
> Adonis
>
> --
> Adonis El Fakih - President, CEO
> Engineering Graphical Solutions, Inc. (EGS)
> 70 Boston Road, Suite A301, Chelmsford MA 01824 USA
> Fax (978) 244-0544 - adonis@egsx.com
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> No cross posts or HTML encoding!
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
--
Adonis El Fakih - President, CEO
Engineering Graphical Solutions, Inc. (EGS)
70 Boston Road, Suite A301, Chelmsford MA 01824 USA
Fax (978) 244-0544 - adonis@egsx.com
--1120801521-1050905982-942398188=:27742
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="tree.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.991112041628.27742I@egsx.com>
Content-Description:
MTE0YTExNQ0KPiAJCQkgIGFsaWduPTEsDQo0MDFhNDAzLDQxMA0KPiAgICAg
ICAgICMgZGVmaW5lIHRoZSBhbGlnbm1lbnQNCj4gCWlmICAgYXJncy5oYXNf
a2V5KCdhbGlnbicpIGFuZCBhcmdzWydhbGlnbiddOg0KPiAJCXRhYmxlQWxp
Z249J0FMSUdOPSJMRUZUIicNCj4gCWVsc2UgOiANCj4gCQl0YWJsZUFsaWdu
PScgJw0KPiANCj4gDQo+IA0KNDA0YzQxMw0KPCAgICAgICAgIG91dHB1dCgn
PFREJXMlcyBWQUxJR049IlRPUCIgQUxJR049IkxFRlQiPicgJQ0KLS0tDQo+
ICAgICAgICAgb3V0cHV0KCc8VEQlcyVzIFZBTElHTj0iVE9QIiAlcz4nICUN
CjQwNmM0MTUsNDE2DQo8ICAgICAgICAgICAgICAgIChoYXZlX2FyZygnbm93
cmFwJykgYW5kIGFyZ3NbJ25vd3JhcCddIGFuZCAnIE5PV1JBUCcgb3IgJycp
KQ0KLS0tDQo+ICAgICAgICAgICAgICAgIChoYXZlX2FyZygnbm93cmFwJykg
YW5kIGFyZ3NbJ25vd3JhcCddIGFuZCAnIE5PV1JBUCcgb3IgJycpLA0KPiAg
ICAgICAgICAgICAgICB0YWJsZUFsaWduKQ0K
--1120801521-1050905982-942398188=:27742--