How to include PHP page

Get help with installation and running PivotX 2.0.x here. Please do not post Extension or Theme related questions here.

How to include PHP page

Postby martijntijn » Tue Dec 11, 2007 4:24 pm

First of all, i love this new pivot!

I have a question, i guess a simple one. In pivot 1.x i have a PHP page included with "<?php include('uum/login/login.php')?>", where uum is a folder in de siteroot. This is line is written in the Frontpage_template. How can i include the same file in Pivot 2.x?
martijntijn
 
Posts: 4
Joined: Tue Dec 11, 2007 4:17 pm

Re: How to include PHP page

Postby Bob » Tue Dec 11, 2007 5:25 pm

Try this:

Code: Select all
[[ php ]]

include_once("uum/login/login.php");

[[ /php ]]
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Re: How to include PHP page

Postby martijntijn » Wed Dec 12, 2007 1:09 pm

Thanx, this seems to work!
martijntijn
 
Posts: 4
Joined: Tue Dec 11, 2007 4:17 pm


Return to 2.x Support Forum

Who is online

Users browsing this forum: No registered users and 6 guests

cron