Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

asset fixes #27

Closed
craigh opened this issue Apr 4, 2016 · 1 comment
Closed

asset fixes #27

craigh opened this issue Apr 4, 2016 · 1 comment
Milestone

Comments

@craigh
Copy link
Member

craigh commented Apr 4, 2016

replace anything starting with web/ e.g.

{{ pageAddAsset('stylesheet', 'web/bootstrap/css/bootstrap.min.css') }}

with

{{ pageAddAsset('stylesheet', asset('bootstrap/css/bootstrap.min.css')) }}

replace

{{ pageAddAsset('javascript', 'jquery') }}

with

null - jQuery is added always

This doesn't work, I think.

{{ pageAddAsset('javascript', 'zikula') }}

the new system has no provision for 'aliases' like the old did.

at present I do not have a good solution.

I'm not sure JS get text ever worked properly anyway

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants