Loading...
 
Features / Usability

Features / Usability


Re: JavaScript within Custom Modules

posts: 2428 Czech Republic

If you use any JS with curly brackets in custom module you need to wrap it in {literal}...{/literal} Smarty block as modules get parsed as Smarty syntax by default (and then the parser thinks it is some Smarty block or function), not as the wiki syntax... You can also use instead of

Copy to clipboard
{JQ()}...{JQ}
the Smarty block:
Copy to clipboard
{jq}...{/jq}

or simply the plain old HTML script tags.

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting