Hello!
How can I configure the imagegallery that two different galleries are using the same content folder?
The Two galleries are on the same server but in two different subfolders of the root folder.
Thanks!
X3 Photo Gallery Support Forums
mjau-mjau wrote:If you don't want to use URL parameters, you could also hardcode index files like "gallery1.html" and "gallery2.html" simply adding the "contentfolder" parameter directly in the document. To achieve that, you should look into the template file provided called "standard.html".
mjau-mjau wrote:You can achieve that by simply setting "contentfolder" in url. Something like:
yourgallery/?contentfolder=gallery1/
yourgallery/?contentfolder=gallery2/
If you don't want to use URL parameters, you could also hardcode index files like "gallery1.html" and "gallery2.html" simply adding the "contentfolder" parameter directly in the document. To achieve that, you should look into the template file provided called "standard.html".
Good question - Currently you can not use multiple settings/config files, but you can apply multiple theme files. For example:winph wrote:is it possible to have 2 different config file for this?
i like the idea of 2 different content folder but is it possible to have different settings for each content folder?
wow this is great news.mjau-mjau wrote: Good question - Currently you can not use multiple settings/config files, but you can apply multiple theme files. For example:
gallery/?contentfolder=content1/&theme=gardener
gallery/?contentfolder=content2/&theme=zanzibar
Of course, it would be desirable to be able to assign multiple settings files also, and we have this planned for a major release coming this autumn. That would allow you to change many core features on a per-gallery basis, and not only thematic settings. In addition, the "contentfolder" parameter itself could be set in the settings file, so all settings can be consolidated there.