Hi all,

I have created a new content type called Single Promo Box, which has fields for title, text and image. The idea is that I can create multiple copies of a Single Promo Box, each with different field values. I then want to place a few of them on the homepage. Is it possible to do this?

Thanks,
Maria

Comments

mariacheung’s picture

OK so i've created a new content type called Homepage, which has a number of fields. The fields are node references to the Single Image Promo content type. So I can place a specific Single Image Promo on the homepage fine now. But what template file do I need to create to style the way Single Image Promo is shown when it's a node reference on the homepage?

hokuspokus’s picture

Reading through your post it doesn't seem clear what you want the content type to do. Are you trying to feature random/specific content in that promotion box? So say have a product appear in the Single Promo Box that you assign, like a sale or feature item. From what you said it sounds more like something you would reveal with Views rather than individual content types.

The Promo Box would be a view and select for the fields that you want to appear.

roychri’s picture

The Panels module allow you to put content of many different source (nodes, blocks, views, other panels) the way you want.
If you only want a list of promo, you may try the Views module.

You could create a panel or a view and specify a path. Then you set this path as your frontpage (site configuration -> site information).

http://drupal.org/project/views
http://drupal.org/project/panels