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?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | ds_integration-2075039-5.patch | 2.05 KB | rosk0 |
Comments
Comment #1
Anonymous (not verified) commented@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.
Comment #2
Ravenight commentedI will give that a shot and let you know what I find. In the mean time I have found the following:
This seems like a lot of extra hoops to go through but it is a solid work-around for the moment.
Comment #3
choy commentedi 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
Comment #4
Anonymous (not verified) commented@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.
Comment #5
rosk0Fix committed to development branch.
Fix represented with attached patch.
Comment #6
choy commentedI 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!
Comment #7
Ravenight commentedconfirmed. This is now working. Great work!
Comment #8
muschpusch commentedThanks a lot for posting the patch too! Works great!
Comment #9
Anonymous (not verified) commented