jQuery in Joomla! Admin Template?

37 views
Skip to first unread message

Jason

unread,
Nov 14, 2009, 8:57:04 AM11/14/09
to Joomla! General Development
Hey everyone,

I'm fairly new to developing anything in Joomla!, but I'm looking to
develop a super simple admin template for Joomla 1.6. I know the
default is fairly simple, but I want to make something so ridiculously
easy, I will be able to hand it off to a non-Tech person with no
questions asked.

I will probably add a small module or something to switch between
this simple interface and the more complex one from any page, I'm
thinking it will just be like and "advanced view" or "simple view"
toggle button.

Anyways, can I use jQuery? I tried reading through all of those
discussions, but I'm still not sure how any of it applies.

It feels like MooTools takes twice as long for me to do anything with,
and really there is nothing I can't do faster with jQuery. In fact, I
have never come across anything that I have had to code yet by myself,
as most of my needs have been addressed and built into a simple plugin
by other developers.

Thanks,
Jason


Of topic: can someone tell me what can't be done with JQuery? As of
yet I haven't seen any examples, just theories.

Amy Stephen

unread,
Nov 14, 2009, 11:22:48 AM11/14/09
to joomla-de...@googlegroups.com
Jason -

Are you hoping to completely replace the entire template? (In other words, getting into the PHP and redo the layouts?) If so, you can wire in a different JS Framework and turn off Mootools (but it will be significant work redoing the layouts.)

Or, are you simply hoping to change the look? Adjust the CSS a bit? A plugin like jQuery Includer can be helpful in loading both frameworks, but it's not easy. You have to follow the instructions for how to load jQuery with Mootools -- and that means preparing your jQuery statements.

Skinning the Administrator is not as straight forward as working with the Frontend. You might want to take a look at AdminPraise Lite by JoomlaPraise. And, of course, just look at the Core Template.

It's probably easier to start with adjusting the CSS and get used to how the Administrator is constructed, rather than messing with the JS. That, alone, is a bit to learn.

What you are hoping to do, an be done but it's not easy.

Gluck!
Amy :)
Message has been deleted

Andrew Eddie

unread,
Nov 14, 2009, 6:55:45 PM11/14/09
to joomla-de...@googlegroups.com
Hi Jason.

The separation is to the extent that if you want to use jQuery in you
own component you can without conflict. Writing a jQuery based
Administrator though is a different animal. It's possible that it
could be done but you would have to rewrite every bit of JS code in
the backend, and you also lock people into only using jQuery friendly
extensions.

By all means go for it if you want to, there is absolutely nothing
stopping you, but the effort of doing it would be enormous.

Regards,
Andrew Eddie
http://www.theartofjoomla.com - the art of becoming a Joomla developer




2009/11/15 Jason <jason...@googlemail.com>:
>
> Thank you for your reply Amy.
>
> I don't really want to replace the entire template, but I would like
> to make it a little more friendly for people who have never used web-
> based applications. I'm thinking more animation, fading out and in
> ajax loads, and anything I can do to make my choir teacher less antsy
> when updating simple things. :)
>
> I read through the posts on the Joomla 1.6 dev group, but I'm not sure
> where it stands now; it seems like the idea of separating MooTools
> from the core was dropped off. Is this still something that is being
> worked on? Is there any way I can be of help in that area? My PHP is
> terrible, but I'd like to get involved somehow in the future.
>
> Thank you,
> Jason
>
> PS: hahaha... although I understand gluck, English is my preferred
> language- I'm actually an American high-school student on a foreign
> exchange in Germany. Odd I know. hahaha
>
>
> On Nov 14, 5:22 pm, Amy Stephen <amystep...@gmail.com> wrote:
>> Jason -
>>
>> Are you hoping to completely replace the entire template? (In other words,
>> getting into the PHP and redo the layouts?) If so, you can wire in a
>> different JS Framework and turn off Mootools (but it will be significant
>> work redoing the layouts.)
>>
>> Or, are you simply hoping to change the look? Adjust the CSS a bit? A plugin
>> like jQuery Includer<http://extensions.joomla.org/extensions/core-enhancements/scripts/10236>can
>> be helpful in loading both frameworks, but it's not easy. You have to
>> follow the instructions for how to load jQuery with Mootools -- and that
>> means preparing your jQuery statements.
>>
>> Skinning the Administrator is not as straight forward as working with the
>> Frontend. You might want to take a look at AdminPraise Lite by
>> JoomlaPraise<http://extensions.joomla.org/extensions/administration/admin-interfac...>.
>> And, of course, just look at the Core Template.
>>
>> It's probably easier to start with adjusting the CSS and get used to how the
>> Administrator is constructed, rather than messing with the JS. That, alone,
>> is a bit to learn.
>>
>> What you are hoping to do, an be done but it's not easy.
>>
>> Gluck!
>> Amy :)
>>
Reply all
Reply to author
Forward
Message has been deleted
0 new messages