[Pmwiki-users] $PageSkinsFmt does not work?

Spam Account Speedxs spam
Mon Jan 3 16:14:54 CST 2005


I have various problems converting my 1.06 style-sheet skins to 2.0 skins.
I could convert the 1.0 database without problems to 2.0.

One of the biggest roadblocks i experienced is that the $PageSkinsFmt 
variable is not being used by the v2.0 system.
At least not on my server.

Why does this work in 2.0:
$PageTemplateFmt = '$SkinDirUrl/renoise.tmpl';

But this won't? :
$PageSkinsFmt = '$SkinDirUrl/renoise.tmpl';

The $SkinDirUrl is good (else the old variable would not function either)

Also these variables seem to be ignored heavily:

$UploadDir <http://www.pmwiki.com/wiki/PmWiki/UploadVariables#UploadDir> = "/home/john/public_html/uploads";
$UploadUrlFmt <http://www.pmwiki.com/wiki/PmWiki/UploadVariables#UploadUrlFmt> = "http://www.john.com/~john/uploads";

Well, i have offcourse replaced them by my own entries.
Is the "uploads/$Group/imagefile.ext" being continued or does the system expects all uploads to be in the plain upload folder?
I've got the images uploaded in e.g. /html/wiki2/uploads/Groupname/imagename.png.
If we take John's example page the url format would be "http://www.john.com/wiki2/uploads"
Yet neither of those settings are taken in account.

Another thing:
The uploadDir, (don't know if it works or not) it keeps asking for an upload password while there isn't any set.
I've tried to fix this in the upload.php (like i did in the V1.x version) and i also tried to set an empty password in the local/config.php
It keeps requesting for it no matter how.

It's probably related to the http authentication method being used (usually i got a dialogue instead), but just want to know why it doesn't work right that way.

I'm getting real headaches from this version 2.0 migration and actually the only thing i want to achieve is to generate PDF files 
using the help from one of the existing modules (which doesn't work in 1.0 and the old cookbook script version for 1.0 has been taken offline)


Regards,

Vince.





More information about the pmwiki-users mailing list