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)


john.oltman’s picture

Did 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?

thommyboy’s picture

changed 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))) {

thomas.lobjoie’s picture

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...

john.oltman’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Assigned: Unassigned » john.oltman
Status: Active » Fixed

Forward now includes built-in support for Display Suite in the 7.x-2.x branch

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.