I use this to completely hide the Site.PageActions for a single login site (:if auth admin:) * [[Page.Target1 | Label1 ]] * [[Page.Target2 | Label2 ]] (:ifend:)
You might want to use (:if authid:) * [[Page.Target1 | Label1 ]] * [[Page.Target2 | Label2 ]] (:else:) * Label1 * Label2 (:ifend:) but you will need AuthUser recipe loaded. Rgds Brian On 2 April 2011 08:14, Hans <[email protected]> wrote: > Saturday, April 2, 2011, 12:05:55 AM, Al Louis Ripskis wrote: > > > This doesn’t work: > > # require valid login before viewing pages > > $DefaultPasswords['read'] = 'id:*'; > > Because this code requires a login before the newcomers can even get to > the homepage. > > I would like the newcomers to be able to read the homepage, see the > > links, which hopefully would intrigued and motivate them to > > register, giving their real names and emails. > > $DefaultPasswords['read'] = 'id:*'; > > and set a read password on the Homepage as '@nopass' > (without quotes). > > That leaves the home page open for public access, > and requires login for all other pages. > > It may make the side bar disappear till you are logged in. > So your registration info needs to go into the home page content. > > > ~Hans > > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > -- Brian Tibbels IT support for small business and the individual http://clickmarlow.co.uk/ m: 07804 109906 t: 01628 477640 skype: brian.tibbels
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
