Attributes at Block Type Level

Permalink
I'm creating a new Block for the Marketplace and I want to know if there is a way that I can set some attributes / values that automatically apply to all instances / occurrences of a block Type?

Thanks, Pete

 
12345j replied on at Permalink Best Answer Reply
12345j
basically what I think you want though is some variables that are constant for each block on your site, but that changes site to site right? In that case id make a simple dashboard interface that accesses the config class to set some values.
heres some docs on the config class
http://www.concrete5.org/documentation/developers/system/config-pre...
and an article
http://www.concrete5.org/documentation/how-tos/developers/use-the-c...
if you want attributes block to block, then it should just be a db column for the block, and put the form in edit/add.php
PeteM replied on at Permalink Reply
Thanks that's really helpful.

Pete