ADDING "banned URLs" to LINK Field

THOOR - November 2, 2009 - 17:07
Project:Link
Version:6.x-2.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:THOOR
Status:active
Description

Pretty often the Link Field is filled with so called "Affiliate Links" ... by Users of my websites. Is there a chance to integrate a "Banning solution for affiliate links" in the LINK Module in future?

Or is there already an easy way to ban unwanted links?

Thx Thomas

#1

hefox - November 13, 2009 - 15:42

I'm not the maintiner, but it's very possible to add this check outside of the module with programming.

Using a form alter, add in a custom validation that checks if the field contains the banned urls. :>

(Use hook_widget_alter to add a textfield of 'banned' links to the widget probably).

So it's possible, but I don't think this module currently does it.

 
 

Drupal is a registered trademark of Dries Buytaert.