[pmwiki-users] Sub-dividing page files into sub-folders within each Group folder

kirpi at kirpi.it kirpi at kirpi.it
Mon Dec 19 08:36:56 CST 2011

> One "natural" approach [...] would be to further sub-divide
> page files into sub-folders within each group, creating and handling
> sub-directories named by pages first letter, like in
>   Main.HomePage -> wiki.d/Main/H/Main.HomePage
>   Main.SomePage -> wiki.d/Main/S/Main.SomePage
>   Site.SomePage -> wiki.d/Site/S/Site.SomePage

It seems that setting:

   $FmtPV['$Name1'] = '$name{0}';
   $WikiDir = new PageStore('wiki.d/$Group/$Name1/$FullName');

   $UploadPrefixFmt = '/$Group/$Name1';

allows to store pages and file uploads un sub-subfolders, the way I
previously described.
My impression is positive, but...

Would it be a safe move? Would there be more issues to take care of?
Would, in other words, all work fine as usual, and would the wiki
handle things smooth, or some problem may arise which can be foreseen,

More in general, would such an approach make sense?

Thank you


More information about the pmwiki-users mailing list