Search found 5 matches

by indyonline
Thu Nov 06, 2008 10:05 am
Forum: PHP - Code
Topic: Help with smarty??
Replies: 8
Views: 447

Re: Help with smarty??

Ya, I get errors when I add that to the file.
by indyonline
Tue Nov 04, 2008 11:35 pm
Forum: PHP - Code
Topic: Help with smarty??
Replies: 8
Views: 447

Re: Help with smarty??

there is also an index.tpl file ( /templates/default/index.tpl )but I cant add anything to it and it show up on the site. <table cellpadding="0" cellspacing="0" border="0" width="578" align="center">   <tr>     <td>       <table cellpadding="0&q...
by indyonline
Tue Nov 04, 2008 11:30 pm
Forum: PHP - Code
Topic: Help with smarty??
Replies: 8
Views: 447

Re: Help with smarty??

ya, in the file manager ther is an index.html page but it is an application and it only has DB info on it. If I add anything to it it doesn't show. if I go to /template/default/layout.tpl thats where I can add stuff and it shows up on the site. I created a file named test.tpl and include the code <d...
by indyonline
Tue Nov 04, 2008 10:53 pm
Forum: PHP - Code
Topic: Help with smarty??
Replies: 8
Views: 447

Re: Help with smarty??

I have another ad that needs to go in an internal page. I was asking the way I did cause I was hoping there was a code that would include the page name so I could change it also to go on that page. something that would include the page name like-- "/folder/page.tpl" would it work the same ...
by indyonline
Tue Nov 04, 2008 8:29 pm
Forum: PHP - Code
Topic: Help with smarty??
Replies: 8
Views: 447

Help with smarty??

Hello everyone. I have a game site script I bought that was writen with smarty. I was wanting to add some advertisement to one single page but it shows up in every page. I created the file test.tpl and added this code in the layout.tpl <div>{include file="test.tpl"}</div> Does anybody know...