Page 1 of 1

Re: Trying to modify RSS Feed links

Posted: Tue Jan 23, 2007 11:26 pm
by Elijah Lofgren
If I understand you correctly (pardon me if I do not, I am very tired right now)

Look at the page with alias "recent-news" and see what ID it has (just look at the link when you are editing it)

If you find, for example, that the id of the page is "10" then try this code (replace 10 with the real id):

$returnid specifies the page to return to.
$onerow->link = $this->CreateLink($id, 'detail', 10, '', $sendtodetail,'',true,false,'',true,'news/'.$row['news_id']);
Hope this helps,

Elijah

Re: Trying to modify RSS Feed links

Posted: Wed Jan 24, 2007 7:01 pm
by Elijah Lofgren
Ah, I think my change would have only worked if pretty URLs were off try this (substituting 10 with your page id):

Code: Select all

$onerow->link = $this->CreateLink($id, 'detail', $returnid, '', $sendtodetail,'',true,false,'',true,'news/'.$row['news_id'].'/10');

Re: Trying to modify RSS Feed links

Posted: Wed May 23, 2007 8:47 pm
by carasmo
I did this with 1.06 (or the latest as of this writing, with the updates to the title of article in title bar and blogger like url links) and it doesn't work.

Please, I'm begging.

Thanks!!