Re: Re: change templateset
Niels Dettenbach <[email protected]>
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Organization | Syndicat IT&Internet |
| Message-ID | <[email protected]> |
On Wednesday 06 January 2010 09:41:07 you wrote:
> Thank you for pointing me towards the web developpers plugin, this is
> really a helpfull tool. However I am guessing that I need to dig deeper
> into the way ZMS is formatting things.
The most things are (or should be) formatted by CSS (which should be found
under /common/css or in the "styleheet.css" in "Configuration" -> "Design")
> For example, the macronavigation
> topics are cut-off after a fixed number of characters, for example I have
> a topic "internal communication"
Formatting of values (i.e. numbers, dates and strings) are done by DTML
(Python).
i.e. does:
<dtml-var mystring size="15" etc="...">
cutting the string "mytext" after 15 chars and adds a "..." like
abracadabra bedra bedebra
into:
abracadabra bed...
"etc" is optional if you use "size".
which is a ZOPE function (not especially ZMS).
Most templatesets are having the Macronavigation in a DTML-Method like
"...Macronavigation...". Look into it and search for for the "size" argument.
> which is altered to "internal
> communica..."
But, if you extend the size make shure your style "allows" such long strings
without style problems.
hth,
cheers,
Niels.
--
---
Niels Dettenbach
---
Syndicat IT&Internet
http://www.syndicat.com
T.-Muentzer.-Str. 2, 37308 Heilbad Heiligenstadt - DE
---
Kryptoinfo:
PGP public key ID 651CA20D
Fingerprint: 55E0 4DCD B04C 4A49 1586 88AE 54DC 4465 651C A20D
https://syndicat.com/pub_key.asc
---
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/zms-developers/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/zms-developers/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/