22977 Posts in 11742 Topics by 2826 members
|Go to End|
11 September 2013 at 11:49pm Last edited: 11 September 2013 11:50pm
I wrote a redirector page to the parent page inside SiteTree. Works perfectly, but when "Split Mode" is enabled, and I call the page via SiteTree, the CMS jumps to the parent page.
Here ist my code:
class ParentRedirect_Controller extends ContentController
public function init()
if($link = $this->Parent()->Link())
This issue is not, when using the standard redirector page type. Can anyone tell me, how to avoid this jump to the parent page inside the CMS? Thanks.
|Go to Top|