Search code examples
drupaldrupal-7drupal-theming

Drupal - Show content on specific page


Am I able to add the following field to a content type, so that each piece of content I create can be conditioned to a page?

specific page field

Or is there a module to extend Publishing Options, where by it adds all the pages I have created (just like 'Promote to Front Page')? If not, why is no one doing this? As a new user to Drupal this seems like it would be a handy operation. (I have already tried this module but it doesn't achieve the results I'm after).

If none of these solutions are available, what would be the best alternative way of doing this?

I've posted this question on Stack Exchange for Drupal but I need a quick answer and there seems to be a bigger community here :D


Solution

  • Have you used Views? it is one of the most common used drupal modules. It doesn't extend publishing options directly but it does replace it in a way. You can say by example put a list of al content-types: your_own_Content_type that have the publishing options of promoted to front-page. then sort them by title, date, what ever you like.

    you could also create only one view and create multiple blocks out of it. you have to understand the logic of drupal: if you want different blocks on different pages, you have to create the different pages AND different blocks

    create the view for one type of content-type and make one block out of it. put this block on the desired page. All your other blocks are made with the same view, just adjust a condition in your view and create a new block out of it. You should also put all your blocks in the same region, and set the to the right pages

    here you can find a lot of documentation if you run into any problems... drupal.org/project/views