[pmwiki-users] Changing login content
Tegan Dowling
tmdowling at gmail.com
Mon Apr 13 07:32:40 CDT 2009
There are at least a couple of ways to do this. One would be to
create a special version of the skin for your Main/HomePage that
doesn't incorporate any of the Site-group or other Main-group pages,
then set read-access to Main/HomePage to @nopass.
Another way would be to create an all-html version of index.php, with
the material you want your visitors to see, just with normal html
markup. Where I've done this, I've customized the root-level
.htaccess file
FROM:
RewriteEngine on
RewriteRule ^([A-Z].*) /pmwiki.php?n=$1 [L,qsappend]
RewriteRule ^$ /index.php [L,qsappend]
php_flag display_errors off
TO:
RewriteEngine on
RewriteRule ^([A-Z].*) /pmwiki.php?n=$1 [L,qsappend]
RewriteRule ^$ /index.php [L,qsappend]
php_flag display_errors off
(and I've also incorporated an html link somewhere to the site's
Main/HomePage for my own convenience.)
There are probably other approaches, as well. Ask if yo need more information,
Tegan Dowling
http://twitter.com/wikignome
"The future’s here already. It’s just unevenly distributed." -- William Gibson
On Sun, Apr 12, 2009 at 11:13 PM, graeinler <graeinler at gmail.com> wrote:
> Hi everyone,
>
> I have pmwiki password protected all pages and groups by editing the
> config.php file. This works fine, however, I'm wanting to
> add in some content (preferrably html) to the login page so that non
> members of the site at least has some content to look over.
>
> I've tried looking over the website on how to do this but I haven't come
> around anything.
>
> If anyone can point me where to start or what I need specifically to
> change, that would be most appreciated.
>
> Thanks ahead.
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
More information about the pmwiki-users
mailing list