Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
we use custom displays with http://drupal.org/project/ds/ but to use forward on those displays we needed to change the code.
would be really nice if forward could be made configurable on custom displays on admin/config/user-interface/forward
8at the moment only teaser and fullnode are supported)
Comments
Comment #1
john.oltman CreditAttribution: john.oltman commentedDid you see the "Use custom display" box on the Forward admin page? That would normally only be used when building the email to send, but wonder if that could help with DS also. What was the nature of the changes you made to Forward to work with DS? Can I see the site?
Comment #2
thommyboy CreditAttribution: thommyboy commentedchanged line #1206
if ((($view_mode == 'full' or $view_mode == 'MY_DS_VIEW') && variable_get('forward_display_nodes', 1)) || (($view_mode == 'teaser') && variable_get('forward_display_teasers', 0))) {
Comment #3
thomas.lobjoie CreditAttribution: thomas.lobjoie commentedHi,
i had the same problem... and found a solution... here it is:
- On your Display Suite : admin/structure/types/manage/[your-type]/display/[your-display-name], go in the tab "Add custom fields" (down the page), then click on "add a bloc field".
- In the Block dropdown, select : Forward:Form, fill the other fields of course...
- Validate
You can now place your forward form wherever you want in your DS configuration.
Hope it will help some of you...
Comment #4
john.oltman CreditAttribution: john.oltman commentedForward now includes built-in support for Display Suite in the 7.x-2.x branch