Display suite on forms

Events happening in the community are now at Drupal community events on www.drupal.org.
swentel's picture

Hi,

I've already posted this on twitter last night, but I thought I would mention it here as well. I've got a working proof of concept ready to make Display suite work as well on forms. First reactions were positive, but there's more people here, so I'm hoping to get some more feedback on this.

  • It's a seperate module right now (it will be in the same directory as ds_extras and ds_search), so it's not enabled by default.
  • It only works on node forms right now as it implements hook_preprocess_node_form()

Here's a screenshot, click on it for the large version.

If you have ideas, suggestions or simply hate the idea, let me know!

AttachmentSize
ds-forms.png168.57 KB

Comments

Wooot!

dddave's picture

Empowering DS to change the node form sounds like an awesome feature. Looking forward to play around with it. Panels has its issues when used to override the node form. Wondering if DS does better especially on multilingual forms...

A very, very welcome

brewthis's picture

A very, very welcome addition.

Awesome!

dqd's picture

Swentel, this is major step! I am deeply impressed. How can we help?

Committed the code for DS

swentel's picture

Committed the code for DS forms. It's not completely ready yet (there are some problems with css and javascript), but it's testable :) Let's start testing !

You are a Rock Star!

stovak's picture

You are a Rock Star!

sweet :) so next action will

mortendk's picture

sweet :)
so next action will be to have templates as the node has now ?
would be really awesome to be able to show the nodes form the same way as the node ;)

/morten.dk king of rock
morten.dk | geek Royale

Update on the

swentel's picture

Update on the functionality:

  • it can potentially work on kind of existing form in your installation
  • by default, node forms are supported
  • field group support works as well!

Screencast coming up soon!

And here's the screencast:

swentel's picture

And here's the screencast: http://bit.ly/pk04uC

friggen awesome!!

bleen's picture

friggen awesome!!

Another update - there's a

swentel's picture

Another update - there's a new module, called Renderable elements which is a dependency now for DS forms. Rel is doing the heavy lifting for either registering additional (recursive) elements or even registering custom forms (and builds later). If you enable field group, you could also add groups on say, the contact form.

DS on forms = extremely interesting

Lars Bo Jensen's picture

Highly interesting, Swentel. I will try out the Renderable Elements as soon as possible.

Another update, here's a blog

swentel's picture

Another update, here's a blog post with a screencast showing the power of rel, field_group and ds. Start testing people :)

http://bit.ly/nkgNya

I think this is the answer.

rsgracey's picture

I've been thinking about this for a long time (this year).

The idea is very simple: I really want to be able to create multiple variants of the "create content" forms, exactly like you can create multiple displays, depending on the context. The UI for the "Manage Fields" tab should be exactly like the "Manage Displays" tab, with all the same functionality: Default, then however many modes you want, so that you can hook up Display Suite and Field groups, to create different versions depending on role, context, etc.

Does that make sense to you all? I'm using field_group and ds: The issue is that we need to be able to customize variants of the content form.

Display Suite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: