By rj on
I just started the site GoodF*****gDrupalAdvice.com. I'd like to have a SFW version, such that people can go to GoodDrupalAdvice.com and have all instances of f*****g removed. My initial thought was to do it with locale + translation + domain access, which means I would need to manually create each SFW version of a page. However I'm lazy and I'd prefer to do it automagically. Is there a module, or at least some code I could start with, that allows dynamic filtering of text on a page? I found the Wordfilter module (and a few similar modules) but it appears they do the filtering/word replacement before the node is saved. This needs to happen when the page is rendered. Any advice?
Comments
The wordfilter module uses an
The wordfilter module uses an input filter. Input filters filter the data coming out of the database, not going in. So it is doing what you want.
Side note: you may want to look up on using 'Drupal' in your domain name. If you are collecting money for usage of the site, it could run into some issues for you. If you are not, then I think you are fine.
Contact me to contract me for D7 -> D10/11 migrations.