cakephp-plugin-boost_cake icon indicating copy to clipboard operation
cakephp-plugin-boost_cake copied to clipboard

added BoostCakeAccordionHelper

Open zeroasterisk opened this issue 11 years ago • 2 comments

zeroasterisk avatar Jan 29 '14 23:01 zeroasterisk

Would any content work inside the accordion if implemented this way? Including other html, php and helpers?

stantond avatar Feb 02 '14 13:02 stantond

As of now, no. I build the data array with helpers or elements, the pass into accordion, for final formatting/wrapping.

It is kinda like a multipart sprintf. Just a standardized wrapping.

I thought about making a series of simple calls to star accordion, make header, start body, stop body, ... So you could do it more inline... But I decided at that point writing raw HTML is better.

The use case for this simple data wrapping certainly exists, but you are right to ask. It is a lot less general purpose and atomic than the rest of the helpers.

(BTW thanks for the great helpers/plugin. We were customizing the one from loadsys but it was getting ugly. This one is great to work with.)

Thanks, -alan

zeroasterisk avatar Feb 02 '14 21:02 zeroasterisk