I'm working on a cloaking module which hides email addresses (as per my conversation and layout in Privacy/security of a website).
I've run into a small road block, since I'm not the greatest coder. I've got the basic structure in place, and associated functions burned in. However, I'm having a hard time modifying the eregi_replace() call (as ripped from the HTML filters) to call a function to act on the filtered/replaced text. Here's what I'm looking at:
One of the custom node modules I am developing for my site requires the ability to customize the "teaser". Rather than take the first "x" bytes as specified in the parameters for the node module - this module needs to provide the user with the ability to write their own teaser. Is there a hook or other method that would allow a module to set the content of the teaser and override the default behavior?