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

TOPIC:

Edit generates an empty record 30 Mar 2017 17:19 #15072

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
And have right now an SQL error when saving a new Item (3.1.4)
Works fine with 3.0.10

An error has occurred.
0 Unknown column '_conference_id_.published' in 'field list' SQL=SELECT a.id,a.*,_conference_id_.published AS `_conference_id_published`,_intervenant_id_.published AS `_intervenant_id_published` FROM #__demo13672_sessions AS a WHERE `conference_id` = 29 AND `intervenant_id` NOT IN (16) ORDER BY a.conference_id ASC

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

Edit generates an empty record 31 Mar 2017 12:00 #15074

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.
This was because the session table has no layout. But it was my fault because it should be permitted of course.
The builder was missing the FK declaration in the constructor.

For you the only change is in the constructor of the 'sessions' model
models/sessions.php (front / back)
Coding is now a piece of cake

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

Edit generates an empty record 31 Mar 2017 12:32 #15075

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
Right OK,
this point is clear for me.

thkx

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

  • Page:
  • 1
Time to create page: 0.076 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