<br>Hello,<br><br>I am trying to configure PmWiki on a free host <a href="http://www.freeweb7.com">www.freeweb7.com</a>. Only certain file extensions are allowed - so that the default page file naming convention 'Group.FullName' will not work.<br>
<br>I've found a workaround based on recipe <a href="http://www.pmwiki.org/wiki/Cookbook/PerGroupSubDirectories">http://www.pmwiki.org/wiki/Cookbook/PerGroupSubDirectories</a>, adding the following lines to my local/config.php<br>
<br><div style="margin-left: 40px;"><span style="color: rgb(0, 0, 153); background-color: rgb(255, 255, 153); font-family: courier new,monospace;">$WikiDir = new PageStore('$WorkDir/$FullName.txt');</span><br style="color: rgb(0, 0, 153); background-color: rgb(255, 255, 153); font-family: courier new,monospace;">
<span style="color: rgb(0, 0, 153); background-color: rgb(255, 255, 153); font-family: courier new,monospace;">$WikiLibDirs = array( &$WikiDir,</span><br style="color: rgb(0, 0, 153); background-color: rgb(255, 255, 153); font-family: courier new,monospace;">
<span style="color: rgb(0, 0, 153); background-color: rgb(255, 255, 153); font-family: courier new,monospace;"> new PageStore('$FarmD/wikilib.d/$FullName'));</span><br style="color: rgb(0, 0, 153); background-color: rgb(255, 255, 153); font-family: courier new,monospace;">
<span style="color: rgb(0, 0, 153); background-color: rgb(255, 255, 153); font-family: courier new,monospace;"></span></div><br>Now pages can be stored because they have the extension .txt.<br><br>The problem now is that search and pagelists do not work. How do I configure PmWiki to let it know that pages now have .txt extension.<br>
<br>Thanks in advance.<br><br>best regards,<br>Bejoy<br><a href="http://www.bejoy.in">http://www.bejoy.in</a> - hosted at <a href="http://freeweb7.com">freeweb7.com</a><br>