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

TOPIC:

[SOLVED] Preferences in backend do not open in modal window 24 May 2013 19:03 #7227

When I click the "Options" toolbar button for my component in the, the main window navigates to the options page instead of opening in a modal dialog.

The native components all work as expected, it is just my j-cook component that exerts this behavior.

Any solutions? I didn't come across any when searching the forum.

Thank you in advance for the help.

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

Re: Preferences in backend do not open in modal window 26 May 2013 10:12 #7233

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
I presume that there must be some JS errors on the page.

Please check using Dev tools like firebug. It's most likely to be a namespace collision with another version of jQuery resulting in an error along the lines of 'jQuery is not defined' or 'xxxx is not a function'

Please let us know!

Best of luck!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The following user(s) said Thank You: jhallock

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

Re: Preferences in backend do not open in modal window 29 May 2013 18:37 #7259

Hi, You are correct.

I had commented out this line in my admin/helpers/helper.php file because it was conflicting with the jquery imported by my template on the front end.

$doc->addScript($componentUrlAdmin . '/js/jquery-1.8.2.min.js');

I wrapped that statement in a conditional block instead of commenting it out and it worked as expected.

if ($app->isAdmin()) {
$doc->addScript($componentUrlAdmin . '/js/jquery-1.8.2.min.js');
}

Thanks for the help.

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

Last edit: by jhallock.
  • Page:
  • 1
Time to create page: 0.078 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started