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.099 seconds

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started