mjau-mjau wrote:
Seems you want to include custom html fragments without adding them directly to the page content? I'm trying to figure out exactly what you are trying to achieve that you cannot do by simply adding your custom html into the page content.
I would like to save the work of integrating many identical content individually into each website or page. Currently I do this for such topics as GDPR, licenses, imprint, copyright, etc. simply via SSI. So I have to keep only a few files up to date.
In Photo Gallery is the way over SSI (because of AJAX) not a good way in my opinion. I also tried it and found problems with the cache. ;-)
mjau-mjau wrote:
pbhq wrote:What is the best way to integrate the additional HTML/INC files via JavaScript?
It is possible to make an AJAX javascript call to load and inject data (html/txt) into X3. Perhaps not the most practical solution.
I'm well aware that my idea does not quite match the concept of Photo Gallery. The solution to integrate all content via an external link in the menu, that's isn't either.
If I could solve this elegantly via JavaScript, then that would be quite good. I also have full access to the HTML/INC/CGI-sources and the webserver. There must be a solution. ;-)
PS: I am actually more interessted to add some pages / information around the actual Photogallery, but not for the Gallery himselfs.