This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

daslicht
daslicht

Hi, what is the suggested way to include JavaScript files (my own, or 3rd party jQueryPlugins) into a Component/Plugin ?

~ Marc

axomat
axomat

Use

$this->addJs('/plugins/acme/blog/assets/javascript/blog-controls.js');

see the docs

daslicht
daslicht

Thank you very much, that a bit embarrassing that I have overlook that, I apologize. Looks like I was to excited by October that i overlooked it ! :D

THANK YOU!

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.