Hi there,
I am working on a member section and I have written a function to check if the person is logged in and if they are of a certain role.
If they aren’t they are sent via header: to another page.
HOWEVER, cornerstone does not preview these pages because the preview window cannot load… I presume that the preview page keeps on getting sent away? Is there a global variable that Cornerstone uses that I might reference?
Also I am using X because the site is in X and has customised templates already created.
