Code: Select all
{if !$ccuser->loggedin() || ($ccuser->loggedin() && !$ccuser->memberof('Approved Members'))}
{session_put var='last_page' value=$page_alias}
{redirect_page page='member-login'}
{/if}
EDIT: Also meant to add that if I go ahead and login on that redirected page (it's our front-end login for members to view the secure content), I don't experience the problem. Basically, the admin editing interface appears to be running the Smarty code, where it did not used to do this (we've been using CMS Made Simple for nearly three years now).
Erik