Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

How to determine what user opened CMS or the page on website?


Reply

3 Posts   441 Views

Avatar
Romano

23 January 2012 at 6:18am Community Member, 13 Posts

Hello! How to determine what user opened CMS (Admin Panel) or the page on website?

In the script \sapphire\core\SSViewer.php.

Avatar
martimiz

23 January 2012 at 6:23am Forum Moderator, 1091 Posts

You can easily find out about the curnt member - the docs tell it better then I could: http://doc.silverstripe.org/sapphire/en/reference/member

But I've no clue what you mean by mentioning SSViewer.php...

Avatar
Romano

23 January 2012 at 6:54am (Last edited: 23 January 2012 6:54am), Community Member, 13 Posts

You can easily find out about the curnt member - the docs tell it better then I could: http://doc.silverstripe.org/sapphire/en/reference/memberThanks, but this is not appropriate, because after authorization is impossible to determine what is open (CMS or Web Page).

But I've no clue what you mean by mentioning SSViewer.php...Need for customising the template parser.

Any other ideas?