Pulling concrete5 data outside of concrete5
Permalink
So part of my site has CMS content which is in concrete5 but there's another part of my site that's going to be 100% code driven using Zend framework. What I want to do is be able to use the header and footer from concrete5 in my zend framework but allow it to be editable from a concrete5 page (it uses stacks globally). Is there an easy way to do this?
Currently my header and footer lives in the elements directory of my theme and both pull in stacks data that are used site wide.
Is there a couple of libraries that I can load in the Zend Framework from Concrete5 that will allow to just pull a rendered version of those?
Thanks.
Ryan
Currently my header and footer lives in the elements directory of my theme and both pull in stacks data that are used site wide.
Is there a couple of libraries that I can load in the Zend Framework from Concrete5 that will allow to just pull a rendered version of those?
Thanks.
Ryan
If it was a single page I would but I'm going to be having multiple pages interacting with each other with session and DB interations and I would really need to use the MVC functionality of Zend Framework to make this work clean and organized. I would love to have the header and footer shared.
How about building a single page (or just making a blank page at a public URL) with a comment in the main content area you can scan for.
Then use wget to grab the page, look for that inner area with the comment, and from the zend side use that as your header/footer.. There might even be a better way in zend than wget to do that.
Then use wget to grab the page, look for that inner area with the comment, and from the zend side use that as your header/footer.. There might even be a better way in zend than wget to do that.
Yea, can even take it further and make that page do some sort of json or xml feed and pull that in.
Jon