Page 2 of 2

Re: CGFeedMaker

Posted: Tue Dec 15, 2009 3:27 pm
by Hannibal
Removing that line has fixed it  :)

Re: CGFeedMaker

Posted: Tue Dec 15, 2009 3:28 pm
by Hannibal
Removing that line fixed it! :)

Any ideas about how I'd go about having two seperate RSS feeds from the News Module? I have 2 categories, "news" and "productions" and would like a feed for each ideally

Re: CGFeedMaker

Posted: Tue Dec 15, 2009 3:36 pm
by Rolf
You need to have two news-feed templates.
In the two templates, add category="productions" and category="news" in the line {news assign='junk'}
One template with {news category="productions" assign='junk'}
And the other with {news category="news" assign='junk'}

I think this should work, but you have to try it.

Rolf

Re: CGFeedMaker

Posted: Wed Dec 16, 2009 3:07 pm
by Hannibal
Rolf, you are a genius! Both feeds working perfectly now, thanks so much for all your help!

Re: CGFeedMaker

Posted: Wed Dec 16, 2009 3:30 pm
by Rolf
Great to hear Hannibal, and thanks for the Karma!  :D

Would you please put [solved] in the title of the first post?

Regards, Rolf  ;)

Re: [SOLVED] CGFeedMaker

Posted: Sun Dec 20, 2009 12:14 pm
by Rolf
Hannibal wrote: One other question, some URLs are displaying as: http://www.fbtvonline.co.uk/news/106/53 ... ction.html

Is there a way to remove the "/106/53/" and "d,production.html"?
Rolf wrote: No problem, I have tested it on my testsite just now.
And yes the d,production means detailtemplate=production!!!
Just for future reference:

/modules/News/action.default.php

Code: Select all

    $prettyurl = 'news/'.$row['news_id'].'/'.($detailpage!=''?$detailpage:$returnid)."/$aliased_title";
    if (isset($sendtodetail['detailtemplate']))
      {
	$prettyurl .= '/d,' . $sendtodetail['detailtemplate'];
      }