[TYPO3] sk_pagecomments, how best to edit the checkboxes

Stephen Bungert s.bungert at metrinomics.de
Mon Mar 10 10:37:14 CET 2008


In class.tx_skpagecomments_pi1 I see the following:


$markerArray['###MAILONANSWER###']=
$this->showFields('mailonanswer','<p><label class="check"
for="mailonanswer"><input type="checkbox" value="1" id="mailonanswer"
name="tx_skpagecomments_pi1[mailonanswer]"
'.($insertArr['mailonanswer']==1?'checked="checked"':'').' />
'.$this->pi_getLL('mailonanswer').'</label></p>');
                        $markerArray['###MAILONCOMMENT###']=
$this->showFields('mailoncomment','<p><label class="check"
for="mailoncomment"><input type="checkbox" value="1" id="mailoncomment"
name="tx_skpagecomments_pi1[mailoncomment]"
'.($insertArr['mailoncomment']==1?'checked="checked"':'').' />
'.$this->pi_getLL('mailoncomment').'</label></p>');

These two checkboxes are not in the template, tehy seem to be hard coded and
are added by markers in the template. Is there anyway in TypoScript to edit
these or do I have to edit the PHP file?I'd like to give the p tags an id so
that I can change a few things via CSS.
                        



More information about the TYPO3-english mailing list