RobiW wrote:
Hi
Have set up site to use taxonomy_block for some menu listings. When more than one block is added page doesn't validate as taxonomy_block creates blocks with the same div id's for each menu block eg
Menu Block 1 taxonomy_block_1 taxonomy_block_2 taxonomy_block_3 Menu Block 2 taxonomy_block_1 taxonomy_block_2 etc
Any way to rename each separate block ref ids so page xhtml validates or another way round it?
This is done in your block.tpl.php.
You could use a global variable in that file to keep a list of blocks you've named, and if a name's been used already, add a counter or somehow otherwise rename it properly.