Get page content from a non-Frog php page

Feed 1 posts, 2 voices

Avatar
0 posts

I have a site using Frog CMS, but I also have a seperate PHP page in a subdirectory of my site that is hard coded PHP and not using Frog. For one PHP function on this page, I need to get a content “part” of one of the pages in Frog. Am I able to do this?

I know if it was in a internal page I could just say:
bc. <?php echo $this->content(‘sidewidget’); ?>

Or maybe if I was on a different page I could say:
<?php
$pageobject = $this->find(’/foo_page’);
echo $pageobject->content(‘sidewidget’);
?>
(hmm, can I do the above on an internal Frog page???)

But can I access this content from outside of Frog? How would this be done? Would I need to make a plug-in?

 
Avatar
180 posts

Only by Data Base…