Needs review
Project:
Dynamic display block
Version:
6.x-1.0-rc6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2009 at 19:31 UTC
Updated:
2 Mar 2011 at 14:43 UTC
I have a ddblock on my home page, validated the page and got an error:
duplicate specification of attribute "class"
Checked the tpl file specified in the title (ddblock-cycle-pager-content.tpl.php)
and saw line 28 was:
print $pager " class="clear-block border">
moved those classes.
Also, saw same validation problem on line 29 of this tpl file.
Comments
Comment #1
SethM commentedCould have been a bit more specific..
Saw this issue in these 3 tpl files:
in the ddblock module folder: ddblock-cycle-pager-content.tpl.php
line 28:
<div id="ddblock-pager-<?php print $delta ?>" class="<?php print $pager ?>" class="clear-block border">line 29:
<div class="<?php print $pager ?>-inner" class="clear-block border">in the custom theme folder: ddblock-cycle-pager-content-modest-grey50l.tpl.php
line 30:
<div class="<?php print $pager ?>-inner" class="clear-block border">in the custom theme folder: ddblock-cycle-pager-content.tpl.php
line 28:
<div id="ddblock-pager-<?php print $delta ?>" class="<?php print $pager ?>" class="clear-block border">line 29:
<div class="<?php print $pager ?>-inner" class="clear-block border">Any of these duplicated classes, I moved into one class attribute.
Comment #2
ppblaauw commentedThanks for reporting this bug.
Will cleanup the duplicate classes in the next version of the module.
Comment #3
ppblaauw commentedcommitted to dev version of module