I want to generate my html dynamically, the structure of my website is 1 root site and many subsites (like an foldersystem).
The class HtmlPage creates an root-page, the class HtmlSubPage creates an sub-page...
But there are some properties that stay the same for any page (CSS, footer-images, Javascript files to include) and its that path that is stored in the array.
But the weird thing was:
when I write:
I get the expected outcome,but when I write:
Then none of the items in the array have been adjusted.
So the question is actually this:
Why isn't the value assigned to the array-item?