sohamakl So no chance to stop caching and put in the actual users name?
There is always a chance!
Go to your
/dokuwiki/lib/plugins/dw2pdf/action.php and look for the function
In the function head paste the following line of code:
That is where the info of the user name is pulled from. Now, scroll down a bit to where it says
// prepare replacements. Add the following line of code to the
$replace array somewhere in the middle (to avoid a comma mistake):
'@USERNAME@' => $INFO['userinfo']['name'],
Now, you can use the new replacement pattern in your dw2pdf print templates for footers and headers in
/dokuwiki/lib/plugins/dw2pdf/tpl/default. Just edit them, accordingly and put @username@ where you like.