Helo, i have a include function problem

Problems with forum installation, administration, moderation and other phpBB related support.

Moderator: Moderators

Helo, i have a include function problem

Postby diasje on Mon Apr 09, 2007 4:38 pm

I am using phpbb2, and ezportal. And for the news system i use Utopia pro.

phpBB2+ezportal= ./
Utopia pro= news/

Now, in the portal_body.tpl i had tried this:

<?php include ('news/news.php'); ?> = Shows nothing
include ('news/news.php'); = Shows include ('news/news.php');

I have created in the index file, a variable $news_path = 'news/'; and if i use this variable, it will show nothing again.

include($news_path . 'news.'.$phpEx);

And then again nothing at all. Can anyone help me here?



I dont now where to turn more...
Registered User
Registered User
Posts: 1
Joined: Mon Apr 09, 2007 4:26 pm

Postby pentapenguin on Wed Apr 25, 2007 2:25 am

phpBB doesn't allow PHP in templates so you'll need to install the eXtreme Styles MOD for PHP support. Check the downloads forum for a link.
User avatar
Posts: 1466
Joined: Tue Sep 14, 2004 4:15 pm
Location: Georgia, USA

Return to phpBB Support

Who is online

Users browsing this forum: No registered users and 4 guests