Get content of page in PHP
Can anyone provide an example to get me started? I'm looking at the API right now, but it's not easy.
Does a great job!
The pop up block doesn't give me anything I need right now.
$a = new Area('Main'); $c = Page::getByID(56); $regexMatchThis = $a->display($c);
so do your match on $regexMatchThis..
I would think that the Page object should have a method I need without using an Area.
Is that not so?
$nh = Loader::helper('navigation');
$content = $fh->getContents($nh->getCollectionURL($c));
that's from remo's cache package but that gives you the entire page's html
that's all i got ;)