I’m using Display Suite for D7 content type of Doctor so that my customer can order its fields into different display modes.
I attempted to use Display Suite for a Taxonomy Term Page of a new content_type of dashboard_content which has fields for links initially, a field for dashboard_category set to the term reference “My Dashboard” and a permission field so that customer can reorder these items as they want. The permission field is so that I can dynamically check for the permission of each item against the $user roles. For instance, one dashboard_content would be a link to “Create a page” and the permission required for that.
But as far as I can see, the taxonomy term page is just a listing of these items, very much like a View. Display Suite does not seem set up to manipulate other entities, just the properties of one content type.
Display Suite apparently uses parts of the Drupal core to build its form interface. I thought of using the code of the dashboard module in core which pulls in blocks. But it’s dependent on the delta column which is instantiated when a property is created for a content type.
A simple dashboard content with fields for each of the content should work in Display Suite, except how to dynamically assign the permissions to each field of content?
Perhaps I’m overlooking something obvious in the documentation for Taxonomy and Display Suite. Happy to be pointed to a better way to solve this in my custom module, sam