Hi,
Can you provide a tw, that we can have a view, what you did allready?
The plugin mechanism in TW is a bit different to the ketchup
discription.
I'll try. 3 steps
1)
go and get inline script plugin from tiddlytools [1]
2)
copy the content of the jquery.ketchup.js file into a tiddler named:
KetchupMainPlugin
copy the content of jquery.ketchup.messages.js into a tiddler named:
KetchupMessagesPlugin
copy the content of jquery.ketchup.validations.basic.js into a tiddler
named: KetchupValidationBasicPlugin
!!!!
Then tag all of them systemConfig save and reload the tw.
If you use the names I suggested the initialization sequence will be
like in the original described example, because TW initializes plugins
sorted by name. Or use a K instead of Ketchup it will be shorter.
3)
copy the form into a tiddler eg: TestKetchup. Be aware of <html></
html> and <script></script>
<html>
<form action="index.html" id="example1">
.. a lot of stuff ..
</form>
</html>
<script>
jQuery('#example1').ketchup();
</script>
=============
I didn't test it, but this would be the way I'd try.
I am not sure about the "index.html" parameter. May be it causes some
trouble.
have fun!
Mario
[1] http://www.tiddlytools.com/#InlineJavascriptPlugin
On Mar 21, 11:40 am, adancer <[email protected]> wrote:
> Hi,
>
> I'm trying to implement this jQuery plugin that seems excelent to use
> in our TiddlyWiki forms -http://demos.usejquery.com/ketchup-plugin/
>
> But my skills are still poor so can't get the plugin to work.
> Tiddlywiki always says theres a syntax error...
>
> This plugin in combination with FormTiddlerPlugin from Udo Borkowski
> and some adaptions will let make advanced user interface of all kind.
>
> Some clue how to proceed?
>
> Thanks!
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywikidev?hl=en.