parameters for fields

Comments on existing version & Suggestions for future versions. If you want a new feature suggest it here. Discussions about beta versions also come in this section.
Post Reply
.rm
Posts: 4
Joined: 2005-08-14 14:30:19

parameters for fields

Post 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
antp
Site Admin
Posts: 9675
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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.
.rm
Posts: 4
Joined: 2005-08-14 14:30:19

Post 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.
antp
Site Admin
Posts: 9675
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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.
Post Reply