0

I'm creating a new content type named "Portfolio".

Image 1: I put a name to the "Title field label": Project Name

Content Type Edit

Image 2: That thing works as a 'Node module element' in Fields

Content Type Manage Fields

Image 3: I can't get the Field to sort it below the Project Image

Content Type Manage Display

I even can't get this 'Node module element' from Views (using Views module). The sorting problem is specific to "Teasers" in the portfolio page:

Teaser view

I just want the Project Title to sort a bit so that I can place the title just after the Project Image. I'm familiar with WordPress, but a newbie in Drupal.

2
  • After an answer: I got something that I missed: About Image 3, I'm afraid, I missed to say that, in both the "Default" and "Teaser" tab, the title is missing. Oct 6, 2013 at 11:25
  • Did you try the Display Suite module? Oct 6, 2013 at 15:45

2 Answers 2

1

There are three ways to go about.

1) Use views. In views the Field to add is Content : Title. (Even if you change the name of the title field it is still title. It is just changing the label on the form.)

2) You can install Display Suite Module. Once you install this module you would get additional fields once you select a layout in the layouts section.

Display Suite allows you to take full control over how your content is displayed using a drag and drop interface. Arrange your nodes, views, comments, user data etc. the way you want without having to work your way through dozens of template files.

3) The third method is to work with the node.tpl.php you have a node object. Since you are using teaser the title would be available in a field. All the other fields can be accessed from the node object.

1

In image 3, there is another separate tab for editing the order and display of teasers for your content types.

If your content isn't displaying properly in views as a teaser, you can change the format options in your view to show:Fields instead of show:Content , this will then allow you to add specific fields from your content type, and add custom CSS classes to all of your fields for extra formatting in CSS.

3
  • I'm afraid, I missed to say that, in both the "Default" and "Teaser" tab, the title is missing. Oct 6, 2013 at 11:24
  • Yes that is correct, in the manage display tab for a content type, you cannot change the order of the title with other fields. But if you are only worried about displaying the title below an image while in a view, use fields instead of content:teaser. Then you can set the title field to appear below the image field.
    – Collins
    Oct 6, 2013 at 15:51
  • The Title Module might be worth looking into, you can replace the default title with a standard field API, which may allow it to appear on the manage display page.
    – Collins
    Oct 6, 2013 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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