You are not logged in.
I'm new to ThirdLight, so I have a couple of beginner questions...
I need to put a snippet of code right after the opening <body> tag. I found one template with that opening tag: header_common.tpl. Is that the only one?
Inside a template file, is there a way to control whether one of its elements appears based on the user type? I want this code snippet to be on the page for anyone who visits the site except an administrator.
Thanks very much!
Offline
Hi Katie,
These are the templates that make use of a <body> tag:
contactsheetpopup.tpl
grid.tpl
header_common.tpl
header_loginpage.tpl
htmlemailheader.tpl
lightboxreceipt.tpl
orderreceipt.tpl
publishweb.tpl
Where available, you could inspect $IMS_USER.usertype. A value of 12 represents an administrator
Use {debug} to see what variables are available to each template.
Best Regards,
Steve
Offline
Thanks so much, Steve! Your post is incredibly helpful. Thank you thank you!
Offline