to include php code in .tpl files

Discussions about the phpBB2 Forum. How to get the best from this powerful script.

Moderator: Moderators

to include php code in .tpl files

Postby talluri » Sat Nov 25, 2006 5:48 am

Hi,

We are using banners management in our application.For forums also we wanna apply that one.Can u help me how to include php code in .tpl files. I alreday used {php}{/php} in that,but when running the application as it is coming .
talluri
 
Posts: 8
Joined: Thu Nov 23, 2006 7:32 am

Advertisement

Postby Nicolas » Sat Nov 25, 2006 8:50 am

With the standard phpBB forum, it is not possible to include php code in tpl files.
Cyberalien from phpBB Styles has pusblished a mod to make this possible:
http://www.phpbbstyles.com/viewtopic.php?t=356

But I think with some modifications, it should be possible to include the code in the page_header.php and render it in the overall_header.tpl template file.
User avatar
Nicolas
phpBB SEO Team
phpBB SEO Team
 
Posts: 123
Joined: Fri Aug 25, 2006 1:21 pm

thanks

Postby talluri » Mon Nov 27, 2006 1:06 pm

Hi,

Thanks for reply.I included them in phpbb.Now its working.

Talluri. :)
talluri
 
Posts: 8
Joined: Thu Nov 23, 2006 7:32 am

Postby Nicolas » Mon Nov 27, 2006 1:13 pm

Good news, you are welcome :wink:
User avatar
Nicolas
phpBB SEO Team
phpBB SEO Team
 
Posts: 123
Joined: Fri Aug 25, 2006 1:21 pm


Return to phpBB2 Forum

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests