omda12 / akelosframework

Automatically exported from code.google.com/p/akelosframework
GNU Lesser General Public License v2.1
0 stars 0 forks source link

\PATCH add default layout for the all application #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
as in ror, this patch add a default layout called "application.tpl" in
app/views/layouts/. The name of the the default layout is defined in
config/boot.php as AK_DEFAULT_LAYOUT.

Next step is to add the yield feature.

Original issue reported on code.google.com by jerome.l...@gmail.com on 7 Apr 2007 at 4:43

Attachments:

GoogleCodeExporter commented 9 years ago
Jerome,

Thanks for this one :D

I've made some changes on your patch to avoid calling twice file_exists and to 
allow
NO layout if $this->layout is set to false implicitly.

Regarding the yield feature, we might add it in a future, but I feel that using
content_for_* is more suitable as it is compatible with the capture_helper

Patch committed on rev.172 is attached.

Original comment by bermifer...@gmail.com on 9 Apr 2007 at 2:41

Attachments: