DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Blog Module: "Latest" posts

 6 Replies
 2 Subscribed to this topic
 26 Subscribed to this forum
Sort:
Author
Messages
Veteran Member Send Private Message
Posts: 1245
Veteran Member

I haven't quite figured this one out ...

I have a Blog page, and I would like to show a few of the recent posts and teaser text on the home page.  When someone clicks the title to read the article, I'd like that to go to the Blog page.

I'm using a Blog module on the home page, with the main blog selected as the parent.  But, when I click a title, the blog post is shown on the front page.  Is there a way to alter this behavior? Thanks for the help.

Senior Member Send Private Message
Posts: 1513
Senior Member
I'm pinging Peter for you. Maybe he has a solution? Outside of that, I'd suggest maybe using the Reports or XML Module to do this instead (as a workaround).
New Around Here Send Private Message
Posts: 12
New Around Here
The way Id' do that is to use the RSS feature. With RSS you're extracting the main module's content in XML. You can then consume that on your home page with a Newsfeeds module and use a transformation to show the posts as you wish. This is the way it's done on the DNN-connect site for instance. Peter
Senior Member Send Private Message
Posts: 1513
Senior Member

What's the difference between the RSS and XML modules again?   

New Around Here Send Private Message
Posts: 12
New Around Here
RSS is a protocol based on XML. For non-techies: XML is like a "language" and RSS is expressed in that language. "RSS feeds" are commonly found on news sites through a link on the page somewhere. This then commonly shows the latest articles in this XML language. You'd use the "Newsfeeds" or "XML" module (the former has a few more options and supports RSS out of the box) to show this RSS feed somewhere on your site (doesn't even need to be the same site).
Senior Member Send Private Message
Posts: 1513
Senior Member
Posted By Peter Donker on 23 Jun 2019 05:07 AM RSS is a protocol based on XML. For non-techies: XML is like a "language" and RSS is expressed in that language. "RSS feeds" are commonly found on news sites through a link on the page somewhere. This then commonly shows the latest articles in this XML language. You'd use the "Newsfeeds" or "XML" module (the former has a few more options and supports RSS out of the box) to show this RSS feed somewhere on your site (doesn't even need to be the same site).

I just remember the RSS and XML modules being nearly identical, is all...   

Advanced Member Send Private Message
Posts: 244
Advanced Member
Dont quote me on this, but I kinda remember that are two tokens available in the template engine, one just gets the blog post on the current page (querystring parameter only) and the other gets the "permalink" that will be on the actual blog page.

These Forums are dedicated to the discussion of DNN Platform.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved