 |
Zend Framework - more stupid idiocy to deal with |
May 29, 2008
It seems you're not allowed to use Zend Framework's doctype() helper in a layout file like the docs clearly show.
When I tried to use it in my application's layout, my form helper calls would render non-standard HTML. In particular the closing forward slash for my input fields was missing.
When I asked the Zend Framework guys about it I was informed the doctype() must be set in the application bootstrap, at the beginning of the application execution, not in the layout file where I actually need rendered HTML to appear.
That bit of idiocy locks an application down so you have to make all the HTML the same doctype throughout. Stupid, stupid, stupid. So much for an XHTML1_FRAMESET admin site.
|