TinyWebGallery wrote:
Just another thing:
You can have config.php and style.css in every directory. Means each folder can be configured completly independent like the demo on the website.
True. So here's a slightly different situation. I have 2 users (admin - myself) and a friend. My friend has a different 'root' directory. TWG is integrated into PmWiki. This uses some custom markup to call the twg content (.... /twg/index.php?twg_album=$1 ....)
This always uses the default root folder "pictures" because that's defined in config.php. But my friend only has access to "pictureskim" (defined in the twg admin user section). However, this cannot be shown in PmWiki as it assumes that pictures is the root folder (as per config.php).
How can I change the root folder through a URL?
- change markup to /twg/index.php?twg_album=$1?base_dir=pictureskim (for example)
- call a different config file through this URL that contains a different base_dir
Cheers!
DJ