On 9/21/07, Mike Shanley <[EMAIL PROTECTED]> wrote: > Hi all, > > The standard <?php ?> doesn't work in the .tmpl file, I assume because > of how it's processed. I was wondering if there was any way to break > into PHP in the file that I'm not aware of. > > Barring that, is there any way to use the skin.php file to pass > variables to the tmpl BEFORE it gets processed? > > What I'm looking to do is have a variable set = '<!--wiki:whathaveyou > -->' if the authentication is correct. > > Also, is there any way to get markup processed and deposited into a tmpl > from skin.php? MarkupToHTML is throwing (regex error on line 1, > pmwiki.php) errors. > > Thanks a lot! >
Feel free to do some reverse-engineering on Monobook or Grease Skins which both embed MarkupToHTML calls. -- Dominique _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
