Assets library & path handler |
10-22-2015, 08:26 PM
(This post was last modified: 10-22-2015, 08:27 PM by PaulD. Edit Reason: Just a type or two )
Perhaps I am just working on much smaller projects and it is not an issue. I usually tackle assets by putting the following in the common footer views for my files (and a similar thing in the header for CSS files):
Code: <?php Then when I need to add additional scripts, I add it to an array for the view, something like this: Code: $footer_data['extra_scripts'] = array('summernote/dist/summernote.min.js', 'quickdraw/dist/quickdraw.min.js'); Perhaps I just do not understand the need the need for the JSON encoding and remapping etc. I will definitely have a read of your documentation though when it is availabe and perhaps I will see the light. Looks very clever though, so thanks for sharing it. Best wishes, Paul. |
Messages In This Thread |
Assets library & path handler - by Martin7483 - 10-22-2015, 03:36 PM
RE: Assets library & path handler - by PaulD - 10-22-2015, 08:26 PM
RE: Assets library & path handler - by Martin7483 - 10-23-2015, 12:36 AM
RE: Assets library & path handler - by PaulD - 10-23-2015, 06:28 AM
RE: Assets library & path handler - by Martin7483 - 10-23-2015, 07:14 AM
RE: Assets library & path handler - by Martin7483 - 10-23-2015, 08:19 AM
RE: Assets library & path handler - by PaulD - 10-23-2015, 10:51 AM
RE: Assets library & path handler - by Martin7483 - 10-24-2015, 10:09 AM
|