New to Cakephp: Design question

2007-11-06 Thread thathu
Hello Cakephp developers I am trying to design a website for my friend using cakephp, but I am not sure how to organize the webpages. Here is my design. User -> Generic page layout -> Generic navigation tabs ->click -> Each tab has Generic content for all users User - > login -> Generic Page lay

Cakephp newbie design question

2007-11-06 Thread thathu
Hello Cakephp developers I am trying to design a website for my friend using cakephp, but I am not sure how to organize the webpages. Here is my design. User -> Generic page layout -> Generic navigation tabs ->click -> Each tab has Generic content for all users User - > login -> Generic Page la

Re: Javascript Error

2007-11-06 Thread thathu
I temporarily solved it by adding var $helpers = array('Html','Form','Javascript'); to cake's appController.pho Rahul-26 wrote: > > > Javascript error.. > > I have included my js files that resides in webroot/js folder in the > default layout (default.thtml) as > > link('projrct.basic')

Re: layout control with default pages controller.

2007-11-06 Thread thathu
I am new to cake as well, but this is what I did to create a new layout called profile. pageTitle = 'User Profile'; } } Now I put my page design in profile.thtml in the layout folder and just make a forward to to /profile/index. That just worked. jmw-2 wrote: > > > I have a ver