Custom block - Install with database records?
Permalink
I have created a db.xml file for my block that uses 3 tables.
Is there a method or event that I can use to import data into the tables when the block is installed?
Thanks
Is there a method or event that I can use to import data into the tables when the block is installed?
Thanks
Bare in mind that a block's primary table is tied to the bID, which changes whenever a block is edited.