[pmwiki-users] Directing users to the wiki homepage

Swift, Chris Chris.Swift at eu.dodea.edu
Fri Oct 3 02:02:47 CDT 2008

Dear all,

May I recommend a different action?  How about setting up one of the
website skins such as Triad where you get a right and left bar
navigator.  Then simply use one of the bars as the "news."


-----Original Message-----
From: pmwiki-users-bounces at pmichaud.com
[mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Eemeli Aro
Sent: Thursday, October 02, 2008 9:47 PM
To: Graham Archer
Cc: pmwiki-users at pmichaud.com
Subject: Re: [pmwiki-users] Directing users to the wiki homepage

2008/10/2 Graham Archer <Graham.Archer at sun.com>:
> Is there a way I can direct users who come to the wiki through the 
> side door (i.e. a previously bookmarked page) to the wiki homepage and

> then perhaps allow them to get to the original target page?

It sounds like what you actually want is to communicate the news
information to visitors entering the site at other locations than the
homepage, rather than just redirecting them to the front page.

The simple solution is to add the news to the site's sidebar, but
that'll mean it'll be shown all the time. A more elegant way of doing
this would be to read the HTTP referrer information from
$_SERVER['HTTP_REFERER'] and only display the news if that's a location
external to your site /and/ if the user doesn't have a recent cookie
from your site.


pmwiki-users mailing list
pmwiki-users at pmichaud.com

More information about the pmwiki-users mailing list