ui jquery themeroller

Permalink
Here's the

http://ui.jquery.com/themeroller...

if you've not checked it out already.

A theme where you only have to overwrite the css-syles with your own created with the themeroller, is in progress.

synlag
 
ScottC replied on at Permalink Reply
ScottC
with this :).

-Scott
ijessup replied on at Permalink Reply
ijessup
that's pretty awesome. I've never heard of themeroller before.

I might use that for a personal site :D
synlag replied on at Permalink Reply
synlag
hm, i've some problems with this... ;)

With some personalized jquery ui javascript files the pages are editable in edit-mode when logged in, with some not.
This results from multiple including several library files and should be avoided in some way.

I think the best solution would be, if concrete offers the possiblity, which jquery ui javascript files are included by default.
frz replied on at Permalink Reply
frz
I'm not sure we're using a completely virgin copy of jquery.. i think some tweaks have been made here or there, or at least we're making some assumptions specific to the version being used.. i'd be concerned that if we make it super simple to swap out which jquery version concrete5 is using, we're opening ourselves up to even more weird behavior than what you describe.

I'll discuss with Andrew tho.
-frz
andrew replied on at Permalink Reply
andrew
The problem was this:

1. jQuery had a bug in their date picker that was fixed in a more recent version.

2. The more recent version required this theme roller stuff...

3. But the theme that I used with it didn't function the same as the old calendar! It hid certain things like the month selector, etc... It was kind of a pain in the ass.

So at this point concrete5 uses a weird combination of a jQuery UI from a certain version and the jQuery UI Datepicker from a different version. It's pretty rickety but it does work...

Just wanted to get that out there... We haven't hacked jQuery per se..but are system is pretty custom.
synlag replied on at Permalink Reply
synlag
Ok, thanks for your answer what leads me to my next question ;).

How to know which jquery stuff can be included, without getting trouble with the jquery files used in the core?

Using 'jQueury.noConflict()' doesn't work for several jquery versions.

With an adjusted personalized jquery ui javascript file without the widgets 'dialog' and 'datepicker' it seems to work.
Also themeswitching with the themeswitcher is useable and the datepicker works.

The only thing i get problems is when entering edit mode. Area's are not editable and the widgets do not work anymore.

Maybe a way to solve this might be to uncomment all other included jquery files in the theme specific header.
synlag replied on at Permalink Reply
synlag
A new Version of jQuery has been released.

Will you upgrade the core with this?
frz replied on at Permalink Reply
frz
eventually yes, but not tomorrow. There's a lot of possibilities for this going wrong.. last time we just dropped a new jquery in assuming all would be well every calendar had two november 7ths for some inexplicable reason.. wtf.
mikeb replied on at Permalink Reply
mikeb
Would it be possible to let C5 use it's jquery version, rename the new downloaded version and then do as per the following thread to avoid your jquery stuff being picked up by C5?

http://stackoverflow.com/questions/1401349/how-to-avoid-conflict-be...

if that makes sense??

cheers,

Wittner
synlag replied on at Permalink Reply
synlag