page template selection redirects to admin home
Posted: Tue Jan 27, 2015 9:23 am
Hello,
i'm using CMSMS for several years now and this is the first time i have a problem like this.
I wanted to have a redirect link but in the menu it needed an image which can be uploaded and selected width GBfilepicker.
So i created a new template
This worked well with 1.10.11 but yesterday, i updated to 1.10.12 and now it is impossible to create or edit pages with this template.
when i select this template, i get redirected to the admin homepage. (/admin)
i'm using CMSMS for several years now and this is the first time i have a problem like this.
I wanted to have a redirect link but in the menu it needed an image which can be uploaded and selected width GBfilepicker.
So i created a new template
Code: Select all
{strip}
{process_pagedata}
{content_module module="GBFilePicker" block="Header_image" media_type='image' mode="browser" dir='images/pagebanners' assign='headerimg' label="headerimg" }
{content assign='maincontent' oneline="true"}
{/strip}
{redirect_url to=$maincontent}
when i select this template, i get redirected to the admin homepage. (/admin)