Page 1 of 1

parameters for fields

Posted: 2005-08-14 14:34:04
by .rm
i would find it quite convenient if it was possible to have fields in the templates that would accept arguments.

example would be:

$$ITEM_DESCRIPTION(200)
[<a href="$$ITEM_FILEINDIV">more</a>]

to have the first 200 characters of an item's description only.

otherwise: simply a great and useful piece of software!

:)

.rm

Posted: 2005-08-14 14:45:34
by antp
I'll have to improve export, but I do not know yet how I'll do it.
Maybe I'll use scripts for that.

Posted: 2005-08-14 16:31:49
by .rm
hmm. now that i think about it - you already have the xml export. so why not do it with xslt? it is most powerful, and im quite sure a processore in [you programming language of choice] is available .... never used it before, though.

Posted: 2005-08-14 16:36:43
by antp
Some people made PHP scripts and XSL files that use the XML export. Most of them are in zipped files in the templates folder.