I was in the need for something in the like of Views Field Rewrite or Views Regex Rewrite.

The first one is a very complex approach, and although the second one is very straightforward, both are little maintained and patching views would make it a nicer addition and the patch, overall, was contained and very simple.

I honestly don't expect something like this getting accepted, but hope is never lost. In the meantime, I am happy to maintain the patch and use it on my projects with referencing it on my Makefiles.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hanoii created an issue. See original summary.

hanoii’s picture

Status: Active » Needs review
FileSize
5.66 KB
Chris Matthews’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

The 3 year old patch in #2 does not apply to the latest views 7.x-3.x-dev and if still relevant needs to be rerolled.

Checking patch handlers/views_handler_field.inc...
Hunk #1 succeeded at 443 (offset 21 lines).
error: while searching for:
  }

  /**
   * Performs some cleanup tasks on the options array before saving it.
   */
  function options_submit(&$form, &$form_state) {

error: patch failed: handlers/views_handler_field.inc:445
error: handlers/views_handler_field.inc: patch does not apply

Checking patch handlers/views_handler_field_custom.inc...
Hunk #1 succeeded at 43 (offset 10 lines).
hanoii’s picture

Status: Needs work » Needs review
FileSize
5.64 KB

Re-rolled but it did apply for me.

hanoii’s picture

Issue tags: -Needs reroll