Re: How to include a view in another view

2009-12-16 Thread frmdstryr
what you want is the requestAction('controoler/view/to/include') function it grabs the url in requestAction and can be echoed out in a view.ctp On Nov 3, 11:34 pm, abc dhanya@gmail.com wrote: Hi all, I have an add.ctp file, which will enable the user to add new entries, there is another

How to include a view in another view

2009-11-03 Thread abc
Hi all, I have an add.ctp file, which will enable the user to add new entries, there is another view.ctp file which will list all the existing entries from the database. How would I include these existing entries within the add view page, So that user should be able to view the existing entries

Re: How to include a view in another view

2009-11-03 Thread John Andersen
You extract the part that you would like to use in more than one place, and implement that part as an element. Then include the element in each place that you would like to see it. Enjoy, John On Nov 4, 6:34 am, abc dhanya@gmail.com wrote: Hi all, I have an add.ctp file, which will