Hello,
I am using MODx Evolution 1.0.4 with webloginPE 1.3.1 to build a small site that hides some staff only pdf files.
What’s the trick with including secure pages in a wayfinder menu ONLY when someone is logged in with webloginPE?
(not the modx manager - I am talking the front end of the site here)
I have a web user group called Staff - and a resource group called Secure - and I have linked the Staff user group with the Secure resource group - and I have created a Web User and assigned it to the Staff group.
At the moment you can see both non-secure and secure items in the site map - clicking on a secure item when not logged does return an error page - but I would prefer not to show the secure items at all unless logged in (so that you are unaware of the secure items unless logged in).
Eg.
site map when not logged in:
+ home
+ pdfs
--open
+ about us
site map when logged in:
+ home
+ pdfs
--open
--SECURE
+ about us
My WebLoginPE call is:
[!WebLoginPE? &type=`simple` &liHomeId=`39` &loHomeId=`38` &loginFormTpl=`wlpe-loginFormTpl` &successTpl=`wlpe-successTpl` &messageTpl=`wlpe-messageTpl` &resetTpl=`wlpe-resetTpl` &activateTpl=`wlpe-activateTpl` &disableServices=`profile,saveprofilesimple,deleteprofilesimple,confirmdeleteprofilesimple,registernew,register`!]
My sitemap call is:
[[Wayfinder? &startId=`0` &excludeDocs=`4,7,8,6` ]]
Any ideas?
Thanks in advance.