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

Using PHP functions

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-24-2005, 12:18 PM
  STORed's Avatar 
STORed STORed is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 69
 

Default Using PHP functions

How do I apply PHP functions?

I've uttempted something like this but it didn't work:
Code:
{php}ucfirst({$extra_fields[7].field_value});{/php}
__________________
Thanks.

X-Cart Gold 4.0.14 on Linux
Reply With Quote
  #2  
Old 09-24-2005, 12:24 PM
  STORed's Avatar 
STORed STORed is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 69
 

Default

Got it. Use this instead:

Code:
{$extra_fields[7].field_value|ucfirst}
__________________
Thanks.

X-Cart Gold 4.0.14 on Linux
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 09:33 AM.

   

 
X-Cart forums © 2001-2020