Page 1 of 1

Static Pages and Server side includes

Posted: Mon Aug 27, 2007 6:38 pm
by chefdesanto
I've installed the latest static page plug-in, and i'm looking for a way to include another websites webpage in my post.. I've tried several include options, like a php include, and a html virtual include.

I'd prefer not to use an iframe..

Any other options available to me?

Re: Static Pages and Server side includes

Posted: Mon Aug 27, 2007 7:26 pm
by garvinhicking
Hi!

You could use the "Smarty markup" event plugin which allows you to use Smarty's "include_php" or "include" syntax. You might need to edit (or create) your templates config.inc.php file and set

Code: Select all

<?php
$serendipity['smarty']->security = false;
?>
though.

Regards,
Garvin