Hello, I have the following problem: The web pages of our institute has a menu frame (please don't throw anything at me about the frames - I do not like it but now I have to cope with it) with links. Those links have the following structure: <a href="URL1"> target="target-frame1">text1</a><p> <a href="URL2"> target="target-frame2">text2</a><p> <a href="URL3"> target="target-frame3">text3</a><p> ... Because there are many different web editors they sometimes use <br> instead of <p> or do some other nasty formating. This is all done in plain HTML and I slowly want to move the stuff to Zope. I'd like like to provide a general dtml document which no editor has to care about. I'm now searching for a method where the different editors of those menu links just have to care for the content like editing a simple table: "URL1" "target-frame1" "test1" "URL2" "target-frame2" "test2" "URL3" "target-frame3" "test3" This table should be read into the dtml document and should be displayed there in a loop) to get equal layout. In the end of the mail I append my first approach to it but I feel that this is really not the best way to go. I'm looking for a more clever solution than I could imagine (as a quite beginner in Zope). Kind regards Andreas. My own not so clever solution: <dtml-comment>*** please use the following scheme for your links ('URL', 'target-frame', 'text'), *** Do not change any other things inside this document ***</dtml-comment> <dtml-let links="(('http://www.zope.org', '_top', 'Zope'), ('http://somewhere.else', '_bottom', 'Other Link'), ... ('index.html', '_parent', 'Home'))"> <dtml-comment>****** Do not change anything below this line *****</dtml-comment> <dtml-in links> <dtml-comment> <dtml-var "_['sequence-item'][0]"> </dtml-comment> <p><a id="mainlink" href="<dtml-var "_['sequence-item'][0]">" target="<dtml-var "_['sequence-item'][1]">"><dtml-var "_['sequence-item'][2]"></a></p> </dtml-in> </dtml-let>
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tille, Andreas Sent: Tuesday, January 22, 2002 5:09 AM To: Zope user list Subject: [Zope] Clever solution wanted
Hello,
I have the following problem: The web pages of our institute has a menu frame (please don't throw anything at me about the frames - I do not like it but now I have to cope with it) with links. Those links have the following structure:
<a href="URL1"> target="target-frame1">text1</a><p> <a href="URL2"> target="target-frame2">text2</a><p> <a href="URL3"> target="target-frame3">text3</a><p> ...
Because there are many different web editors they sometimes use <br> instead of <p> or do some other nasty formating. This is all done in plain HTML and I slowly want to move the stuff to Zope.
I don't mean to begin a jihad, and this speaks nothing to your question but by the looks of your markup <br /> is what _should_ be used. Regardless of what web editors do, well formed markup is the writers responsibility. As markup moves more and more towards XML the rules become even more stringent. <p> is a container, it should "contain" the text you want to affect. If it is HTML the ending </p> is optional, with XHTML it is required. If you simply require a line break to clear the line a <br /> should be used. If I am telling you something you already know or if I am taking your markup snippet out of context, I am sorry. -- Jeffrey D. Peterson Webmaster & Resident Standards Warrior "This too, shall pass."
Tille, Andreas writes:
... I'd like like to provide a general dtml document which no editor has to care about. I'm now searching for a method where the different editors of those menu links just have to care for the content like editing a simple table:
"URL1" "target-frame1" "test1" "URL2" "target-frame2" "test2" "URL3" "target-frame3" "test3" I did not yet work (seriously) with it, but the product "TinyTable[Plus]" may be what you look for.
Dieter
On Tue, 22 Jan 2002, Dieter Maurer wrote:
I did not yet work (seriously) with it, but the product "TinyTable[Plus]" may be what you look for. I found TineTable at http://www.zope.org/Members/tsarna/TinyTable which seems to be the easiest solution for me (not only because it is just packaged for Debian). But what means the additional "[Plus]"? TinyTable seems in fact a little bit old and never became "stable" regarding to the page above. Is there another source for this?
Kind regards Andreas.
Tille, Andreas writes:
On Tue, 22 Jan 2002, Dieter Maurer wrote:
I did not yet work (seriously) with it, but the product "TinyTable[Plus]" may be what you look for. I found TineTable at http://www.zope.org/Members/tsarna/TinyTable which seems to be the easiest solution for me (not only because it is just packaged for Debian). But what means the additional "[Plus]"? TinyTable seems in fact a little bit old and never became "stable" regarding to the page above. Is there another source for this? You do not seriously expect me to searchthe mailing list archives and Zope.org for you, do you?
Dieter
On Fri, 25 Jan 2002, Dieter Maurer wrote:
Tille, Andreas writes:
On Tue, 22 Jan 2002, Dieter Maurer wrote:
I did not yet work (seriously) with it, but the product "TinyTable[Plus]" may be what you look for. I found TineTable at http://www.zope.org/Members/tsarna/TinyTable which seems to be the easiest solution for me (not only because it is just packaged for Debian). But what means the additional "[Plus]"? TinyTable seems in fact a little bit old and never became "stable" regarding to the page above. Is there another source for this? You do not seriously expect me to searchthe mailing list archives and Zope.org for you, do you? Sorry, surely not. I just was looking for a clarification what would be the "suggested" TinyTable for a production environment:
http://www.zope.org/Members/tsarna/TinyTable : Release Version Date Size TinyTable Beta 2 (Development) 1999/09/20 11376 bytes http://www.zope.org/Members/hathawsh/TinyTablePlus : Release Version Date Size TinyTablePlus-0.9.tgz () 2000/04/13 14177 bytes There is no comment if TinyTablePlus is a suggested successor of TinyTable, no remark whether TinyTablePlus would for instance break something like SquishDot or something else. If for instance TinyTable would be depreciated I would just have to file a bug report to the Debian bug tracking system. While locking at the date and version number I also wonder if TinyTablePlus will be futher develiped. Kind regards Andreas.
Andreas chiseled:
If for instance TinyTable would be depreciated I would just have to file a bug report to the Debian bug tracking system.
While locking at the date and version number I also wonder if TinyTablePlus will be futher develiped.
TinyTable is less featureful than TinyTablePlus. I can think of no place where you'd want to use TinyTable instead of the plus. Both are currently abandonware, AFAIK. ~mindlace
emf wrote:
TinyTable is less featureful than TinyTablePlus. I can think of no place where you'd want to use TinyTable instead of the plus. Both are currently abandonware, AFAIK.
Well, they both haven't needed to be modified for literally years, so I'd call them 'stable' ware rather than abandonware ;-) cheers, Chris
On Tue, 29 Jan 2002, Chris Withers wrote:
TinyTable is less featureful than TinyTablePlus. I can think of no place where you'd want to use TinyTable instead of the plus. Both are currently abandonware, AFAIK.
Well, they both haven't needed to be modified for literally years, so I'd call them 'stable' ware rather than abandonware ;-) I have no problems with software running stable unchanged over years. But in this case TinyTable has a bug: The documentation says:
Version: Beta 2 (Development) This is a clear documentation bug which should be fixed. ;-) Kind regards Andreas.
participants (5)
-
Chris Withers -
Dieter Maurer -
emf -
Jeff Peterson -
Tille, Andreas