Closed (works as designed)
Project:
SpamSpan filter
Version:
7.x-1.1-beta1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 May 2011 at 20:25 UTC
Updated:
1 Nov 2014 at 09:46 UTC
Jump to comment: Most recent
Comments
Comment #1
gpk commentedYou might have to do some fiddling in Views to first of all to de/reconstruct the email address link e.g. rewriting the displayed text to "Email me" or truncating it. Views does provide facilities for doing this sort of thing; however you might need something like Views Custom Field to get the exact behaviour you want.
Once you've messed with the email address link to your heart's content you can then let the Spamspan display format do its stuff.
Comment #2
peterx commentedThis request is outside the scope of this module. Another module or code can create the modified link then call the spamspan() function.
You could construct anything you want without Spamspan. There is flexible link rewriting in Views 3. There is also a module to let you use PHP in views.
To make Spamspan Javascript respond to your manual link, make sure you end up with a span with class spamspan because the Spamspan Javascript look for span.spamspan. Read the spamspan Javascript to see everything the Javascript requires.