Hi guys
Is there a way to NOT show the unpublished menu items for pages and news on the front end when logged in as admin? We do not use front end editing so have no need for front end viewing of unpublished pages.
That editing can be done in the backend.
My reason: So admin can remain logged in to view the site as a visitor will, without needing to log out to view the site with the pages hidden.
Cheers
GW
It is so easy to either log-out or to use a different browser that it is hardly worth applying any development effort to this. Specially since it could NEVER be exactly the same as what a guest user would see.
That being said, you might take a look at the "no_show" plugin. I suspect that it could be modified to do what you want.
Well, that approach will not do what you want. However, with a small filter addition to the cookie autorization it is possible to make a plugin that will deny the logon cookie for the front end.
Such a plugin is now available in tonight's build. You may not really like it, though. It makes it so that an admin is actually not logged in when viewing the front end.
BTW, it would be possible to extend the plugin to list which admins had this option. Not sure if that is actually useful, though.
Cheers for that, I will take a look at the nightly build and update in the morning....
Being NOT logged in to the front end is fine by me as I do not use the front end for any editing etc, however there may be times where the login is needed, so I will have a think about the filter options you mentioned.
Cheers
GW