I've made a small modification against FckEditor's CMSContent plugin so that I'm able to insert links to related articles, which I heavily missed from the system before. So when searching for related articles I get a list of news_id elements (the IDs of those articles which matched the search crtiteria). Thus this is the only information I have about the news article and this is the point where I need to build a link which points to the article. However to build a proper link, I need to get the returnid also, which I couldn't determine.
I tried to use this code snippet:
Code: Select all
$contentops =&$GLOBALS["gCms"]->GetContentOperations();
$return_id = $contentops->GetDefaultPageID();
So what does returnid describe exactly? And how to determine it?
Thanks in advance,
Balint