1

I'm looking at this GSoC project that I'm willing to take on.

https://wiki.civicrm.org/confluence/display/CRM/Google+Summer+of+Code+-+2016#GoogleSummerofCode-2016-responsivelayoutforemails

Which has "move away from smarty" on it's project description. Smarty, in the context of email messages, is used to replace the contact greeting names in email templates. So, I don't understand why we want to move away from smarty. Is it because we can accomplish the same task by using a simple PHP variable without having to use an extra library? What type of better solution are we looking for?

2

You are right, we do need some templating system and we don't need to replace smarty. It's just that it's not the framework that seems to have a lot of traction these days and as generally, we are thinking of moving away from it, we might as well start with the mail feature

Moreover, I do recall performances issues being mentioned for big mailings (smarty was generating tons of temp files), so that might be another incentive.

This being said, I the focus should be on improving the layout of transactional emails and make it easier to brand them consistently for an organisation, so replacing smarty might not be super useful in that context.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.