Retrieve the Name of a Controller and Action Being Called In A Cake View
February 13th, 2008 - cake php - Read Full Article
There are times when you may want your layout in Cake to perform slightly differently when you are viewing pages that call a certain controller or even a specific action in that controller. This is common if you have javascript that you only want to include on a single page of your application or maybe render an element only at certain times.
The following variables can be called from ... continue
Substr Plugin for Expression Engine
December 24th, 2007 - downloads expression_engine - Read Full Article
This is a plugin for expression engine that performs the simple duty of extracting only a part of a string.
This plugin is used to return a portion of an original string between the {exp:substr} tags. This can be used to display the firs ... continue
Use a Print Style Sheet
December 23rd, 2007 - css xhtml - Read Full Article
This is a quick tip that I didn't know about for a long time after I started with CSS. This is something that takes a few minutes and can give a website a much more professional appearance.
When you're linking your style sheets to your documents either by using <style> and import() or using <link> and the href= attribute, you've probabl ... continue