page template selection redirects to admin home

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Locked
HarmO
Power Poster
Power Poster
Posts: 251
Joined: Thu Jan 26, 2012 3:22 pm

page template selection redirects to admin home

Post by HarmO »

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

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}
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)
Kind regards,
HarmO
Locked

Return to “The Lounge”