Not sure if I understand the question, but I think you want to keep track of the user being logged in, in a Session variable. That way, when you build the "tab" pages, you know whether to put up Generic or Specific content. I would put the navigation tabs in an element and pass it a variable to indicate which tab is out front.
On Nov 6, 11:17 am, thathu <[EMAIL PROTECTED]> wrote: > 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 layout -> Generic Navigation Tabs -> Each tab > with Specific content > > I tried using a header.thtml file for the generic tabs and included it in > the default.thtml in layout folder. How do I design the tabs so that I will > be going to default page all the time but have different data every time? > I am having trouble with this design. I tried using separate layout thtml > for each tab entry, but its very messy. Is there a place to find design > examples? > -- > View this message in > context:http://www.nabble.com/Cakephp-newbie-design-question-tf4759847.html#a... > Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
