Recent Topics

xhtml validation error with unmixed feedbacks

Started by on Mar 17, 2007 – Contents updated: Mar 17, 2007

Mar 17, 2007 23:52    

skins/_feedbacks.php writes <a id="feedbacks"></a> when it is called, which means it writes the same id up to 3 times if you have unmixed feedbacks - like the originalb2 and orange skins do.

Mar 18, 2007 00:16

Reasonably easy answer. In skins/skinname/_main.php I added


$feedback_id_done = false;  // workaround for xhtml validation issue
to the first 'feedback type' block, then changed it to true for the remaining 2. Then over in skins/skinname/_feedback.php I replaced


echo '<a id="feedbacks"></a>';


if( ! $feedback_id_done ) {
  echo '<a id="feedbacks"></a>';

Form is loading...

Free CMS – This forum is powered by b2evolution CMS, a complete engine for your website.