This is supposed to be added there. Sorry, is it possible to explain a little more detailed what exactly is wrong on your page and how/when do you see/experience the issue?
I am using a SSI to move all my translation functionality to a single file as it’s going to be on all pages. This SSI loads a JSON file that will depend on browser language and app name.
If I have my SSI like this the translation functionality works perfectly.
As you can see below I have called the dmxBrowser.js directly from the code via script tag.
However if I add to the SSI the browser component via the UI it adds some code about dmxBrowser to the commented initial line but I get an error on the console about browser component being unknown and the page is not translated.
Thanks for the explanation.
Adding components in the SSI work the following way:
The component is added into the green comment tag.
The <script src="...component.js"> … does not get added on this page. It’s added on the main (head page) where this SSI was created on.
Ok. I see what you mean. That would explain this property then. For my case I had it blank as I wanted to reuse the SSI through all my pages.
But that would mean that I can’t reuse a php SSI with different pages? Doesn’t that defy a bit what SSI are meant for?
Wouldn’t it be more useful that if there is no Content Page defined for components to be added via script tag so that they are available to any page that includes this SSI?