Hi,
is there anyway to display a message on the front end site to manager users? e.g add a menu that is hidden unless you are logged into the manager.
thanks,
Gareth
You could add a snippet like this to your template, or in a template variable.
* create a snippet with the following code
* create a chunk named ’FMM_chunk’ which has the code you want to show if the user is logged into the manager
/or add the html directly into the $output area in the snippet
<?php
/* Frontend_Manager_Message
*/
$output ="";
if(isset($_SESSION['mgrValidated']) && $_SESSION['mgrValidated'] == 1){
// print the FMM_chunk contents
$output .="{{FMM_chunk}}";
}
return $output;
?>