First of all I'd like to thank you for this incredibly useful module. Really appreciate it.
I'd like to be able to include accordions inside the separate tabs. Is this possible with the current iteration, or is this something that would need to be added?
Thanks again for your fine work on this project.

Comments

jrockowitz’s picture

It is not possible in the current iteration because I am using very simple regular expressions to parse the widget [code]. To truly get nesting working I would have parse the 'tree' of widgets. Honestly, I just don't have the programming 'skillz' to write this type of parser.

At same time, depending on your situation you might just want to bypass this module and build it using a few lines of jQuery. Here is a pretty good example. http://stackoverflow.com/questions/1542161/jquery-ui-accordions-within-tabs

CinemaSaville’s picture

OK, thanks for the response.

jrockowitz’s picture

So, I decided to take one more shot at this issue and refactored the regular expression handling so that an accordion widget can be nested with a tab.

Please note that tabs still can't be nested within an accordion but I am not really sure why someone would want to this.

Please test the dev release.

jrockowitz’s picture

Status: Active » Needs review
jrockowitz’s picture

Status: Needs review » Closed (fixed)

The new release will allow you specify different header tags for the accordion and tabs widget which will make it easy to nest them. For example the accordion widget can use an H2 and the tabs an H3.