Categories > TinyButStrong general >

getpart with subtlp

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Handoko Koko
Date: 2016-07-03
Time: 17:13

getpart with subtlp

Hi Skrol,

Please give an example of using getpart with subtpl. I mean in order to carry style and script and link from subtemplate into head tag of main template.
To comply with wc3 rule.

thanks
By: Handoko Koko
Date: 2016-07-08
Time: 05:38

Re: getpart with subtlp

Hi Handoko,

this is the example of what you are looking for
[onload;script=[var.module];subtpl;getpart=body;store=(link)+(script)+(style)]

and put this code on head html tag
[onshow..store.default]

thanks
By: Skrol29
Date: 2016-07-10
Time: 19:57

Re: getpart with subtlp

Thanks !