Hi guys
I'm using this module in production, it just saved me ! Easy to use for simple node theming, and with some CSS it's jsut great !
Is it planned to make it compatible with Webforms ? I know webform is a "special module", because webforms are not really nodes... I tried today to render a webform with Display suite, using the Node layout functionnality. And guess what ? DS renderd everything correctly (text before the form, CCK image field), apart from the form itself...
Hope you can make it, this will make this module even more awesome !
Comments
Comment #1
swentel commentedYeah, we normally set of the rendering by DS - I'll look for the right key for webforms this weekend. I'm pretty sure, this will be an key in the node object which you could use in admin/ds/nd/fields
Comment #2
swentel commentedOk, you can create a field at admin/ds/nd/fields, create a code field, enter a key and title (can be anything) and use following php code:
Exclude it for all other content types except for webform too. This field will show up and you can drag it around where you like than.
Comment #3
swentel commentedAdded to snippets page too.
Comment #4
swentel commentedComment #5
jax commentedThis isn't working anymore. The body nor the form are displaying.
Comment #6
jax commentedNever mind. In the teaser build mode the webform module doesn't render the form. You need to either use the full build mode or set the configuration on the webform to show the complete form in the teaser.
Comment #7
Anonymous (not verified) commentedIn Drupal 7 this seems to have changed. It seems as though the "value" array item is no longer present. I think rendering the form should be done somewhat similarly to below, but haven't been able to actually print any thing out. Just wondering if anyone else has gotten this work correctly.
Comment #8
Anonymous (not verified) commentedComment #9
swentel commentedsee #1040834: Refactor webform_field_extra_fields() - this patch will go in webform in the next release, so you can apply that patch safely to the current codebase of webform. This will make the 'webform' field available by default.