Closed (works as designed)
Project:
Display Suite
Version:
7.x-1.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 May 2012 at 00:01 UTC
Updated:
5 Feb 2016 at 07:25 UTC
Jump to comment: Most recent
Comments
Comment #1
Barry Tielkes commentedI'm having the same problem. I need abbr tags in my titles.
Comment #2
gollyg commentedDS defines a rendering function for the node title, so one approach is to override this rendering function using hook_ds_field_info_alter(). This allows you to override the default rendering function (ds_render_field) and replace it with your own.
In a bit more detail at http://thislittleduck.com/content/display-suite-and-html-node-titles.
Comment #3
swentel commentedYeah, while I understand the use case, it's relatively rare. There are hooks and and now also articles like in #2 explaining how to circumvent this.
Comment #4
Anonymous (not verified) commentedSolution in #2 worked for me. Saved me a bunch of time. Thank you!
Comment #5
jgullstr commentedLink in #2 is dead.
For future reference, here's an example of a conditional override:
I have no idea if the 'module' key is used anywhere, but keeping it up to date should make for easier debugging.
Comment #6
jieyyal commentedHere is a more specific reference:
https://www.drupal.org/node/2391803