| View previous topic :: View next topic |
| Author |
Message |
colinwhite
Joined: 30 Jun 2008 Posts: 8
|
Posted: Wed Jul 02, 2008 8:13 am Post subject: customizing the banner user banner code |
|
|
Hi
I am trying to cusomizr user_code.txt
What I would linke to do is show a bit of text under each banner based on the banner size.
So for example if the banner is 468 x 60 I want to show:
<!-- EasyBanner Pro code begin -->
<center>
(I removed the code here for this example)
</center>
This banner is 468 x 60.
<!-- EasyBanner Pro code end -->
The if the banner is maybe 200 x 60 I want to show:
<!-- EasyBanner Pro code begin -->
<center>
(I removed the code here for this example)
</center>
This banner is 200 x 60.
<!-- EasyBanner Pro code end -->
normally in PHP I would write somethign like:
<!-- EasyBanner Pro code begin -->
<center>
(I removed the code here for this example)
</center>
<? if ($size=="1") { ?>
This banner is 468 x 60.
<? } else { ?>
This banner is 200 x 60.
<? } ?>
<!-- EasyBanner Pro code end -->
But this doesn't work as I can't access the variables
Any pointers would be heaps appreciated.
Thanks
Colin |
|
| Back to top |
|
 |
PHPWebScripts Richard - Admin
Joined: 13 Jan 2003 Posts: 5691
|
Posted: Wed Jul 02, 2008 8:55 am Post subject: |
|
|
| In the template can't be used php code, it's a txt file. Please specify the target you want to reach, I may be able to help you. |
|
| Back to top |
|
 |
colinwhite
Joined: 30 Jun 2008 Posts: 8
|
Posted: Thu Jul 03, 2008 6:33 am Post subject: |
|
|
Thanks for the reply.
I think I was over complicating what I wanted to do, so just left it for now.
Thanks again
Colin |
|
| Back to top |
|
 |
|