HTML: Remove blue border on links with images

Sick of that blue or purple box around your linked images? Here’s how to kill that stubborn thing. Simply place this bit of code in your CSS file or inside tags inside the head tags on your page. This applies the transparent “color” to all the states of a link, visited is usually purple, hover [...]

CakePHP: Layouts

photo credit: Vagabond Shutterbug If there are things you want to appear on every page of your website, built in CakePHP, you will want to use a layout. I generally use one layout for header, footer, search, and other static elements. You can use multiples, but most of the time you won’t need more than [...]

CakePHP: HTML Link

The HTML helper is pretty useful, here’s how you write a link in a view file: <?php echo $html->link(’click me’, array( ‘controller’=>’users’, ‘action’=>’index’ ) ); ?> The parameters in this are: title (what you actually click on) link location array(controller, action, id (if needed for edit)) (optional) attributes array