Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] Foreign Keys and ComboBox in Layout Form

[SOLVED] Foreign Keys and ComboBox in Layout Form 21 Oct 2011 10:05 #291

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 278
  • Thank you received: 35
  • Karma: 22
Hello,

After 2 'cooking' days, I am trying to create my 1.5 component for Joomla1.7 named Joomla! Breeding Manager , with j-cook. I like your tool a lot ! Awesome !
I had no problem to create all my tables of values, layout of grids and forms, lists and records are OK in Backend.

Now my main table 'Pedigree' has several fields of foreign keys (breed, coat colors, eyes colors, status, sexes, ...).
I think I miss something during the construction of my Table. I tried several thing in Tables and Pages to get something like that :


Help please !
Last Edit: 21 Oct 2011 11:03 by admin.
The administrator has disabled public write access.

Re: Foreign Keys and ComboBox in Layout Form 21 Oct 2011 11:02 #292

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Foreign Keys and ComboBox in Layout Form 21 Oct 2011 13:05 #294

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 278
  • Thank you received: 35
  • Karma: 22
So to do this :
1 - Remove the ID key from the form (State ID > ID)
2 - Open the tree node "State ID"
3 - Drag the "State name" to your form

so I do have miss something, because I ve ever read this but the drag&drop of my field (name value) doen't give a combo at final!
Last Edit: 21 Oct 2011 13:06 by liubov.
The administrator has disabled public write access.

Re: Foreign Keys and ComboBox in Layout Form 21 Oct 2011 14:06 #295

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
I checked your project.

You must regenerate to see the changes.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Foreign Keys and ComboBox in Layout Form 21 Oct 2011 15:02 #296

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 278
  • Thank you received: 35
  • Karma: 22
Hooo I see !
It means that some cancel operation on Tables needs to regenerate to see changes or impacts on layout forms ?

Regenerate means Click on SandBox Button ?

Yeaahhh !


Thanks a lot for this help, hoping I could progress far away ...

Marc
Last Edit: 21 Oct 2011 16:56 by liubov. Reason: adding resolved image
The administrator has disabled public write access.
Time to create page: 0.084 seconds

Get Started