Dear list, i want to filter links to external sites while the content is saved. Only links to the local domain should be allowed. Is there a module available to add such a feature (it can also be a white or blacklist)? Thanks Matthias
You can do this pretty easily writing a regular expression using the 'custom filters' module. Thanks, Patrick On Tue, Feb 12, 2013 at 7:35 AM, Matthias Fechner <idefix@fechner.net>wrote:
Dear list,
i want to filter links to external sites while the content is saved. Only links to the local domain should be allowed.
Is there a module available to add such a feature (it can also be a white or blacklist)?
Thanks Matthias -- [ Drupal support list | http://lists.drupal.org/ ]
Am 12.02.2013 14:40, schrieb Patrick Avella:
You can do this pretty easily writing a regular expression using the 'custom filters' module.
I had there a look into it. But the seems to cause problems. I had enabled it and added a really simple rule. Now I get error messages on each page load: Notice: Undefined index: caption in theme_table() (line 1872 of /usr/local/www/drupal7/includes/theme.inc). Notice: Undefined index: colgroups in theme_table() (line 1873 of /usr/local/www/drupal7/includes/theme.inc). Notice: Undefined index: sticky in theme_table() (line 1874 of /usr/local/www/drupal7/includes/theme.inc). Notice: Undefined index: empty in theme_table() (line 1875 of /usr/local/www/drupal7/includes/theme.inc). The modules seems not be be a good choice, is there anything other available? Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
participants (2)
-
Matthias Fechner -
Patrick Avella