Hi all I am very new to cakePHP, I want to add YUI accordion in the default layout of my application. A simple explanation could be like this -
- I have a table 'lecturers' in my database.
- I have baked the model lecturer (file)
- I have baked the controller lecturers_controller (file)
- I have baked the view lecturers (folder)
- I need to override the default layout but I want to add YUI 3 accordion sothat
the table name lecturers will be on top, after clicking on the top division it will slidedown and will show me the column name of lecturer table.
Is there anyone who could suggest me how to integrate the YUI 3 accordion - Do I have to write a helper for this or simply after copying the YUI 3 library I could code this in the default.ctp file.
I am really confused as I could hardly get a full tutorial on this topic.
Thank you in advance ................