2009-06-12

Display a symfony form without labels

Paste this in configure():
$format = $this->widgetSchema->getFormFormatter()->getRowFormat();
$format = str_replace('%label%', '', $format);
$this->widgetSchema->getFormFormatter()->setRowFormat($format);

2009-06-07

Change color of all links in a page on click without JS

This should've been an April Fools's post :)

To accomplish the above, place this in your css:
a:visited {
  color: #777777;
}
and change all hrefs to "#777777". Then load the page, click on a link and - Whoa!