[pmwiki-users] using PTVs from pagelists in skin scripts (or how to register a new PV)
design at softflow.co.uk
Sat May 12 01:43:05 CDT 2012
Saturday, May 12, 2012, 7:11:23 AM, you wrote:
> I will also look into triggering the script as a php markup script
> (<!--markup:(:somescript:)--> instead of
> <!--file:somescript.php-->). hopefully this workaround will solve
> the order issues by having PmWiki figure them out.
I don't understand why you want to include a php script that way or
any other way inside the tmpl file. The tmpl file is processed late,
and you bound to have problems with the script.
Please include the script in the same way as you would set your skin,
i.e. in config.php or a Group.php or Group.Name.php file in the
local/ directory to load the skin and script for a page group "Group"
or for a single page "Group.Name".
How do you load your custom skin?
More information about the pmwiki-users