Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Is it possible to put a script in Category discription?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-27-2005, 12:36 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Is it possible to put a script in Category discription?

Im trying to add banner code to category discription it seems a logical way to add banners etc, but is there a work around as it doesn't like it?

For example this banner code:
Code:
<p align="center"> <SCRIPT type="text/javascript" SRC="http://www.xxxxxxx.co.uk/xxx/xxxx.php?bfunction=showad&uid=100000&bmode=off&bstyle=default&btotal=1&bzone=store_welcome1_Full&bsize=all&btype=3&bpos=default&ver=2.0&btarget=_top&bborder=0"> </SCRIPT> <NOSCRIPT> <a href="http://www.xxxx/xxxx/xxxx.php?bfunction=clickad&uid=100000&bmode=off&bzone=store_welcome1_Full&bsize=all&btype=1&bpos=default&ver=2.0" target="_top"> [img]http://www.xxxxx/xxxxx/xxxx.php?bfunction=showad&uid=100000&bmode=off&bzone=store_welcome1_Full&bsize=all&btype=1&bpos=default&ver=2.0[/img]</a> </NOSCRIPT> </p>
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #2  
Old 10-27-2005, 01:32 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Try getting rid of the comment tag and wrapping the script in {literal} tags.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-27-2005, 01:50 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default

Ok I understand part of your reply, thanks I'll submit a ticket to see if this is possible & correct codeing needed.
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #4  
Old 10-28-2005, 08:36 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default

For other users reading this. It was not posible to do above without editing some of the php files, obviously as tech support cost points to paying customers I cannot post what is needed.

I am posting just to let users know it is possible & works ok. (When editing correct php files).
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:07 PM.

   

 
X-Cart forums © 2001-2020