News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Felix Geisendorfer's Blog:
How-to Use Html 4.01 in CakePHP 1.2
February 22, 2007 @ 08:35:00

Felix Geisendorfer has a "quick hit" tip posted to his blog today on using HTML 4.0.1 in your CakePHP 1.2 installation.

This is just a little tip for those of you who dislike their xhtml to end up as tag soup and still prefer to send out Html 4.01 strict. Here is how to make all helper functions in Cake 1.2 output Html 4.01 compliant markup instead of xhtml.

The helper he's created just loops through the entire $tags array and does a replace on the greater-than sign to add a slash to make it compliant.

0 comments voice your opinion now!
cakephpframework html xhtml helper strict cakephpframework html xhtml helper strict


blog comments powered by Disqus

Similar Posts

Job Posting: Syneron Seeks Webmaster with PHP Skills (Irvine, CA)

Job Posting: Syneron Seeks Webmaster with PHP Skills (Irvine, CA)

Padraic Brady's Blog: Zend Framework Proposal: Zend\Html\Filter (HTML Sanitisation And Manipulation)

Sebastian Bergmann\'s Blog: More Work on Reporting in PHPUnit 3

Felix Geisendorfer's Blog: How-to: Use Html 4.01 in CakePHP 1.2


Community Events





Don't see your event here?
Let us know!


code language release laravel interview framework project list api wordpress configure community developer application library podcast introduction series threedevsandamaybe bugfix

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework