2015-12-07, 02:29
(2015-12-05, 23:15)BobCratchett Wrote:(2015-12-04, 21:30)Mr. V Wrote: I had a similar issue when using static vs dynamic content way back with V2 of my widgets.
<snip />
Just so I fully understand, using $INCLUDE[IncludeName] as the widgetPath wasn't working for you for the script to insert the <include /> elements itself? If so - and I appreciate you've moved on from that method so at least the first may not be possible - but can you get me a debug log (wiki) and let me know which platform you're using as it should work, and I use it myself! Cheers
I have been looking further into this and no issues to report.
A lack of understanding on my part (still learning new stuff as I go along). I didn't think this would work as I had some issues way back with isengard static vs dynamic content and was looking over some old code;
So for static content I thought this was needed
Code:
<content>
<include>WeatherContent</include>
</content>
But this works fine
Code:
<content target=""><include>WeatherContent</include></content>
But it turns out I was wrong. As both examples do the same thing. I really cant say if it was an isengard issue or my lack of understanding at the time. But I have tested $INCLUDE and it is working fine and I have a shiny new weather widget working using static content