Page 1 of 1

Add css/js files to custom widget

Posted: Wed Aug 15, 2012 9:35 am
by Paul_Ramcharitar
Is there a way to include javascript/css files within a custom widget?

I created a custom widget using the base widget: "HTML container". Inside the html container there is html that requires some css and js files. I tried adding script tags with the path to the files, within the html container, but that didn't work.

Re: Add css/js files to custom widget

Posted: Mon Aug 20, 2012 2:24 pm
by Antonio
Hello Paul,

If you place your files in this directory

/www/profoundui/htdocs/profoundui/userdata/custom

that should be all you need to do to include your files. More information can be found here:

http://www.profoundlogic.com/docs/displ ... 8global%29

Thanks!