Hello,
Assuming you are running the last version of the books module (as available from the sourceforge books home page
http://sourceforge.n…ojects/pn-mod-books [138], but in fact the version you can download in the CVS from the same page is even newer with some cool features as the fact that list and detail view use a pnrender template easily customizable) I don't see [b]at all/b] why you have such problems because books is compatible with
PN .750, Xanthia themes and short urls (Xanthia ones, I didn't test
AutoTheme [139]'s short urls)
I understand you need to have this module up and running but in my opinion, starting to modify file hadcoding urls without first understanding the problem is not the way to go. I still intend to release new versions of the books module, and you will need to redo your changes again. Did you try an official Xanthia theme (one of those included in PostNuke) ? I am nearly sure your problem are in fact not caused by the module but by your theme.
See the books module working unmodified with
PN .761, Xanthia theme, and short urls here on my website :
http://www.vedrine.net [140] all the pages have been indexed by Google !!
Anyway, re-thinking to it, you can try to replace each occurence of:
modules/".pnVarPrepForOS($GLOBALS['name'])
with:
modules/".$GLOBALS['ModName']
because maybe it will work better for you (but I fail to see why, and the way I originally coded it should work for everybody !).
--
Visit my
live reef aquarium [141].
My Amazon wish list [142].