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

TOPIC:

"Save" and "Save & Close" button not working 09 Jun 2014 15:28 #12470

I am experiencing a strange and critical problem, I have tried this on an old component and a brand new component.
Basically the "Front-End" "Save", "Save & Close" and "Close" buttons on my forms are not working at all and are returning an error: "joomla is not defined"

However when I test my components on the j-cook sandbox everything is working as it should with out issue, its only after I have downloaded my components that the error occurs, I have tried installing to a local server (WAMPP) and a live production server but the error is happening on both.

The projects I have tried so far are: com_surveyit (OLD project I have been working on for a while) and com_test (NEW brand new component created to test issue with one table and one field)

Also I have tried on different versions of joomla e.g. 3.0 and 3.2 having rebuilt component in j-cook using relevant joomla version number

Recap: Save and Close buttons not working on the Front-End of downloaded components in multiple versions of joomla both locally and online

Any one else experiencing this at the moment?

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

"Save" and "Save & Close" button not working 16 Jun 2014 10:14 #12477

Could people confirm whether they are experiencing this issue as well please? admin can you check this out for me?
thanks cefnllys

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

Last edit: by cefnllys.

"Save" and "Save & Close" button not working 16 Jun 2014 14:57 #12480

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Ok, I saw.
This can happens...
I have upgraded JDom library on GitHub, and also in Cook, so you can try again.

The fix is the the toolbar need the default Joomla library.
add the following code in the headerDeclarations in the helper or as I did, in JDom toolbar class.
JHtml::_('behavior.framework');

Reminder:
JDom on gitHub: github.com/Cook-Self-Service/JDom
Coding is now a piece of cake
The following user(s) said Thank You: patrick.savioz

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

"Save" and "Save & Close" button not working 17 Jun 2014 08:05 #12481

Cheers admin will try your suggestion. Thanks for getting back to me.

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

"Save" and "Save & Close" button not working 15 Feb 2015 23:57 #12839

I just ran into this problem when I moved from using the jdom in plugin mode to using jdom in integrated mode. So the inclusion of JHtml::_('behavior.framework'); in the toolbar construct is missing in the integrated version of toolbar.php. This is version 2.6.3 of jdom. So if you can put it in there that would avoid having to re-patch it upon a re-install. Thanks

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

  • Page:
  • 1
Time to create page: 0.063 seconds
In the begining i would like to say that j-cook is absolutly fantastic tool! And the person who created it is a genius.
Czyżak (Forum)  

Get Started