Add css/js files to custom widget

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
Paul_Ramcharitar
Profound User
Posts: 91
Joined: Fri Aug 03, 2012 11:07 am
First Name: Paul
Last Name: Ramcharitar
Company Name: Banks DIH
City: Georgetown
Zip / Postal Code: 592
Country: Guyana
Contact:

Add css/js files to custom widget

Post 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.
Antonio
Profound User
Posts: 82
Joined: Fri Jun 29, 2012 2:33 pm
First Name: Antonio
Last Name: Ruballos
Company Name: Profound Logic
Contact:

Re: Add css/js files to custom widget

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest