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

Attention X-Cart 4 developers: upgrading your modules to Smarty 3

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #1  
Old 03-09-2015, 09:13 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Exclamation Attention X-Cart 4 developers: upgrading your modules to Smarty 3

Hello friends,

This forum thread is for everyone creating modules and themes for X-Cart 4.

As we have already announced in the forum and on our website, the next X-Cart 4 version (4.7.0) will feature Smarty 3.

The release is planned on March, 31. So, we advise you not to postpone this till a later date and check and update your modules/themes.

To help you and make the process of upgrading your modules&themes smooth we have documented our recommendations for the transition to Smarty 3.

The X-Cart 4 dev team will monitor this thread. So, don't hesitate to ask questions here should you have any questions on adapting your modules and themes for the upcoming X-Cart 4.7 version.

Also, we are considering creating a script that will allow early X-Cart 4.7.x versions (will be deprecated later) to switch between Smarty 2 and Smarty 3 depending on whether the module/theme supports the new Smarty 3, or not. This has its own drawbacks (including the time needed to develop the script), so we will apprecite your feedback and thoughts on this matter. Do you need such a script? How could it work?

We look forward to your reply.

Thanks!
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions

Last edited by qualiteam : 03-10-2015 at 01:12 AM.
Reply With Quote

The following 5 users thank qualiteam for this useful post:
ADDISON (03-16-2015), cflsystems (03-09-2015), cherie (03-09-2015), PhilJ (03-09-2015), totaltec (03-09-2015)
  #2  
Old 03-09-2015, 04:27 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Attention X-Cart 4 developers: upgrading your modules to Smarty 3

No, don't add that complexity to 4.7. Hopefully you are going to create a 4.6.6->4.7.0 full upgrader (like 4.5 to 4.6) and it would include a step for checking Smarty syntax.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote

The following 2 users thank cherie for this useful post:
aim (03-09-2015), mixon (03-09-2015)
  #3  
Old 03-17-2015, 11:21 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Attention X-Cart 4 developers: upgrading your modules to Smarty 3

Hi!

I would like to post an update on the topic.

1. We have decided to not develop the script switching between Smarty versions.

2. Instead, we have created a script that looks through template files and checks them against the new Smarty 3 syntax.

3. Also, we will put the Google-Doc article (that I mentioned before) to our website and extend it with instructions on using the syntax-checking script.

If you have any questions, feel free to ask in this forum thread.

Thanks!
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote

The following 5 users thank qualiteam for this useful post:
cflsystems (03-17-2015), cherie (03-17-2015), ITVV (03-18-2015), PhilJ (03-18-2015), totaltec (03-18-2015)
  #4  
Old 03-17-2015, 11:33 PM
 
NeilSheridan NeilSheridan is offline
 

Advanced Member
  
Join Date: Mar 2014
Posts: 44
 

Default Re: Attention X-Cart 4 developers: upgrading your modules to Smarty 3

Thanks for your reply in my initial thread.

I've had a look at the document and did run the first tool with many errors. I stopped there as all of the errors were located in templates that I have never used (default).

It did get to the module xcart_mobile and again, many errors.

Were you expecting me to do something? to be honest I'm not really sure what I'm supposed to do ?

Thanks
__________________
xCart Gold 4.7.9
reBOOT 4.7.9
Reply With Quote
  #5  
Old 03-20-2015, 12:22 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Attention X-Cart 4 developers: upgrading your modules to Smarty 3

Hello!

As for the Mobile module:

We are working on a new Mobile module version and plan to release it with the release of X-Cart 4.7.

This module version will support Smarty 3. Also, we will supply upgrade patches.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote

The following user thanks qualiteam for this useful post:
skot (03-20-2015)
  #6  
Old 03-23-2015, 02:31 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Attention X-Cart 4 developers: upgrading your modules to Smarty 3

Quote:
Originally Posted by NeilSheridan
I've had a look at the document and did run the first tool with many errors. I stopped there as all of the errors were located in templates that I have never used (default).

Were you expecting me to do something? to be honest I'm not really sure what I'm supposed to do ?

Thanks

To sum up:
1. You don't need to change any "default" templates as these will be replaced with updated versions when installing upgrade packs.
2. The same goes for modules created by our company - upgrade packs will replace templates with new ones.
3. If you have custom modifications which trigger Smarty 3 validation errors, these are to be fixed manually. Or you can get a paid assistance from us.
4. If you have modules created by third-party developers, you are to contact the developers and ask if they update the modules to reflect the Smarty 3 changes.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #7  
Old 03-23-2015, 09:21 AM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Attention X-Cart 4 developers: upgrading your modules to Smarty 3

Quote:
Originally Posted by qualiteam
1. You don't need to change any "default" templates as these will be replaced with updated versions when installing upgrade packs.
Are you outright replacing built-in skin directories (wiping out changes store owners may have made) or are you patching these files?
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
  #8  
Old 03-23-2015, 09:22 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Attention X-Cart 4 developers: upgrading your modules to Smarty 3

I was just about to ask the same question.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #9  
Old 03-23-2015, 10:31 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Attention X-Cart 4 developers: upgrading your modules to Smarty 3

I apologize for being unclear.

Quote:
1. You don't need to change any "default" templates as these will be replaced with updated versions when installing upgrade packs.

It will apply patches.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > News and Announcements


Thread Tools

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 04:00 PM.

   

 
X-Cart forums © 2001-2020