Support Forums

How put PHP code in template

This is a discussion on How put PHP code in template within the Technical Support forums, part of the Technical Support Forums category; hello , i need put this <?php uid="user_ID"; zid="zone_ID"; include "banner.php"; ?> code in layout template. i try diferent form ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 08-31-2008, 11:23 PM   #1
Junior Member
 
Join Date: May 2008
Posts: 20
Rep Power: 9
kama is on a distinguished road
Default How put PHP code in template

hello , i need put this <?php uid="user_ID"; zid="zone_ID"; include "banner.php"; ?> code in layout template. i try diferent form but dont work . show me error
kama is offline  
Old 08-31-2008, 11:49 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,208
Rep Power: 128
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

http://smarty.net/manual/en/language.function.php.php
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 09-01-2008, 12:05 AM   #3
Junior Member
 
Join Date: May 2008
Posts: 20
Rep Power: 9
kama is on a distinguished road
Default

I try this codes
{php} zid="zone_ID";include("rotador/banner.php"){/php}

{php} zid("zone_ID");include("rotador/banner.php"){/php}

both dont work
kama is offline  
Old 09-01-2008, 08:18 AM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,208
Rep Power: 128
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Can you define "Dont work"? Did you get an error or simply nothing happened?

If nothing happened, thats likely because the path you have to banner.php is not correct.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can malicious user execute php code if html are allowed in fields or uploads j890432m Technical Support 1 06-25-2008 03:34 PM
How do i change the logo on 68 auto red template? curiousaboutwebdesign Technical Support 2 06-18-2008 08:21 PM
Template & Code Mods Quotes Required Red Modules / Plugins / Modifications 0 04-20-2008 06:04 AM
Smarty Templates and You. Posted BY Lhotch Eric Barnes Templates, HTML, CSS, and Design Help 13 10-02-2007 08:06 AM


All times are GMT -4. The time now is 11:17 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0