Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Fritz Lin
@fritx
who are you
you are who
niftylettuce
@niftylettuce
@jeduan adding something to #93 right now
thx for doing that
Jeff Smykil
@smykes
I'm having issues with the templates directory. Is there an example of when you are using handlebars for your express views and emails?
Kelvin Del Monte
@kdelmonte
Hello

anyone here?

Jeduan Cornejo
@jeduan
hey @kdelmonte
niftylettuce
@niftylettuce
@kdelmonte hey
Kelvin Del Monte
@kdelmonte
Already found the issue... Has anyone told you how awesome this project is?
niftylettuce
@niftylettuce
@kdelmonte aw thx :sparkles: /cc @jeduan :+1:
@kdelmonte what are you using it for? just curious!
Jeduan Cornejo
@jeduan
Tiny christmas for you too! :sparkles:
Kelvin Del Monte
@kdelmonte
Just used it for our business' site (www.neustack.com)... Super easy to use. As a matter of fact, I forgot to star it... Let me go do that.
Josh de Blank
@jdeblank
Hello.
Enjoying using this project, thanks!
:thumbsup:
geoguide
@geoguide
Sweet a room! This is better than asking in issues, sorry.
Does anyone do hbs partials with this tool?
Jeduan Cornejo
@jeduan
It has worked for me, yes
geoguide
@geoguide
can you explain how it works? how would i do like header, content and footer partials in the partials: { //something }
Jeduan Cornejo
@jeduan
I'm afk right now but I think there's already something about this on teadme and previous issues
geoguide
@geoguide
the readme just says:
Want to add a helper or partial to Handlebars?

// ...
emailTemplates(templatesDir, {
  helpers: {
    uppercase: function(context) {
      return context.toUpperCase()
    }
  }, partials: {
    // ...
  }
})
// ...
if you happen to think of it later and can help I’d really appreciate it. and i’ll update the readme.
thanks
niftylettuce
@niftylettuce
@geoguide what’s up??
@jdeblank thanks!
geoguide
@geoguide
@niftylettuce i couldn’t figure out how to do the partials even after reading through the issues.
Pedro Esperança
@esperancaJS
guys does this issue belong here? niftylettuce/node-email-templates#120
I can't find this error code anywhere
geoguide
@geoguide
Can anyone help on the partials?
geoguide
@geoguide
I posted an example of the partials in the issues, I can’t update the readme because nobody has ever been able to explain how to commit submodules to me.
geoguide
@geoguide
Nevermind. It works.
Hiren Soni
@hirenrojasara
Is there any option for handling EOF character? Because with \n in text plain message, outlook removes \n and shows in the same line ?
Mark
@custa1200
Hey @niftylettuce have you seen the work going on over at Zurb with their new email framework? Wonder what your thoughts are on it related to node-email-templates
Ryan Wheale
@DesignByOnyx
@custa1200 - I've used zurbs templates with this module. This module has no opinion on the markup or styles that you use. Use your favorite template engine, use the markup and styles from your favorite framework, and enjoy!
Mark
@custa1200
@DesignByOnyx have you seen the new Zurb Email Templates 2, this is what I am referring to, it works a bit different to the old Inky one, which I am currently using. Here is a link of the overview, I'm thinking it's possible to use them but it would just mean running I think it's a gulp task and drop the templates in the folder for node-email-templates to pick up I guess
http://zurb.com/article/1424/call-me-e-schmail-conquering-the-beast-th thats a blog post about some of the new stuff around Inky 2.0 or Zurb Email or whatever they want to call it now
I think the biggest problem in node-email-templates at the moment for me is that the juice options aren't running over the template, specifically the media query ones I think are the biggest problem.
nodecraic
@webworkio
hey, if anyone has any remote remote , designer, DevOps or Sysadmin jobs they can post them at http://webwork.io
Christian Blaschke
@platdesign
hey =) i love the new subject-support! when will it be published on npm?
Subash Basnet
@subasnet
how to convert this jade code ' script(type='text/template', id='data-record') !{data.record} ' into ejs code?
Ksusha Rodchenko
@KsushaRodchenko
Hi, Is anybody here?
juragandotid
@juragandotid
hallo
juragandotid
@juragandotid
cant u help me?
var templateDir = path.join(__dirname, 'templates', 'letter')
and i got this error
Unhandled rejection TypeError: Path must be a string.