1
votes

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

4

4 Answers

1
votes

You should use Context. With Context, you'll be able to manage contextual conditions and reactions for your drupal like Regions.

0
votes

Views is the best at creating a slideshow of images or any type of data on your site.

Used in combination with nodequeue it might offer near or the full functionality you are trying to achieve (check this out ... and this too) - but I don't understand your question entirely.

0
votes

By my opinion Views is too complicated task for much simple request.

There is a few ideas for solution:

  1. Easy way - You can create a specific template file or add some if statments to the node.tpl.php(specific tpl better)
  2. For minor changes - Create a new context with "path" filter and "theme html" reaction, than hide the field by the css
  3. Best but complicated(large usages) - create a new "view mode" and implement the display by new "hook_menu".

~ Almog

0
votes

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