Display a list of content inside an other content - drupal

I would like to know if it's possible in drupal-7 do make a list of a specific content type into an other content.
Not sure if there is such an option in Drupal. (I jsut started to use it)
Thanks in advance !

Not sure what you want to do but maybe you are looking for the entity reference module: https://drupal.org/project/entityreference
Edit: views module is what you need: https://drupal.org/project/views

Yes the views module is the ideal choice for making customised lists of content. Its is also easier to layout these lists if you use the panels module https://drupal.org/project/panels

Related

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?
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
You should use Context. With Context, you'll be able to manage contextual conditions and reactions for your drupal like Regions.
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
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.
By my opinion Views is too complicated task for much simple request.
There is a few ideas for solution:
Easy way - You can create a specific template file or add some if statments to the node.tpl.php(specific tpl better)
For minor changes - Create a new context with "path" filter and "theme html" reaction, than hide the field by the css
Best but complicated(large usages) - create a new "view mode" and implement the display by new "hook_menu".
~ Almog

How to allow users to create slideshows in Drupal 7.14?

Please i am looking forward to add some modules in Drupal 7.14 that allows my users to add a slideshow content (series of images with text). I would like to know as well if it is possible to categorise such type of content.
Which modules do you think are suitable for such purpose? or simply how someone can achieve that?
Adding to what YoloTats said, you can also use Views slideshow module: http://drupal.org/project/views_slideshow/
Since that is used with views as well, you can definitely categorize the content. Just set up a new content type with fields for your images, text, and categories and then display all of those contents in a view with a slideshow display. The views_slideshow module allows you to cycle through your content with a variety of transitions, pacing, etc.
Hope this helps.
There are multiple modules you can use, here are several. I like to use them with Views
http://drupal.org/project/flexslider
http://drupal.org/project/nivo_slider

Drupal Search in Block View

i need to create a block View with a search box attach to the header in order to search nodes for one specific content type. I don't know how to achieve this, so i ask for your help. Something like the attached photo.
I'm not exactly sure here, but it sounds to me like you want to:
Create a view;
add a "filter" which limits the view to only your desired content type;
add an "argument," and then expose this argument, for either title, body, or one of your text fields.
Unfortunately:
This alone will not search the whole node. If most of your content is in body, this would probably be a good way to do it. But, for example, if for some reason you have a title like "Bicycles in Timbuktu" with a body that does not contain the word "Timbuktu" - were your users to search for Timbuktu, this item would not appear. That said, it's probably a rather rare case, and if you are simply aiming for happy users, and not rigorous perfection, this will likely be enough.
That said, Kniganapolke's suggestion of checking out Custom Search is excellent. The advice here is more applicable if you want to do this as you've designated and using the power you have with Views (and the other possibilities they offer), rather than a more dedicated-type module. If you don't have other specifications which require you to use Views, I'd guess that Custom Search will likely be the better solution.
Have you tried Custom Search module?
If anybody is interested, i have edited the header block view and load a custom_search_block inside it.
Thanks anyway
create a view with the content you want and then filter it by content. Expose the filter.
http://beeznest.wordpress.com/2011/11/01/create-a-view-to-search-on-content-title-in-7-steps-in-drupal-7/

Create Next/Previous node links in a node-panel in Drupal?

So I am on a seemingly simple mission of creating previous/next buttons for a type of nodes, like for pages in a book. Sounds easy enough, considering that there is the Custom Pager module. But, the module does not work for nodes which are built using panels, as described in this bug: http://drupal.org/node/591782
There is another module which creates an API for this operation, but it does not seem to have custom sorting based on a view.
Any ideas would be highly appreciated and thank you in advance.
What about using the views module (and its built-in pager functionality) to display a single node at a time?
In the end I used the code described in the bottom of this page, but had to modify it a little to sort by date:
http://drupal.org/node/37767
Then put it into a custom content pane using (note that I rearranged the variable order):
print node_sibling(node_load(arg(1)), 'previous')
print node_sibling(node_load(arg(1)), 'next')

Drupal 6: View module generates div mess :/

I created some blocks with View Module. View Module really makes things easy! but it puts so many divs, class-names, etc... to output. and it mess up for some cases. example below:
alt text http://img.skitch.com/20100630-kh7rtfgj987c3dieibxu7wdxyd.jpg
How can I get a CLEAN output from view? without any div, span...
Appreciate helps! thanks a lot!
You can write your own theme files for the views to over ride the default output. If you click on 'theme information' in your views admin it will show you the candidate template files used.
However having a lot of divs won't hurt necessarily, so approach re theming with caution.
You can also try Semantic Views.
Try Style=unformatted in the basic settings (as opposed to Grid or Table or Panel etc).

Resources