Geeklog-Core / geeklog

Geeklog - The Secure CMS.
https://www.geeklog.net
24 stars 19 forks source link

Add easy way to add uikit Components to Scripts Class #699

Closed eSilverStrike closed 6 years ago

eSilverStrike commented 7 years ago

I added the uikit lightbox to one of my sites and I had to link directly to the javascript for it

Maybe the Scripts class should offer an easier way to add uikit components like the light box and slider.

Maybe based in part on how the denim theme does it now (see it's funcitons.php file)?

mystralkk commented 6 years ago

Implemented with change set fe13211. $_SCRIPTS->setJavaScriptLibrary() method now accepts $name parameter such as 'uikit.accordinon' or 'uikit.slideshow'.