Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function to check if admin logged in or not?
#2
nvinanda Wrote:I'm trying to implement "Edit this page" link on each page of my GetSimple site. Since I don't want the visitors to see the same link while surfing, I thought of adding a conditional tag like "if(LOGGED IN )".

Please let me know if there's any function available who can do this task?

There is already a plugin for this here.
You need to switch on site wide cookies (in gsconfig.php) for such a functionality, however, the site wide cookies are broken in GetSimple 3.0 - see workaround in I18N CustomFields plugin.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Function to check if admin logged in or not? - by mvlcek - 2011-04-12, 22:33:51



Users browsing this thread: 2 Guest(s)