Score:0

How do I add the news that I created earlier to the slideshow using the Paragraphs module?

fi flag

I created Content type - News. And added ten news. Using the View module, I displayed them on the /news page.

I need to make a slideshow with 3 selected news on the frontpage of the site using the Paragraphs module.

First, I looked and read many manuals on how to create a slideshow in Drupal.

And all manuals have similar steps for implementing a slideshow. Using the Slick Carousel module as an example:

  1. Install Slick Carousel and Slick View modules to make slideshow
  2. Add the necessary libraries for the modules to work
  3. Create Content type
  4. Add fields (like Image and Link) to the Content type
  5. Create content for this Content type
  6. Create a View for this Content type and select that this View needs to be displayed in the block
  7. Add Image and Link fields to FIELDS in View settings
  8. Select the Slick Carousel FORMAT in the View settings and configure it
  9. Create Slick Optionset in Configure -> Slick, configure it, Save
  10. Add the View block to the region.

I deliberately highlighted steps 3-5 and 7 in bold. Because I already have a Сontent type (news) and the View FIELD should be different in my case.

Therefore, in my case, the steps should probably be something like this:

  1. Install Slick Carousel and Slick View modules to make slideshow
  2. Add the necessary libraries for the modules to work
  3. Add paragraph type
  4. In the paragraph type, add some kind of field thanks to which I can select the news
  5. Select news manually in the field settings
  6. Create a View for this Content type and select that this View needs to be displayed in the block
  7. Add some field to FIELDS in the View settings (perhaps a paragraph)
  8. Select the Slick Carousel FORMAT in the View settings and configure it
  9. Create Slick Optionset in Configure -> Slick, configure it, Save
  10. Add the View block to the region.

I read somewhere that in the Content Reference field I can somehow manually select news.

But when I added the Content Reference field to the paragraph type: enter image description here

I did not see where I can manually select news:

enter image description here

When I added a paragraph in the View settings in FIELD, I also did not see any settings where I can select certain news.

What steps do I need to take to implement this?

Kevin avatar
in flag
Its not done from this screen. Its done on the paragraph itself.
ewik avatar
fi flag
@Kevin Where exactly can this be done in a paragraph?
Kevin avatar
in flag
On the field... after you add it. It is content managed.
ewik avatar
fi flag
@Kevin I do not understand you. Сan you take a screenshot where it can be done?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.