Are there any plans (or a discussion anywhere) to create theme functions for jQuery UI plugins like accordion, tabs, etc?

Thanks :)

CommentFileSizeAuthor
#1 ui-theme-functions.patch4.23 KBjacine

Comments

jacine’s picture

StatusFileSize
new4.23 KB

I don't think there are any plans to do this, so I started to work on this. There is probably a lot wrong with it, but it's a start. I will definitely need help/direction. Patch includes theme functions for ui tabs, and ui accordion.

robloach’s picture

Category: support » feature
Status: Active » Needs review
Issue tags: +Needs design review

We definitely need some kind of utility here!

jacine’s picture

If theme functions aren't the way to go, what are the other options?

This is a pretty awesome idea: http://groups.drupal.org/node/10077

effulgentsia’s picture

Version: 7.x-dev » 8.x-dev

Ideas well worth exploring in contrib and D8 core. If there's a compelling need for it to be in D7 core, please explain it, and set the version back to 7.

klausi’s picture

Status: Needs review » Needs work

patch does not apply anymore

lauriii’s picture

Title: Theme functions for jQuery UI plugins » Create accordion jQuery UI component
Version: 8.0.x-dev » 8.1.x-dev
Issue summary: View changes
Status: Needs work » Postponed

There is vertical_tabs in Drupal core so we would only have to add accordion component. I'm not convinced whether we need this or not but maybe this is something we can discuss later.

joelpittet’s picture

Status: Postponed » Closed (works as designed)

Here hasn't been any action on this in 4 years. I'm closing until someone wants to work on it and has a good use-case for core. Otherwise I'd suggest this would be maybe a decent contrib module for this type of component.