RE: [Zope] Links inside of StructuredText
Your structured text is fine. It's the dtml-var statement that's tripping you up. Try <dtml-var stxtest fmt=structured-text> -or- <dtml-var stxtest fmt="structured-text"> Most of the documentation for structured text is either in the How-To (http://www.zope.org/Members/millejoh/structuredText) or in StructuredText.py (which is how I found out about the fmt=structured-text bit). HTH and good luck! John
-----Original Message----- From: Stephen Pitts [SMTP:smpitts@midsouth.rr.com] Sent: Tuesday, December 21, 1999 4:12 PM To: zope@zope.org Subject: [Zope] Links inside of StructuredText
I'm having trouble getting Links in StructuredText to work. All of the regressions generate <A HREF=*> tags fine, but I can't get them to work in my own site:
DTML Method stxtester: <dtml-var stxtest fmt="structuredtext">
DTML Method stxtest: Hi, I really love "Zope":http://www.zope.org. It is the coolest thing to hit the market.
When I access stxtest from the web: Error Type: TypeError Error Value: not all arguments converted
Traceback: Traceback (innermost last): Traceback (innermost last): File /home/smpitts/Zope-2.1.1-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /home/smpitts/Zope-2.1.1-src/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/smpitts/Zope-2.1.1-src/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/smpitts/Zope-2.1.1-src/lib/python/ZPublisher/Publish.py, line 165, in publish File /home/smpitts/Zope-2.1.1-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: stxtester) File /home/smpitts/Zope-2.1.1-src/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: stxtester) File /home/smpitts/Zope-2.1.1-src/lib/python/OFS/DTMLMethod.py, line 145, in __call__ (Object: stxtester) File /home/smpitts/Zope-2.1.1-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: stxtester) File /home/smpitts/Zope-2.1.1-src/lib/python/DocumentTemplate/DT_Var.py, line 313, in render (Object: stxtest) (Info: ('stxtest', 'Hi, I really love "Zope":http://www.zope.org. It is the coolest thing to hit the market.\012\012_Regular_ -- "http://www.zope.org/":http://www.zope.org\012', {'fmt': 'structuredtext', '': 'stxtest'})) TypeError: (see above)
Anyone have any ideas? I'm running Zope 2.1.1. -- Stephen Pitts smpitts@midsouth.rr.com webmaster - http://www.mschess.org
_______________________________________________ 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 )
participants (1)
-
Miller, John M.