Page 1 of 1

News / RSS and FrontEnd User

Posted: Fri Nov 24, 2006 12:02 pm
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