Where does Drupal keep block information in the database?
Questions you'd want answered desperately fast if you did something remarkably stupid such as putting invalid PHP code in a block that breaks your entire site, even if you were lucky – I mean foresightful – enough to limit that darned block to a single node.
where is custom block text stored in drupal database
where is block data stored in drupal database
based on this API
http://api.drupal.org/api/5/function/block_example_contents
appears to be in the variable table
But that's not the case at all.
It is in fact looking at *this* API-
http://api.drupal.org/api/5/function/block_box_delete_submit
what I'm trying to say is that block text is stored in the bleeding "boxes" table in drupal databases.
I bet if I'd used Drupal 3 or something, the term boxes for blocks would make sense to me.
Questions you'd want answered desperately fast if you did something remarkably stupid such as putting invalid PHP code in a block that breaks your entire site, even if you were lucky – I mean foresightful – enough to limit that darned block to a single node.
where is custom block text stored in drupal database
where is block data stored in drupal database
based on this API
http://api.drupal.org/api/5/function/block_example_contents
appears to be in the variable table
But that's not the case at all.
It is in fact looking at *this* API-
http://api.drupal.org/api/5/function/block_box_delete_submit
what I'm trying to say is that block text is stored in the bleeding "boxes" table in drupal databases.
I bet if I'd used Drupal 3 or something, the term boxes for blocks would make sense to me.
More like this
- Ask Agaric: Where does Drupal store module dependency information?
- Ask Agaric: Where does that directory link in the Navigation menu come from?
- Subform Element does not allow passing of nid information to subsequent forms
- Easier to edit, keep domain name, professional?
- Agaric wants to keep en for customized English in Drupal 5
Comments
Thanks
Thanks
Very Helpful!
I was just about to try some thing drastic, and thought I'd better find out how to un-do it if I screwed up.
Now I know! Who would have thought of looking in "boxes" (although I'm sure I would have if desperate enough).
I actually did screw up my site, but clicking the back button returned me to the edit block page and I was able to fix it.
By the way, what captcha do you use? Mine doesn't work!
Post new comment