display the latest contents on the home page

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
vinceyang
Forum Members
Forum Members
Posts: 22
Joined: Mon Aug 06, 2012 1:24 am

display the latest contents on the home page

Post by vinceyang »

Hi all,

I am using CMS Made Simple version 1.11 .
Is there a way to display the latest content on the home page(like news)?

thank you
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: display the latest contents on the home page

Post by Jos »

Yes, just add this tag to the contentfield of your homepage:

Code: Select all

{news action='detail' articleid='-1'}
You might want to check the News module help for more options
vinceyang
Forum Members
Forum Members
Posts: 22
Joined: Mon Aug 06, 2012 1:24 am

Re: display the latest contents on the home page

Post by vinceyang »

Thanks for your reply.
But,
What I want to display is lastest contents but not lastest news.
Do you have another solution?
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: display the latest contents on the home page

Post by Jos »

Do you mean something like the recently_updated tag?

Check admin » Extensions » Tags
vinceyang
Forum Members
Forum Members
Posts: 22
Joined: Mon Aug 06, 2012 1:24 am

Re: display the latest contents on the home page

Post by vinceyang »

Jos wrote:Do you mean something like the recently_updated tag?

Check admin » Extensions » Tags
Thanks for your reply.
Yes, something like that.

I hope it can display like
http://dev.cmsmadesimple.org/project/fi ... ackage-326 .
There are include
title
content
modified date
....

I'd tried to modify it, but.....
I cannot solve it.
swarfega
Forum Members
Forum Members
Posts: 174
Joined: Mon Sep 06, 2010 10:51 am

Re: display the latest contents on the home page

Post by swarfega »

I use recently_updated and it works fine.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: display the latest contents on the home page

Post by Dr.CSS »

You want to show the content etc. of another page that recently updated...?

That would give a problem with google etc. as it may seem like duplicate content, and if you really want that why not just put the latest info on the Home page?...
vinceyang
Forum Members
Forum Members
Posts: 22
Joined: Mon Aug 06, 2012 1:24 am

Re: display the latest contents on the home page

Post by vinceyang »

swarfega wrote:I use recently_updated and it works fine.
Thanks!
The only problem is that only show the title and modified date.
vinceyang
Forum Members
Forum Members
Posts: 22
Joined: Mon Aug 06, 2012 1:24 am

Re: display the latest contents on the home page

Post by vinceyang »

Dr.CSS wrote:You want to show the content etc. of another page that recently updated...?

That would give a problem with google etc. as it may seem like duplicate content, and if you really want that why not just put the latest info on the Home page?...
Thanks!
I do not know that would result in google problems.
I hope visitors each visit my home page can view the latest content.
Post Reply

Return to “The Lounge”