News / RSS and FrontEnd User
Posted: Fri Nov 24, 2006 12:02 pm
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
To try and provide a fork, but the variable is not recognised? Anyone any ideas.
Russ
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');
}
Russ