ok but then you break cake's logic, dont you?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email
for my layout building (same layout, some variations) i use the magic
"require" php command ;), no need for elements there imho.
On Oct 20, 6:33 pm, kamiseq wrote:
> ok, Ill try that as well, thanks
>
> On 20 Paź, 15:16, m-e- wrote:
>
> > On 20 oct, 14:42, kamiseq wrote:
>
> > > ok but you thi
ok, Ill try that as well, thanks
On 20 Paź, 15:16, m-e- wrote:
> On 20 oct, 14:42, kamiseq wrote:
>
> > ok but you think more about inserting element(s) into layout that is
> > not depending on action - so you will add element that acts as a menu
> > or stuff
>
> Actually you can use in the lay
On 20 oct, 14:42, kamiseq wrote:
> ok but you think more about inserting element(s) into layout that is
> not depending on action - so you will add element that acts as a menu
> or stuff
Actually you can use in the layout all the variables passed by the
controller to the view. So some parts of t
ok but you think more about inserting element(s) into layout that is
not depending on action - so you will add element that acts as a menu
or stuff
Im trying to figure out the way to have layout with "holes" (and like
now with one "hole" - that is $content_for_layout) that will be
populated with
Nope, you can change the layout the way you want, all you have to do is just
specifying the layout that you want in your controller, for instance,
$this->layout = 'admin' then that would call the admin layout inside your
app/views/layouts directory and apply all the renders in that layout, if you
d
I thought that layout can be populated only by view that is releted to
action that is executed in controller.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-
i don't really understand whats wrong with "elements" in your case?!!, you
may "call" as many elements as you wish from within your layout and .ctp
files! on the other hand you can create a separate layout for each case you
have and use { $this->layout } from your controller to render the proper
la