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

access php session from tpl file?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-05-2013, 04:12 AM
 
taijasa taijasa is offline
 

Newbie
  
Join Date: Jan 2013
Posts: 9
 

Unhappy access php session from tpl file?

Hello I am trying to create a form which contains php session. So far my code is working fine. But I have added one captcha which generates value according to session from php file , but I am not able to get that session in my tpl file. Can anyone give me a hint to access this session from tpl file??

Please help..
__________________
x-cart-4.5.4goldplus
Reply With Quote
  #2  
Old 02-05-2013, 04:17 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: access php session from tpl file?

Topic was moved to Storefront Design & Template Editing in v 4.5.x subforum.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #3  
Old 02-05-2013, 05:27 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: access php session from tpl file?

Why not just use the XC build in captcha instead. Not that hard to make it work on any page
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #4  
Old 02-05-2013, 11:10 PM
 
suseela suseela is offline
 

Advanced Member
  
Join Date: Jan 2013
Posts: 55
 

Default Re: access php session from tpl file?

I need to add a background to the xcart logo. From where can I adjust the setting so that there is no white space around the background. and how do I change the xcart logo dimensions?
__________________
www.indiancarnival.com

based on Xcart pro 4.5
Reply With Quote
  #5  
Old 02-06-2013, 04:11 AM
 
taijasa taijasa is offline
 

Newbie
  
Join Date: Jan 2013
Posts: 9
 

Default Re: access php session from tpl file?

@ cflsystems
What is XC Build ?? And how can we use that??
__________________
x-cart-4.5.4goldplus
Reply With Quote
  #6  
Old 02-08-2013, 10:32 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: access php session from tpl file?

XC has its own captcha for like 5-6 specific pages. But you can use this to custom code more pages to use it
__________________
Steve Stoyanov
CFLSystems.com
Web Development
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 02:00 PM.

   

 
X-Cart forums © 2001-2020