How do i check if admin is logged in?
Im making a blog feature and need to know in the front end if admin is logged in.
this does not seem to work in the front end.
if (!defined('IS_ADMIN_FLAG')) {
echo $this;
}else{
echo $that;
}
How do i check if admin is logged in?
Im making a blog feature and need to know in the front end if admin is logged in.
this does not seem to work in the front end.
if (!defined('IS_ADMIN_FLAG')) {
echo $this;
}else{
echo $that;
}
Never mind i figure it out. I just started to build a admin back end instead of making the blogs editable in the front end. Almost done with zenblog![]()
Sounds like an interesting feature that would make a terrific add on ...
Let us know how it goes ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Its going pretty well so far :)
I have it up as a demo here
http://www.rocky.nu/index.php?main_page=blog