|
From: Shane <sh...@lo...> - 2005-02-14 12:19:41
|
Before skins, blocks could have a bid of "sectionname_blockname". Now
that we have skins, what's the preferred method to do this?
A look at the blocks schema shows an integer for all_skins, a varchar
skin, and no skid.
So - I would think that the "sectionname_blockname" bid naming
convention is now depricated because the varchar(30) skin can be
defined for a particular block?
Any thoughts on this?
Thanks,
Shane
mysql> describe blocks;
+--------------+--------------------------+------+-----+---------
+-------+
| Field | Type | Null | Key | Default |
Extra |
+--------------+--------------------------+------+-----+---------
+-------+
| bid | varchar(30) | | PRI | |
|
| block | text | YES | | NULL |
|
| seclev | mediumint(8) unsigned | | | 0 |
|
| type | enum('static','portald') | | MUL | static |
|
| description | text | YES | | NULL |
|
| skin | varchar(30) | | MUL | |
|
| ordernum | tinyint(4) | YES | | 0 |
|
| title | varchar(128) | | | |
|
| portal | tinyint(4) | | | 0 |
|
| url | varchar(128) | YES | | NULL |
|
| rdf | varchar(255) | YES | | NULL |
|
| retrieve | tinyint(4) | | | 0 |
|
| last_update | timestamp(14) | YES | | NULL |
|
| rss_template | varchar(30) | YES | | NULL |
|
| items | smallint(6) | | | 0 |
|
| autosubmit | enum('no','yes') | | | no |
|
| rss_cookie | varchar(255) | YES | | NULL |
|
| all_skins | tinyint(4) | | | 0 |
|
+--------------+--------------------------+------+-----+---------
+-------+
18 rows in set (0.00 sec)
|