Hi Tiago.

I think what you want to do is really easy to do, even because you said
these menus will be static.

You should use Elements instead of put everything direct on default.ctp, and
then you just call your menu like this:

$this->element("elementName");

The element is just another View file (ctp) (views/elements) that you may
call when you need.

I've maded this in my personal website (www.thiagoelias.org) - Static Menu,
and where I work (www.cidadaopg.sp.gov.br) (Dynamic Menu) The Dynamic menu
was a little bit more complicated, (due to the system table schema, but to
make the views and necessary code in controllers is pretty easy).

I hope my information was useful.

See ya. (Até a próxima).

Atenciosamente,
Thiago Elias Rezende Silva
Programador Portal CidadãoPG
www.cidadaopg.sp.gov.br




Em 9 de março de 2010 15:25, Tiago N. Sampaio <[email protected]>escreveu:

> Hi,
>
>        Im reading about cakephp, and i have one doubt. I need to find one
> framework to learn to easily develop small systems.
>        It is possible to create a complex system with frames, and in one
> frame
> i have menu and another frame the application itself?
> Menu must be static and do no change every new app called, and maybe i
> use iframe for that.
>
>        I will try to illustrate what i want, with ascii art hehe.
>
>
> ============================================================
>                System menu (some cool css menu)
> ============================================================
>
> Application screen
>
> Fields...
>
>
> ============================================================
> (Footer)                              Powered By CakePHP
> ============================================================
>
> I think that i can do this placing code on views/layouts/default.ctp,
> but this is the best to do?
> Can i have some problems doing this in this way?
>
> Thanks.
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to