[dokuwiki] Is there any way to pass information from one instance of doku.php to another - i.e. for an action?

  • From: Chris G <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 30 Jun 2011 16:59:30 +0100

I have hit this problem/issue a couple of times before and the current
case means that it would be really nice to find a solution.

If one implements something in Dokuwiki where one page starts another
via a ...?do=<action> then there is no easy way to pass any information
from the 'caller' to the 'called' page.  In some cases there are specific
ways to do it but there seems to be no generic way.

The current case I'm playing with is where the 'caller' is doing a
'do=search' and I want to manipulate the search in the 'called' page
using event SEARCH_QUERY_FULLPAGE.  As it is, apart from the query text
itself there's no easy way to get information across to modify the
search.

One could simply write to a file (I have resorted to this approach
previously) and read it at the called end but it feels as if there
should be a better way to do it - or at least a built in way of some
sort, like sort of 'super globals'.

-- 
Chris Green
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: