Do you have any thoughts to port it?
Do you know if Drupal 7 offers any core-alternative different of what is present in Drupal 6?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

BartonDrupal’s picture

FileSize
5.35 KB

I'm not sure if the core alternatives have change. But I do have a working Drupal 7 version of the code, without a GUI :(

I've tried it on a couple of my sites. Haven't ran into issues yet but of course the sites it's on are smaller sites.

corbacho’s picture

Oh thanks!
I will have a look

pcambra’s picture

suscribe

Refineo’s picture

subscribe

jim0203’s picture

I'm using hook_message_alter() in my module and would like to get a Drupal 7 version of my module together at some point. I'd therefore be happy to work on porting messages_alter.module to Drupal 7. What's the current state of the codebase?

Lukas von Blarer’s picture

Is there any progress on this?

jim0203’s picture

I'm in the process of upgrading a module I maintain, Custom Submit Messages, to Drupal 7. Status Messages Alter is a dependancy of Custom Submit Messages, so I need a Drupal 7 version of it in order to get my module running on Drupal 7. I'm not comfortable including something along the lines of "Go to #1209450: Drupal 7?, and download the zip file containing Status Messages Alter" in the installation instructions for my module, so I'm going to take the code linked to in #1 and include it with my module as a sub-module, while giving you full credit, of course. Please let me know if this is a problem.

I'll be making a few tweaks to the D7 code for Status Messages Alter before releasing it as a sub-module; nothing major, mainly stylistic stuff.

Thought it was worth mentioning all of this here as it gives people a route to a Drupal 7 version of Status Messages Alter. I'll likely put together a Drupal 8 version, too. I'm winding down my Drupal work in general, though, so I won't be actively maintaining the code: happy to respond to bug reports, though, especially if they include patches.

jim0203’s picture

I've released a 7.x alpha version of Custom Submit Messages, and it includes the code in #1. If you experience any bugs please post them in the issue queue for CSM and I'll do my best to fix them.

Lukas von Blarer’s picture

thank you! should this module be marked as obsolete or unmaintained?

jim0203’s picture

Hi Lukas! I don't know what the situation is with Messages Alter. I don't want to annoy the developer, but at the same time I'd like to see his code maintained and possibly extended, so including his code with my module seems like the best way to proceed. I don't know how the Drupal community deals with modules that aren't maintained for a while.

Lukas von Blarer’s picture

AFAIK after a certain time a module will be marked as unmaintained. And if another module evolves to replace the functionality of a unmaintained module, the old one will be marked as obsolete.

saurabh.arya’s picture

FileSize
6.71 KB

Stable version of message_alter module.

revagomes’s picture

@saurabh.arya

What about a sandbox?

Lukas von Blarer’s picture

I am using a subtheme of Zen. I am getting the following WSOD error when visiting the settings page:

Fatal error: Call to undefined function zen_status_messages() in /sites/all/modules/csm/messages_alter/messages_alter.module on line 87

Lets open a D7 branch. This takes 2 minutes and we can file proper issues for it...

NWOM’s picture

Issue summary: View changes

I would love to see a Drupal 7 version as well. Maybe ask to be a maintainer?

jim0203’s picture

@Lukas von Blarer: there's been quite a lot of work done on CSM, could you download the latest 7.x beta release and see if it fixes the error you report in #14, please? Otherwise, feel free to open an bug report on the CSM issue queue.

revagomes’s picture

I was one of those people that really needed the Drupal 7 version of this module.

The true is that maintain our own code base of this module is definitely the worst choice. So I'm pointing my interest to help to maintain the Drupal 7 version this module.

You can count on me if you need help to keep this project going.

NWOM’s picture

@revagomes Please see this: https://drupal.org/node/251466

You'll have to create a new support ticket. :)

jim0203’s picture

@revagomes a module that I maintain is dependant on Messages Alter, so I've ended up bundling a Drupal 7 version of Messages Alter with the Drupal 7 version of my module.

See https://drupal.org/project/csm - if you'd like to help maintain that module then please let me know :)

apaderno’s picture

Status: Active » Closed (outdated)

I am closing this issue, as it has been created for a release that is now not supported.