Static Pages and Server side includes

Creating and modifying plugins.
Post Reply
chefdesanto
Posts: 1
Joined: Sat Aug 25, 2007 12:47 am

Static Pages and Server side includes

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Static Pages and Server side includes

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply