Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

JDom and Joomla 3.0 Bootstrap... 06 Dec 2012 10:18 #5860

Hi All!

I'm having a bit of a nightmare getting the back end views to be compatible with the Joomla 3.0. My component works excellent now that I've followed the Joomla 2.5 to 3.0 resource (on the Joomla site - check out my last thread, I had to find/replace a lot of stuff and also move the JQuery script decleration to get my save/close buttons working!).

It seems I have now hit the stumbling point - JDom...

JDom works great and I appreciate the reason it is used ...but with the new Joomla 3.0 Isis back end template there are certain things that don't work quite like they did in the old Hathor template.

Boolean toggle buttons for the "publish" state are now set with <i class="icon-unpublish"></i> and <i class="icon-publish"></i> tags. Same goes for the "default" state (using <i class="icon-star"></i> etc...).

To be honest - I'd love to be able to ditch the JDom and just echo labels and inputs with JHTML but I don't know where to start with seperating the component from JDom. I also am aware that JDom sorts all the AJAX out for linked/chained select fields and I've heard that is a real pain to get working!

If anyone has any thoughts or advice on how to go on with this, please let me know. I could really do with the help!

All the best

Elliot B)

Please Log in or Create an account to join the conversation.

Re: JDom and Joomla 3.0 Bootstrap... 07 Dec 2012 19:18 #5906

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Thank you for this review.
I started to work on Joomla 3.0 compatibility. It is going well.
Will check it out during this month I guess.

About JDom, the HTML is wrote in the build() function of your JDom class.

Then you can try to fix it by yourself until I get there.
But don't forget to ask the Joomla version to switch the display.

I personnally do not like how JDom is loading the images. I prefer CSS and this 3.0 seems much better.

Stay in touch...
Coding is now a piece of cake
The following user(s) said Thank You: JoomGuy

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.099 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started