[Akelos PHP Framework] #88: No ability to render partials and shared templates in layouts

1 view
Skip to first unread message

Akelos PHP Framework

unread,
Oct 23, 2007, 4:08:31 AM10/23/07
to
#88: No ability to render partials and shared templates in layouts
------------------+---------------------------------------------------------
Reporter: OmeZ | Type: defect
Status: new | Priority: minor
Milestone: 0.9 | Component: Action View
Keywords: |
------------------+---------------------------------------------------------
code
{{{
<?= $controller->render(array('partial'=>'mypartial')); ?>
}}}
or code
{{{
<?= $controller->render('shared/template'); ?>
}}}
doesn't work if it used in layouts. Search goes in current controller view
directory

--
Ticket URL: <http://trac.akelos.org/ticket/88>
Akelos PHP Framework <http://www.akelos.org/>
Akelos PHP Framework

Akelos PHP Framework

unread,
Dec 20, 2009, 11:56:24 AM12/20/09
to
#88: No ability to render partials and shared templates in layouts
-------------------------+--------------------------------------------------
Reporter: OmeZ | Owner:
Type: defect | Status: closed
Priority: minor | Milestone: 1.0.1
Component: Action View | Resolution: invalid
Keywords: |
-------------------------+--------------------------------------------------
Changes (by bermi):

* status: new => closed
* resolution: => invalid

Comment:

If you want to use partials located in the layout folder then you must
implicitly tell Akelos to look in there like:

{{{
<?= $controller->render(array('partial'=>'layouts/mypartial')); ?>
}}}

--
Ticket URL: <http://trac.akelos.org/ticket/88#comment:1>
Reply all
Reply to author
Forward
0 new messages