[TYPO3-commerce] Invalid HTML (templates and some hardcoded values) + bugfix

Michiel Roos [netcreators] michiel at netcreators.com
Wed Sep 12 11:41:08 CEST 2007


Franz,

This is still not fixed in the svn head of 10 september.

This is a bug, please create an entry in http://bugs.typo3.org.

Since it is such a small change, please add a diff and also add [has 
patch] to the bug title.

Regards,


Michiel

Franz Koch wrote:
>> So the label-tag has to be changed in the template and the 
>> select-boxes need to get an id in class.tx_commerce_pi2.php on lines:
>>
>> 468:
>> -----
>> $select = '<select name="'.$this->prefixId.'[delArt]" 
>> id="'.$this->prefixId.'_delArt" onChange="this.form.submit()">';
>>
>> 524:
>> -----
>> $select = '<select name="'.$this->prefixId.'[payArt]" 
>> id="'.$this->prefixId.'_payArt" onChange="this.form.submit()">';
> 
> Addon - the selected-state of the option values is also not valid XHTML. 
> Simply change the following lines:
> 
> 482 and 548:
> ------
> $select .= ' selected="selected"';
> ------
> 
> -- 
> Kind regards,
> Franz Koch


-- 
Netcreators BV :: creation and innovation
www.netcreators.com

Interesse in werken bij Netcreators?
http://www.netcreators.com/bedrijf/vacatures/


More information about the TYPO3-project-commerce mailing list