First, let me say that I am using DekiWiki VM and I just recently updated it to 1.8.3c. I use this at home for storing role playing game information and I find it to be one of the best wiki applications I have found. But on to my questions.
I want to use parameterized templates to have a standard way of displaying fields of information. One piece of information I want to display as part of this template is a thumbnail of an attached image. So first question is there a way, through Dekiscript or otherwise, that I can get the URI of an attached image without having to first insert it into the page? I was unable to find anything to do this so I then attempted to build the "src" attribute dynamically, but when I tried to use Dekiscript in the template, like this:
<img src="{{ args.image}}" />
it did not work. Nor did it work if I tried to build the "src" attribute dynamically through appended text nor did it work when I tried to build the entire img tag through appended text.
So I tried my hand at building an XML extension, thinking this might be the better way to go. So my first attempt was to follow the Dekiscript examples here on opengarden.org. I registered the service but received the following error "Argument cannot be null. Parameter name: doc" and the service is always disabled, no matter what I do to refresh or update it.
Anyway, sorry this was so long, but I hope there is enough information here for someone to help me out.
Thanks in advance for any assistance.
Kevin F.


Reply With Quote