Closed (fixed)
Project:
Termcase
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2013 at 17:59 UTC
Updated:
10 Jan 2014 at 08:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
BarisW commentedI don't feel like adding a lot of formatting options to the module. What I could to is add a hook so that a module developer could alter the formatting himself.
Something like:
Would that work?
Comment #2
ItangSanjana commented@BarisW that did the trick! Thanks again!
Comment #3
BarisW commentedHi Itang,
I only proposed to implement this, I didn't do it yet.
So what exactly did the trick? :)
Did you modify the module code to get this working? If so; a patch would be welcome.
Comment #4
ItangSanjana commentedNo, for now I need this at least for the front end.
Your idea has been enlightening me to use it in custom views display :)
But hopefully in the near future I can make a patch for this.
Thanks.
Comment #5
BarisW commentedI've added a hook to alter the terms, like this:
Comment #6
ItangSanjana commentedThis is awesome thank you so much! With drupal_str_replace() it thorw
Fatal error: Call to undefined function drupal_str_replace() ..so I use the old str_replace() as follows.Thanks again!
Comment #7
ItangSanjana commentedComment #8
BarisW commentedAh my fault, thanks for the patch. Committed.