Collapsible Sidebar Cell

How can I create a collapsible sidebar navigation Cell.
I have my left menu bar cell under /src/Template/Cell/SidebarNav/display.ctp

I want to make my cell collapsible when I click on a button. Please suggest me which is the best way to achieve this.

Something like this:

1 Like

Yes xaphalanx,

I want exactly the same way.
Can you please help me out how to achieve this.

It is not a CakePHP problem, and you do not have to use a cell because of this. As @xaphalanx pointed out this is just a javascript (jquery) task.


Hi rrd,

Thanks a lot for the suggestion. I will try it out with “jquery” and let you know.