Page 1 of 2
Collapsible block with dynamic content
Posted: Wed Nov 14, 2012 9:45 pm
by Thaylan
Hello!
I have a collapsible block and, inside it, a checkbox. The collapsible block label is linked to a database. The label on the checkbox is also in a database, but I want to make it dependent on the collapsible block label, so they are both dynamical. Do you know how should I do it?
Thanks!
Collapsible block with dynamic content
Posted: Thu Nov 15, 2012 12:16 am
by maxkatz
You can map the same service response parameters to two page elements.
Collapsible block with dynamic content
Posted: Thu Nov 15, 2012 1:16 am
by Thaylan
This works if I'm using one database. Actually, they are from two different databases. Sorry, I didn't make it clear...
Collapsible block with dynamic content
Posted: Thu Nov 15, 2012 1:18 am
by Thaylan
I mean two different collections from a tigzzi's database
Collapsible block with dynamic content
Posted: Thu Nov 15, 2012 4:46 am
by maxkatz
Can you build a static page to show me how it would look..?
Collapsible block with dynamic content
Posted: Thu Nov 15, 2012 7:21 pm
by Thaylan
Hello Max. It looks like this:
There will be around 8-12 blocks and, since I want it to be customized in the future and want to change things easily, I need them to be in the databases... I could put them all in one collection, but it would be a big and confusing one (there are descriptions and some other stuff relative to each element).
Collapsible block with dynamic content
Posted: Thu Nov 15, 2012 10:19 pm
by maxkatz
I'm not sure there is a straight forward way to do this. It might be easier if you can preload the data as JSON - where you have an array of categories and each category has the items inside.
Collapsible block with dynamic content
Posted: Mon Nov 19, 2012 3:49 pm
by Thaylan
Ok, gonna go for it then. Thanks!
Collapsible block with dynamic content
Posted: Thu Sep 19, 2013 4:27 am
by Angela Temple Rogers
So Thaylan, did you ever figure this out? I am wanting to do something similar.
Collapsible block with dynamic content
Posted: Thu Sep 19, 2013 6:14 am
by Kateryna Grynko
Hi Angela,
Could you please specify what you want to implement?