PHP WEB SCRIPTS    Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

customizing the banner user banner code

 
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Easy Banner Pro Support & Discussion
View previous topic :: View next topic  
Author Message
colinwhite



Joined: 30 Jun 2008
Posts: 8

PostPosted: Wed Jul 02, 2008 8:13 am    Post subject: customizing the banner user banner code Reply with quote

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 Sad

Any pointers would be heaps appreciated.

Thanks

Colin
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5693

PostPosted: Wed Jul 02, 2008 8:55 am    Post subject: Reply with quote

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
View user's profile Send private message
colinwhite



Joined: 30 Jun 2008
Posts: 8

PostPosted: Thu Jul 03, 2008 6:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Easy Banner Pro Support & Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group