Posibility to call a getData()-Function on generated Block-Controller
Permalink Browser Info Environment
Hi,
we want to use the Blockdesigner (Pro) to create a Block which creates a custom List. Here our example how it will look like:http://www.creativa-schweiz.ch/de/themenbereiche...
on a different Page we want to create a shortlist of these items:http://www.creativa-schweiz.ch/de... -> search for "Themenbereiche der Creativa". It contains a rounded thumbnail and the title + a link.
For this section we dont want to create another seperate Block. We would like to create a self developed Block, which uses the Data from the Block Designer created Block. For this, we need a kind if generic Funktion in the Blockcontroller to get the entire Data. A function like getData() returning an Array with the entire data of the block-instance.
is that possible? Or another Idea?
best regards
Chris & Marcus
we want to use the Blockdesigner (Pro) to create a Block which creates a custom List. Here our example how it will look like:http://www.creativa-schweiz.ch/de/themenbereiche...
on a different Page we want to create a shortlist of these items:http://www.creativa-schweiz.ch/de... -> search for "Themenbereiche der Creativa". It contains a rounded thumbnail and the title + a link.
For this section we dont want to create another seperate Block. We would like to create a self developed Block, which uses the Data from the Block Designer created Block. For this, we need a kind if generic Funktion in the Blockcontroller to get the entire Data. A function like getData() returning an Array with the entire data of the block-instance.
is that possible? Or another Idea?
best regards
Chris & Marcus
Type: | Discussion |
---|---|
Status: | Resolved |
Hi,
you can resolve the Issue, we dont need a new function. we found a generic way to meet our needs.
best regards
Chris
you can resolve the Issue, we dont need a new function. we found a generic way to meet our needs.
best regards
Chris
Hi Chris,
Is this a workaround or did you find a better way or.. would love to know what you came up with! :)
Kind regards,
Ramon
Is this a workaround or did you find a better way or.. would love to know what you came up with! :)
Kind regards,
Ramon
Well, we use the record-function of a block to get the data from. So we did a block where u can select a block instance on any page. The block will get the data via record (). We pass this data to a custom template to render the data. With such a block you can render e.g. a testimonial shortlist on any other page based on the testimonial list created with block designer.
Well, we use the record-function of a block to get the data from. So we did a block where u can select a block instance on any page. The block will get the data via record (). We pass this data to a custom template to render the data. With such a block you can render e.g. a testimonial shortlist on any other page based on the testimonial list created with block designer.
Well, we use the record-function of a block to get the data from. So we did a block where u can select a block instance on any page. The block will get the data via record (). We pass this data to a custom template to render the data. With such a block you can render e.g. a testimonial shortlist on any other page based on the testimonial list created with block designer.
Chris,
OK, makes sense. Good you found a way! Don't hesitate to ask again if you need anything.
Kind regards,
Ramon
OK, makes sense. Good you found a way! Don't hesitate to ask again if you need anything.
Kind regards,
Ramon
Not sure what you need here. You already have this functioning in some block (without Block Designer (BD)) and want to create a new block (using BD), and BD needs to grab information from your other block? Can't you just create a new block with BD which does everything, instead of connecting one block with another? Perhaps I'm not fully understanding your question. You can give code examples as well if you'd like. I can understand German too if that's easier for you!
Kind regards,
Ramon