How to add RSS to just one page

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
soulja90
Forum Members
Forum Members
Posts: 83
Joined: Tue Mar 13, 2007 10:56 pm

How to add RSS to just one page

Post by soulja90 »

Hi guys!

I LOVE CMSMS


I just want to add the capability of RSS to one page.

What I mean is this:

User sees this page:

http://www.wdclub.com/resources/articles/

Sees the RSS button.

Clicks on it.

Now everytime I add stuff to it, he gets notified.

RSS just for that page.

I tried it but it only shows this

http://www.wdclub.com/news/rss/

I don't want news section, like how can I show http://www.wdclub.com/resources/articles/

Know what I'm sayin
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: How to add RSS to just one page

Post by stopsatgreen »

Try this:

{news number='10' category='resources' makerssbutton='true'}

Not sure off the top of my head if that will work, but give it a go.
soulja90
Forum Members
Forum Members
Posts: 83
Joined: Tue Mar 13, 2007 10:56 pm

Re: How to add RSS to just one page

Post by soulja90 »

Nope no luck :)

Thanks for the reply though
soulja90
Forum Members
Forum Members
Posts: 83
Joined: Tue Mar 13, 2007 10:56 pm

Re: How to add RSS to just one page

Post by soulja90 »

Any luck on this friends:)

Love to put rss feeds.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to add RSS to just one page

Post by Dr.CSS »

Right now RSS feed only works with the News module, it can be configured to look like page content, copy the summary template rework it to only show news main content...

Create file modules/News/templates/justcontent.tpl with the following content:


{foreach from=$items item=entry}

        {$entry->title}
{eval var=$entry->content}

{/foreach}


Create a news category 'justcontent'

Make new article use 'justcontent' category, only put content in *Content: edit box...

Call it with this: you need both to get the RSS button...

{news category="justcontent" summarytemplate="justcontent.tpl"}
{news category="justcontent" makerssbutton="true"}

For a look like this...

http://multiintech.com/CMSMSDemo/index.php/just.html

Go to Home page to log into the backend to see... of course styling is up to you... oh and if you put more than one news tag in the page both news will come in the feed...

If you go to Extensions > Modules click on the name of the module or the word Help to the right to get the modules parameters...
Post Reply

Return to “CMSMS Core”