Jump to content

Search the Community

Showing results for tags 'html'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • News
    • The Lounge
  • Community
    • Pre-Sales Questions
    • Support
    • The Marketplace
    • Contribute
    • Show Off
    • Feature Requests
    • Bugs
    • Contests
  • Developer Corner
    • General
    • Extensions
  • BlestaStore's Forum
  • BlestaStore's BlestaCMS
  • BlestaStore's Resellers
  • BlestaStore's BlestaForums
  • BlestaStore's Promotions
  • CubeData's Official Announcements From CubeData
  • CubeData's Peer Support
  • CubeData's Resellers
  • ModulesGarden Club's Topics
  • Blesta Addons's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Wire


Location


Interests

Found 1 result

  1. I think that styling html email is good and using cross client/browser compatible email (also responsive) is better. Moreover add the necessary code html and css to make it through the WYSIWYG editor of Blesta, it is virtually impossible (if it is good, after saving you lose pieces). I image, editing email templates in Blesta, that i can select for each template a "model", stored in company folder: so i can make transactional emails more attractive and effective. I made some changes that work for us: - we get and update an html email from https://github.com/mailgun/transactional-email-templates; - we put one or more placeholders (eg, "@BODY@") in this template; - we put this template in "uploads/[COMPANY_ID]/email_templates" folder and name (e.g. "tpl_email.htm"); - we added in app/models/emails.php after row #806 $email->html = $parser->parseString($email->html, $parser_options_html)->render($tags); the following Loader::loadComponents($this, array("SettingsCollection")); $tmp = $this->SettingsCollection->fetchSetting(null, Configure::get("Blesta.company_id"), "uploads_dir"); $template_path = $tmp['value'] . Configure::get("Blesta.company_id") . DS . "email_templates" . DS; if (file_exists($template_path . "tpl_email.htm")) { $tpl = file_get_contents($template_path . "tpl_email.htm"); $email->html = str_replace('@BODY@', $email->html, $tpl); } Attached you can see one of results. But now i like to have a more friendly management of this feature. What do you think about?
×
×
  • Create New...