Hi
I need to be able to export the header of a website im working to be able to place that header in a forum which is running outside modx.
The site is multilingual and implements PMS’s YAMS Module which is quite awesome
So basically i need to be able to run the header snippet
CACHEDfrom outside modx in a separate php file and then include that file in the top of the forum page.
Iv looked into the modx api plugin which creats an instance of $modx in any php page you want, even outside the cms and then use the modx runSnippet() function to call the header.
However this calls it uncached ie runs it. The fact that it runs uncached causes problems with the YAMS part of the header.
Can anyone point me in the right direction on how to run snippets cached from pages outside modx? or a way around this.
Thanks