Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Skylark functions/links
Skylark functions/links [message #42922] |
Mon, 14 April 2014 17:46 |
mingodad
Messages: 53 Registered: February 2008 Location: Spain
|
Member |
|
|
Hello !
I need to have a way to url_encode some values in witz templates (not in c++), it seems that there is a way to define new functions to be available in witz templates but is not documented, I looked at the source code but could not see how to do it.
Someone can shed a light here ?
Also the way to make links is not too good, I needed to add bookmarks to the links but the actual link function do not seem to accept it and also return a quoted string what makes add things to it in witz impossible.
I replaced on souce all ("\"" + theLink + "\"") by just (theLink) and could achieve my needs.
Another topic related with witz is the actual way to add witz code prefixing with "#$" works fine for hand write code from programmers but it's not friendly to designers and wysiwyg tools (need be aware of escaping "#$" and it can makes invalid html).
I propose to put then hidden inside tags:
<if()><else/></endif> <for()></endfor> ${variable}
It's a bit anoying for hand write but for wysiwyg editors it's fine.
Cheers !
|
|
|
Goto Forum:
Current Time: Mon May 13 08:53:50 CEST 2024
Total time taken to generate the page: 0.03061 seconds
|