hello
I'm using the dokuwiki template of Release 2014-09-29a "Hrun"
I need to create a page with a very specific html markup, and to use the logged dokuwiki user informations inside.
to do so I first tried to create a specific template (I mean php template) for a page, that I could call with an url like www.mywiki.fr/doku.php?id=myspecificpage
I didn't found how to (without modifying the source) so I tried to create a page from scratch and call it directly with an url like www.mywiki.fr/myspecificpage.php
I tried to reproduce the init of dokuwiki this way :
if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/'); // (the path is right)
require_once(DOKU_INC.'inc/init.php');
$INFO = pageinfo();
but $INFO doesn't contain the userinfo as i'd expect
$USERINFO is empty too
weirdly this code create a new cookie that doesn't contain my user informations, even if i'm logged well on the previous tab of my browser
someone could help me understand what I forgot here ?
thanks a lot
Arnaud