Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, I really like the way this theme looks, and apart from the width problems with the mega drop-down I'm pretty happy with the results.
My issue is that my site content is so far all static pages.
What I wish to do is place articles in the sidebar, these would be recent news. I've tried to configure the (first or second) sidebar to show those articles and can't get that to happen.
I tried placing "recent content" in that block, but that shows all the edits on static pages, and I only want articles to appear there.
Any tips would be great,
Thanks,
jim
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedI installed Views, which I understand is included in Drupal 8. That made it easy to make a View that contains all Articles with the tag 'news'.
Then I made that View a Block, which I am showing in The Sidebar.
Hope this helps someone else.
Comment #2
BhumikaVarshney CreditAttribution: BhumikaVarshney as a volunteer and at OpenSense Labs commented1. Install Views module to create view of articles.
2. Enable the Views and Views UI module.
3. Structure > Views > Add new View.
4. Then you just need to select ''Type of: Article'' to display only recent or newest one articles and also check the checkbox of Create a block.
5. Place the block of Views: Article to either First Sidebar or Second Sidebar.
Hope it will work!