Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

When viewing a node, I'd like the Title to display below one of the other fields in the Content Type, but it's not available to arrange in the Manage Display tab.

With all of the flexibility and power that Drupal gives me, do I really need to create a custom template for each of my content types? :(

Any help is appreciated!

share|improve this question
1  
There are some ways to do it: drupal.stackexchange.com/questions/1553/… –  Volker Jun 5 '12 at 4:45
add comment

3 Answers 3

up vote 3 down vote accepted

You can do this in Panels.

First, remove the print title statement from page.tpl.php in your theme.

Usually it looks something like this:

      <?php if ($title): ?>
            <h1 id="page-title"><?php print $title; ?></h1>
          <?php endif; ?>

This will prevent Drupal from printing the title automatically.

Then open up Panels and activate (if you haven't already) the node override template and the user override template as well as any other places where you need to display the title.

Then add the title where you want it to appear from within the Panels interface (Add content -> Page elements -> Page title).

share|improve this answer
    
Thanks, I'll give this a try in the morning. –  Kenny Wyland Jun 5 '12 at 5:26
    
This worked wonderfully, thank you. (and along the way it helped me understand how I should set up the other pages on my site. Thank you very much!) –  Kenny Wyland Jun 5 '12 at 15:39
    
Or with Display Suite. –  Kevin Mar 31 at 9:05
add comment

I agree the Title module is a great solution for many use cases. The Title module converts node titles to the field API in order to make nodes fully translatable. This has the effect of adding the title field to the manage display UI and they can be managed like any other field. In many cases this is much better than using template overrides or installing a much heavier module such as Display suite or Panels just to manage node titles. The Title module can be configured to convert the title on all future bundles and existing title fields have a convert link next to them on their manage fields UI.

share|improve this answer
add comment

Instead of using a module for this simple request, you can also just adapt your node.tpl template file, and print the field required before the title.

share|improve this answer
    
Because I don't want to have to edit multiple node type templates for every single drupal site I set up... and while I know this is the standard "simple" answer... for a site as powerful and complex as drupal, being unable to change this one obvious thing that people would want to change is just stupid. I've since started using DisplaySuite which allows me to do this dynamically and I'm very happy with not hacking my templates all the time. –  Kenny Wyland Feb 23 '13 at 17:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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