0

How I can allow two html tags <sup> and <sub> in node title of all content types.

Or may be is there some module for BB tags which allow using BB-codes in title?

Or my ba is there some hook for preprocess all titles?

  • ^ although not an EXACT duplicate, you should be able to get what you need form that question/answer. – Chapabu Sep 18 '13 at 15:30
1
function template_preprocess_node(&$variables) 

makes available in your node.tpl the variable $title, so you can wrap this as you like in your node.tpl theme file.

| improve this answer | |
  • but if I do it in template_preprocess_node, this changes affect only node and in admin panel node titles will not affects img844.imageshack.us/img844/2183/47sj.png – Winston Sep 18 '13 at 15:39
  • I am suggesting wrap $title variable with your html tags in the node.tpl file to show the title as you like. – Enxebre Sep 18 '13 at 15:46
  • ok. But how I can do that title changes in admin panel? – Winston Sep 18 '13 at 15:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.