I love this module set and I am looking forward to using it at my company.

This issue may be a display suite issue but since it only seems to be related to CRM Core I am starting here.

I have found laying out the various "view" pages that Display Suite does not seem to take over the "view" page after I enable it. I'm not sure what needs to be done to make this happen but the ability to easily configure the primary layout of a contact to be essential.

What I have done is set the admin side of CRM to use the "Seven" theme. I have then enabled display suite to render the edit form, default view mode, and full content view mode for the default "organization" contact type. The edit form conforms to the settings in Display Suite and I can setup multiple columns and so on. However, the view page does not go through or use display suite for rendering in either view mode for some reason. I have cleared all the caches multiple times hoping it was simple to no avail.

Whats strange is the view mode "full content" is being applied in respect to hidden fields, display suite's "Expert" html setting, label settings, and all field related things. However, the page template is not being applied so columns are not being injected.

Anyone have an idea on where the root of this issue stems from?

CommentFileSizeAuthor
#5 ds_integration-2075039-5.patch2.05 KBrosk0

Comments

Anonymous’s picture

@Ravenight - have not played with Display Suite and CRM Core together, so I do not have any real insights into the problem. I would love to know more about this issue though, and encourage you to report back with whatever you find out.

One possible cause of the issue could be having Page Manager (which is part of ctools) and Display Suite running together. This is just a guess, but it's something worth looking into. You may want to start there and see if any Page Manager settings are behind the problem with Full Content display modes.

Also, it is probably worth it to test your issue against a fully-configured distro of CRM Core in order to confirm the problem is a general one that exists for everybody. Grab a copy of CRM Core Donation Demo at https://drupal.org/project/crm_core_donation_demo and try installing Display Suite there. If DS doesn't run properly within that distro, this is probably a general issue someone needs to look into.

But let me know how things go! I am very interested in learning more.

Ravenight’s picture

I will give that a shot and let you know what I find. In the mean time I have found the following:

  • If I override the crm-core/contact/% page with page manager and render the page in a panel using the "Full Content" view mode, display suite's layout is applied.

This seems like a lot of extra hoops to go through but it is a solid work-around for the moment.

choy’s picture

i can confirm the same problem with display suite and since field_groups update to 7.1.2. the same is happening with any fieldgroup setting - In dblog I cannot find any message about - and ds + field_group works perfekt with other entities on our installation - tjhe bug must be therefopre anywehe in crm core

Anonymous’s picture

Assigned: Unassigned » rosk0

@Ravenight - this is really valuable feedback, thank you for pointing it out.

I was able to reproduce the problem by repeating the steps you took. I believe I understand the issue, it looks as though page manager is somehow preempting proper rendering of the contact.

I am going to look into this over the next week. I believe there is a simple solution here, and it lies with just ensuring the page manager integration is done a different way. Thank you for the report, and I hope to get this corrected shortly.

rosk0’s picture

Status: Active » Fixed
StatusFileSize
new2.05 KB

Fix committed to development branch.
Fix represented with attached patch.

choy’s picture

I just tried out the patch ds-integration patch - at first sight eveything is now fine and well also the bug with not displayable field_group is now fixed with this patch - thanks @RoSk0 good work!

Ravenight’s picture

confirmed. This is now working. Great work!

muschpusch’s picture

Thanks a lot for posting the patch too! Works great!

Anonymous’s picture

Status: Fixed » Closed (fixed)

  • Commit deadd07 on development, 7.x-0.x, import authored by sanchiz, committed by RoSk0:
    Issue #2075039 by Ravenight, techsoldaten, RoSk0, sanchiz: Display Suite...

  • Commit deadd07 on development, 7.x-0.x, import, activity_pages authored by sanchiz, committed by RoSk0:
    Issue #2075039 by Ravenight, techsoldaten, RoSk0, sanchiz: Display Suite...