Why must the titles of blocks be unique? I frequently need empty titles for several blocks, and to accomplish this I usually remove the unique index from the block table. I have noticed no problems during the years I have done this. Things are different in 4.7--the validation is done in block.module instead of the database index. But the effect is the same. Block descriptions must be unique. Why? Nic
Oops! I transposed titles and descriptions in my mind. To clarify, Drupal 4.5 does _not_ require unique titles, which are shown to the user. It _does_ require unique descriptions, which are shown to the administrator. This satisfies my needs. Please excuse my misplaced rant. Nic On Apr 3, 2006, at 10:49 PM, Nic Ivy wrote:
Why must the titles of blocks be unique?
I frequently need empty titles for several blocks, and to accomplish this I usually remove the unique index from the block table. I have noticed no problems during the years I have done this.
Things are different in 4.7--the validation is done in block.module instead of the database index. But the effect is the same. Block descriptions must be unique.
Why?
Nic
If you don't want to display a title to a users you can use #block-*-* .title {display: none} Its much easier to hack the CSS than the code for this. On Mon, 2006-04-03 at 23:00 -0500, Nic Ivy wrote:
Oops! I transposed titles and descriptions in my mind.
To clarify, Drupal 4.5 does _not_ require unique titles, which are shown to the user. It _does_ require unique descriptions, which are shown to the administrator. This satisfies my needs.
Please excuse my misplaced rant.
Nic
On Apr 3, 2006, at 10:49 PM, Nic Ivy wrote:
Why must the titles of blocks be unique?
I frequently need empty titles for several blocks, and to accomplish this I usually remove the unique index from the block table. I have noticed no problems during the years I have done this.
Things are different in 4.7--the validation is done in block.module instead of the database index. But the effect is the same. Block descriptions must be unique.
Why?
Nic
participants (2)
-
Darrel O'Pry -
Nic Ivy