Need help with an external php page to display

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
hanseksteen

Need help with an external php page to display

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Need help with an external php page to display

Post by RonnyK »

you can use the embed-tag or the pi_iframe-tag.

Ronny
cyberman

Re: Need help with an external php page to display

Post by cyberman »

Have you tried to use content of calendar.php inside a user defined tag?
hanseksteen

Re: Need help with an external php page to display

Post by hanseksteen »

how do I create auser defined tag for php code?
cyberman

Re: Need help with an external php page to display

Post 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.
Locked

Return to “CMSMS Core”