[pmwiki-users] New skin: Lens
Patrick R. Michaud
pmichaud at pobox.com
Fri Sep 2 14:24:13 CDT 2005
On Fri, Sep 02, 2005 at 08:21:21PM +0100, Hans wrote:
>
> Using lens/ as an example:
> If $Skin is lens/samples, $SkinDir points to pub/skins/lens/sample/
> and pmwiki expects a tmpl file there and will use a skin.php file
> there. But how can I point a variable to pub/skins/lens/
> in order to use pub/skins/lens/css/ and pub/skins/lens/images/
> to get at the common files?
I think these ought to work reliably:
$SkinDirUrl/../css/
$SkinDirUrl/../images/
With $Skin set to 'lens/samples', one would end up with
.../pmwiki/pub/skins/lens/samples/../css/
.../pmwiki/pub/skins/lens/samples/../images/
which is no problem. (And it's not as if anyone will ever see these
urls except by looking at the HTML source.)
Pm
More information about the pmwiki-users
mailing list