Problem Understanding header_required
Permalink
Hi!
I've made a patch for the latest header_required.
It was missing a lot of meta data I wanted to have by default + it loads unneccessary headers even when you're logged off.
So I will tell you some basic problems I have:
How do I use jQuery1.4.2 without breaking everything in the backend?
This is not possible atm, without having two headers one for the logged-in state and one for the logged-out state afaik.
Loading two jquery libs breaks the site in the long term (I know noconflictmode..).
I've modified the headers_required file (overwriting the functionality only, not replacing the file) so that I have a meta_required + header_required where header_required is only needed for concrete5 and is not loaded when I'm logged out.
The problem is addons, they use addHeaderItem() to add items to the header. I need to use put a print OutputHeaderItems afaik into the headers_required below after if(User::isLoggedIn){} but that's the part where I am confused.. help appreciated.
I've made a patch for the latest header_required.
It was missing a lot of meta data I wanted to have by default + it loads unneccessary headers even when you're logged off.
So I will tell you some basic problems I have:
How do I use jQuery1.4.2 without breaking everything in the backend?
This is not possible atm, without having two headers one for the logged-in state and one for the logged-out state afaik.
Loading two jquery libs breaks the site in the long term (I know noconflictmode..).
I've modified the headers_required file (overwriting the functionality only, not replacing the file) so that I have a meta_required + header_required where header_required is only needed for concrete5 and is not loaded when I'm logged out.
The problem is addons, they use addHeaderItem() to add items to the header. I need to use put a print OutputHeaderItems afaik into the headers_required below after if(User::isLoggedIn){} but that's the part where I am confused.. help appreciated.