[pmwiki-users] Re: Monobook & Grease Skins updates
haganfox at users.sourceforge.net
Wed Sep 7 18:01:12 CDT 2005
On 9/7/05, Dominique Faure <dominique.faure.1 at free.fr> wrote:
> At Tuesday, September 06, 2005 2:46 PM [GMT+1=CET], Patrick R. Michaud
> > On Tue, Sep 06, 2005 at 08:17:01AM +0200, Dominique Faure wrote:
> >> I've uploaded new versions of Monobook and Grease skins to
> >> www.pmwiki.org. Could you please enable them on their own pages, thanks.
> > Done.
> Sorry to bother you again this these skins, but I've managed to make them
> handle the [[Site.PageActions]] you introduced with the new PmWiki default
> Nota: monobook require a slight Site.PageAction modification to keep its
> current tab behavior (documented in the Cookbook recipe).
If that's so, you can bundle your own Site.PageAction page.
Create a monobook/wikilib.d/ subdirectory.
Create your modified Site.PageAction page.
Hint: Create it with a PmWiki beta release. (Why? Because otherwise
it won't be compatible Pmwiki-beta due to changes in the way PmWiki
Optional: Delete some of the non-necessary lines in the file, like
Copy your custom page from wiki.d/ to the new
Delete your custom page from wiki.d/ .
Add the page storage location in your monobook.php file.
## Add a custom page storage location for the
## custom Edit Form and a Preferences page.
$PageStorePath = dirname(__FILE__)."/wikilib.d/\$FullName";
$where = count($WikiLibDirs);
if ($where>1) $where--;
array_splice($WikiLibDirs, $where, 0,
More information about the pmwiki-users