don't use cID for custom block column names?
Permalink
In the db.xml for a custom block, to store a collectionID I added a field with
Then in add.php I render the page selector:
If I then try to add this block to an area I get a error dialog with a whole lot of junk it. To fix it I just changed 'cID' to something else 'pageID' and it works fine. So maybe it's just a bad idea to use the same column names as the core files?
Then again maybe it's just some add-on I've installed, can anyone else repro this?
<field name="cID" type="I"> <unsigned /> </field>
Then in add.php I render the page selector:
$pageSelector = Loader::helper('form/page_selector'); print $pageSelector->selectPage('cID', 1);
If I then try to add this block to an area I get a error dialog with a whole lot of junk it. To fix it I just changed 'cID' to something else 'pageID' and it works fine. So maybe it's just a bad idea to use the same column names as the core files?
Then again maybe it's just some add-on I've installed, can anyone else repro this?