I got compile time error with <meta http-equiv="content-type" content="text/html; charset=utf-8" tal:attributes="content string:text/html; charset=$encoding"> I think that space is used to identify a new attribute here, so zpt take charset as a new attribute. How can the space inserted? Rgs, Kent Sin __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1
kent sin wrote:
<meta http-equiv="content-type" content="text/html; charset=utf-8" tal:attributes="content string:text/html; charset=$encoding">
You're more likely to get a response to ZPT questions on the ZPT mailing list. tal:attributes can have multiple parts, separated by semi-colons. If, as in your example, you need a semi-colon *within* a single part, you must double it, like so: tal:attributes="content string:text/html;; charset=$encoding"
How can I fill multiple macros?
If I also want to change the top_bar (As in CMF zpt skin), where should I place it?
I don't understand what you are trying to do. Cheers, Evan @ Zope
participants (2)
-
Evan Simpson -
kent sin