Hi there,
I am stuck on my project, trying to create a form with multiple editable grid view details on one page. This is what my main problem looks like:
Master (SIMPLE FORM)
-id_master
-house
Details1 (EDITABLE GRID VIEW)
-id_details1
-id_master
-car
Details2 (EDITABLE GRID VIEW)
-id_details2
-id_details1
-id_master
-driver
1 house (Master) can have multiple cars (detail1) that are are listed in an EDITABLE GRID VIEW. Now I need another EDITABLE GRID VIEW below Details1 that is connected to each car. My first detail already works fine, but how can I set a detail link on each car? How can I tell Details2 to only show specific data that belong to selected house shown in master and belong to car that I want details on. Details of car need to be editable also and best in a grid view.
I also tried tried this (all on 1 page using Layout->Blocks):
Master (SIMPLE FORM)
-id_master
-author_email
-editor_email
-house
Details1 (EDITABLE GRID VIEW)
-id_details1
-id_master
-car
Detail_helper (GRID) -> so I can select a single data set connected to 1 car and show it in Details2
-id_details1
-id_master
-car
Details2 (EDITABLE GRID VIEW)
-id_details2
-id_details1
-id_master
-driver
Here I am having the problem of passing id_master and id_detail1 to Detail_helper. Detail helper always displays all cars available, but I only want those that belong to current house shown in Simple Form (master). So I need a SELECT FROM WHERE condition. I tried to set a value on id_master but it’s not working. Futhermore Details 2 also has to change when you got to another house in master.
1)Is it possible to pass Joomla 1.6 login data to author_email / editor_email so I know which logged in member created data or edited data? (this will be hard for myself to figure out)
2)Is it possible to create a nice PDF layout with all the data? (haven’t tried it yet…I hope it is flexible in layout and design)
3)Is it possible to have scriptcase send this PDF as email to author? (I think this should work with your macro)
Thank you