Page 1 of 1

Need help with an external php page to display

Posted: Fri Jun 15, 2007 9:37 am
by hanseksteen
Hi
I have made a site and want to show a calendar on a page, this is the website http://lts.fuglestadgard.com/index.php?page=home the calendar I want to display looks like this http://www.fuglestadgard.com/calendar.php which is from http://www.EasyPHPCalendar.com .

How can make the calendar display in my new website as I have tried to place the php code on a new page, but that does not work I have also tried a script like this {fetchfurl url="http://checkip.dyndns.org"} with then my link in it, I have created a php page in the same folder as my cms http://lts.fuglestadgard.com/cal.php and the it shows.

My knowledge is still limited with solving this problem, any help would be welcome

Re: Need help with an external php page to display

Posted: Fri Jun 15, 2007 9:40 am
by RonnyK
you can use the embed-tag or the pi_iframe-tag.

Ronny

Re: Need help with an external php page to display

Posted: Fri Jun 15, 2007 9:42 am
by cyberman
Have you tried to use content of calendar.php inside a user defined tag?

Re: Need help with an external php page to display

Posted: Fri Jun 15, 2007 10:26 am
by hanseksteen
how do I create auser defined tag for php code?

Re: Need help with an external php page to display

Posted: Fri Jun 15, 2007 10:44 am
by cyberman
Go to admin area > extensions > userdefined tags, give it a name and input there

include ("path/to/calendar.php");

(without )

Another way could be to input source of calendar.php

Then you can call this with {your_given_name} in content or template.