I've been looking at
enewsletter_load_content() in enewsletter_send_receive.inc

Frankly it loks a little hairy to me. Reminds me of some Perl routines I used to create :-B.
I was wondering about doing the same job in a more drupal-way using a more theme/hook approach.
Just as an alternative to what's going on here.

There's a powerful templating engine (or two) available here in the system already. I appreciate that the $var replace method is gloriously simple to begin with, but xtemplate or even phptemplate would seem to fit better.

Any thoughts?

.dan.

Comments

robert castelo’s picture

Status: Active » Closed (works as designed)

Dikini suggested this as well (great minds think alike...), but I don't like the idea of trying to crowbar specific functionality that eNewsletter requires out of the template engines. If someone else wants to code using xTemplate or PHPTemplate for eNewsletter I'll be happy to review it, but I just can't see it working myself.

robert castelo’s picture

Status: Closed (works as designed) » Closed (fixed)