Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] "Save" and "Save & Close" button not working

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

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
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?
The administrator has disabled public write access.

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

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
Could people confirm whether they are experiencing this issue as well please? admin can you check this out for me?
thanks cefnllys
Last Edit: 16 Jun 2014 13:30 by cefnllys.
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
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 administrator has disabled public write access.
The following user(s) said Thank You: patrick.savioz

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

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
Cheers admin will try your suggestion. Thanks for getting back to me.
The administrator has disabled public write access.

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

  • rnevins
  • rnevins's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Thank you received: 6
  • Karma: 1
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
The administrator has disabled public write access.
Time to create page: 0.095 seconds

Get Started