Good evening all!
I am stuck at a point where i am all confused.
I have three clonable templates:
1. templateA.php (custom routes enabled)
2. templateB.php
3. templateC.php
When I save an entry in templateA.php it saves the data and then also saves a page in templateB.php.
When templateC.php is saved on templateA.php page view, I want to save the id of templateA.php and templateB.php to templateC.php.
Then I want to access the data on templateA.php
For Example:
1. I save a page in templateA.php (say id=1)
2. templateA.php generates a page in templateB.php (say id=2)
3. templateC.php has a form on templateA.php (page view) and when this form is saved (multiple times) it must generate data like:
And display all the data belonging to templateC.php on templateA.php with templateB.php as an intermediate.
In short i want to the templates A,B and C to be related and all data displayed according to the relations.
Any suggestions please!
Regards,
GenXCoders (Aashish)
I am stuck at a point where i am all confused.
I have three clonable templates:
1. templateA.php (custom routes enabled)
2. templateB.php
3. templateC.php
When I save an entry in templateA.php it saves the data and then also saves a page in templateB.php.
When templateC.php is saved on templateA.php page view, I want to save the id of templateA.php and templateB.php to templateC.php.
Then I want to access the data on templateA.php
For Example:
1. I save a page in templateA.php (say id=1)
2. templateA.php generates a page in templateB.php (say id=2)
3. templateC.php has a form on templateA.php (page view) and when this form is saved (multiple times) it must generate data like:
1,2,3
1,2,4
1,2,5
...
Where 1 is k_page _id of templateA.php
2 is k_page_id of templateB.php
3,4 and 5 are k_page_id of templateC.php
And display all the data belonging to templateC.php on templateA.php with templateB.php as an intermediate.
In short i want to the templates A,B and C to be related and all data displayed according to the relations.
Any suggestions please!
Regards,
GenXCoders (Aashish)