A have to build a custom message to a kind of node.

I think the best idea is to take this code http://drupalcontrib.org/api/drupal/contributions--heartbeat--tests--hea... and change what I need.

My question is, I need also a message template?

thanks

Oskar

Comments

Stalski’s picture

Status: Active » Closed (fixed)

You need something like that indeed. The message_id that is used there is the "heartbeat template". so if it does not exist yet, yes, you can create one in the UI with that message_id and even export it to your custom module. You can read this in the demo site http://heartbeat.menhireffect.be documentation and hooks section. Also heartbeat_example module provides this information.
Each activity message needs a template, that's for sure ;)

oskar_calvo’s picture

Thanks Stalski.

I have running Heartbeat, and I love it, it has a lot of hooks to make all I need.

Great work.

Oskar