Re: change templateset
"adolfse" <[email protected]>
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Niels, Found the DTML methods and changed them to my needs. Thank you for pointing me in the right direction, Carel --- In [email protected], Niels Dettenbach <nd@...> wrote: > > 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 > --- >