Welcome, Guest
Username: Password: Remember me

TOPIC: linking tables and create forms for editing

linking tables and create forms for editing 30 Jan 2013 13:52 #6562

  • kuhbrille
  • kuhbrille's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Hi,
I had a look at a lot of the tutorials, doc and topics in this forum,
but I am still confused.

What I want to do:
header table
detail table

when I see the header data in fly or form, I would see a list of all detail rows on the same page.
And, I would like to click on 'add a new detail row' or 'edit detail row'.

I got the foreign key in the detail table, so that the id of the header table is linked to the foreign key field in the detail table.
But how to create the frontend to easy add and edit details?

Is there a link to another topic which I did not found yet?
Or a step by step manual or example?

Cheers Roland
The administrator has disabled public write access.

Re: linking tables and create forms for editing 30 Jan 2013 13:58 #6563

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi Roland and welcome!

This is a really good place to start: www.j-cook.pro/docs/tutorials

This tutorial gives you step by step instructions on most of what you want to achieve and more, the final, working project + a zip package of each stage of the process...

Hope it helps!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: linking tables and create forms for editing 30 Jan 2013 14:02 #6565

  • kuhbrille
  • kuhbrille's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Hi,
thx for the very very very fast answer ;-)

In these docs I saw, that I have to edit the code.
Is it only possible by downloading the project (which means to subscribe first)
or could it be done only in the j-cook environment and using the sandbox to check?

Cheers Roland
The administrator has disabled public write access.

Re: linking tables and create forms for editing 30 Jan 2013 14:10 #6566

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Yes, that functionality is not available directly in the cook builder so, yes, it would need to be done after download which requires a subscription.

However, you can download the tutorial package, see the basic component that was generated in Cook, then follow along with each change, comparing your changes with the incremented version packages. This will show you what can be achieved. They are really simple examples but demonstrate the principles of coding in your component afterwards.

I'm sure you'll think the subscription is worth it! ;)

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: linking tables and create forms for editing 30 Jan 2013 14:24 #6570

  • kuhbrille
  • kuhbrille's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
I will wait for Joomla 3 support, because I only have that system running, before I do a subscription...
Like I read, it should be available the next days/weeks...

Thx for you help
The administrator has disabled public write access.

Re: linking tables and create forms for editing 30 Jan 2013 14:27 #6571

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
I believe so, yes...

Components generated with cook will work on J3 but currently have some issues, apparently bootstrap related.

Anyway, 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 administrator has disabled public write access.
Time to create page: 0.150 seconds

Get Started