Does anyone thought of Panels integration yet?

I am not sure how to apply this to MimeMail. What I am sure of is they are related very much. Besides no connection made yet. Am I wrong?

Comments

sgabe’s picture

Panels integration?... How do you mean?

bsandor’s picture

As Mime Mail sends HTML format mails and Panels is one of the most used and best tools to create visual appearance I am thinking a way when I can create my page (that is going to be sent by Mime Mail) with Panels.

Somehow telling MIme Mail to tell Panels to create the HTML part of the mail.

sgabe’s picture

Title: Panels Integration » Mime Mail integration
Project: Mime Mail » Panels
Version: 6.x-1.0 » 6.x-3.x-dev

Mime Mail does not and will not compose messages or create layout so I am moving this to the queue of the Panels module.

lpalgarvio’s picture

Title: Mime Mail integration » Simplenews / Mime Mail / HTML Mail integration possible?
Version: 6.x-3.x-dev » 7.x-3.x-dev

http://drupal.org/project/simplenews
http://drupal.org/project/htmlmail
http://drupal.org/project/mimemail

http://drupal.org/node/1448352#comment-6199224

im trying to get Simplenews node mail (through HTML Mail or Mime Mail) to work with node_view in Panels or drupal core's own node template output, but i'm not sure if either of the Mail modules or Simplenews actually uses a custom content templating system (other than core's, where panels could lay on)

merlinofchaos’s picture

Your best bet for this would be Panelizer 7.x-3.x which can handle overriding view modes and that will handle situations like this.

lpalgarvio’s picture

update
so far what i managed to get working is the display modes on content types, and for that, HTML Mail provides these:
- Email: Plain
- Email: HTML
- Email: HTML text alternative
these work fine when sending mails. you can choose which fields to show, their output and on which order.
you can also use only the Default display mode, and the mail gets sent correctly as well. that gives some flexibility, however, you can't do things like add a nid on header/footer, change the layout through the UI, etc, as Panels/Panelizer allows.

as for Panels and/or Panelizer, with a little more testing, i confirmed that Panels works fine, as always, and Panelizer as well, like it did on 6.x (last version i tried). there is no interference when viewing the node.
but only does so for the node_view output (Default display mode).
afaik, they never apply to teaser, print, etc display modes (Panel Teasers in 6.x provided teasers mode)...
and neither for email display modes as tested, be it with the situation where you only have the Default display mode, or on the situation where you have everything split with multiple display modes (Default, Teaser, Email, etc).

therefore, the output is always that of regular core's node template (with the selected display mode). Panels and/or Panelizer don't seem to solve the issue (--unless-- there's a way to make them override the output on the mail that i missed).

so i guess there's 2 possible issues here:
- panels/panelizer does not override the output of Default display mode in all cases (just on node_view)
- html mail isn't able to pick up the output in a standard way, so that it allows panels/panelizer to override it

meanwhile, maybe Display Suite can help change the output, just not in a so flexible/complete way.

summit’s picture

Hi,
May be this thread is valuable to notice here: http://drupal.org/node/1933822
Greetings, Martijn