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
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
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