News / RSS and FrontEnd User

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm
Location: North West England

News / RSS and FrontEnd User

Post by Russ »

I've been trying to suse news with front end user and try and have two news categories, one for anyone to see and one for logged in people to see. So far no problem apart from with the rss feeds. What I need to do is add the detail template into the url's for them. I've been looking as action.rss and it seems to ignore the calls... I tried adding in this code

Code: Select all

	if ($detailpage="dealernewsarticle")
				{
					//Dealer News
					$onerow->link = $this->CreateLink($id, 'detail', $returnid, '', $sendtodetail,'',true,false,'',true,'news/'.$row['news_id'].'/154/d,dealernewsdetail.tpl');
					} else {
					//Normal News
					$onerow->link = $this->CreateLink($id, 'detail', $returnid, '', $sendtodetail,'',true,false,'',true,'news/'.$row['news_id'].'/147');

				}
To try and provide a fork, but the variable is not recognised? Anyone any ideas.

Russ
Post Reply

Return to “Modules/Add-Ons”