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)