Is it possible to add an option to remove the space between two or more words? Eg "one two three" into "onetwothree".
Thank you for this great module!
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | replace-drupal_str_replace()-with-str_replace()-2156713-7.patch | 406 bytes | ItangSanjana |
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.