Background: My client uses quotes (not random) throughout their site. I needed an app to allow them to edit these at will. Since I couldn't add the quote editor to the manager (as it is not appropriate to do), I built a snippet to take care of this. Users can log into the frontend with AuthenticateVisitor snippet. If they have priviledges, they can click an 'edit' button and edit the quotes.
Problem: These same users are the site 'editors'. They now require two different logins to the same site to do what they see as 'editing' stuff. So to edit quotes, they log into the frontend, to edit content they log into the backend. This wasn't acceptable...
Implied assumptions:
- Patch is to an unmodified 0.6.1.2 PL:2 installation
- AuthenticateVisitor is implemented as Ralph describes elsewhere
- This is a divergence from the design philosphy of Etomite
- Manager log in will no longer work so you must provide link users can get to after frontend login
Edit file: /manager/includes/accesscontrol.inc.php
Change line 4: Comment out startCMSSession();
Add new line 5: session_start();
//startCMSSession(); session_start();Add new line 171: startCMSSession();
<?php
exit;
}
startCMSSession(); <---------NEW LINE
if(isset($_SESSION['validated']) && $_SESSION['permissions']['frames']!=1) {
I'm a new user of Eto. I have no problem with the 'editors' logging in to the manager....but how do I make the quote editor (a custom app) available within a unified interface? If there is a better way of accomplishing my goal, please let me know.











