#
rabol
Hi
While investigating how to implement support for custom CSS, I have discovered that the PageEngine is instantiated twice for each new page that is displayed - but only the first time a page is displayed.
eg. the first time the "home" page is display PageEngine is instantiated twice, if you the do a refresh it's only instantiated one time – Maybe some caching?
It's designed to do so, then I think it could be possible to add custom CSS quite easy :)
"Just" add an global array, and let each module add the CSS, and then output the array in second run.
Until now I have not been able to figure out why the PageEngine is instantiated twice... But give me a few hours more ;)
Best
Steen
While investigating how to implement support for custom CSS, I have discovered that the PageEngine is instantiated twice for each new page that is displayed - but only the first time a page is displayed.
eg. the first time the "home" page is display PageEngine is instantiated twice, if you the do a refresh it's only instantiated one time – Maybe some caching?
It's designed to do so, then I think it could be possible to add custom CSS quite easy :)
"Just" add an global array, and let each module add the CSS, and then output the array in second run.
Until now I have not been able to figure out why the PageEngine is instantiated twice... But give me a few hours more ;)
Best
Steen