Hi

It would be great if each activity message could be have own class with content e.g. name of content type.
It is great for e.g. theming, based on css class of content type name, I can add various pictures at front of activity message

I suggest to insert each activity message into div with this class, in this class could be another info e.g. insert, update, etc, based on type activity.

Thanks for this great module
Igor
http://www.somvprahe.sk

Comments

pribeh’s picture

For now you can actually simply insert a

into the token line for each publisher template. This is what I'm doing but I imagine the maintainers may implement generated tags down the line.
Scott Reynolds’s picture

Status: Active » Closed (works as designed)

you can create the following template

views-view-field--message.tpl.php

And then add in a preprocess function

function MY_THEME_views_view_field__message(&$vars, $hook)

and handle it all there. Considerably cleaner. Because what happens if you decide to change you html structure? now you have all these old messages to migrate to the new html structure.

This is why we really want Views to be the main query and theme engine. You can already do magical things.

pribeh’s picture

wicked, thanks for the info Scott. I wasn't sure this could be done.