Hi,
I'm making an encyclopedia type of website and freelinking module was really helpfull to link content to eachother. However the freelinking process between brackets was made trough a processus treating large amount of .xml files with special rules that then were uploaded to my wesite. after that process some links didn't had any target and I would like the link to not apear for users when reading the article (they don't have the right to create content anyway). Of course I would like that without having to rewrite the 5000 contents. Any ideas about how I could do that ? Making something that could remove the brackets if content wasn't found for the freelink ?
I would apreciate any help thanks to the Drupal Community.

Comments

pbonnefoi’s picture

Any answers ? Can at least someone tell if it's possible or not ? Thanks

Grayside’s picture

It's possible. I think this should be handled as part of the migration process, which means a script you create (possibly as a drush command) to run over the content, run the text through the freelinking filter in such a way that you keep track of the original string to replace it if the target does not exist.

Depending on how you do it, the dgrep command in http://drupal.org/project/drush_extras may be useful.

juampynr’s picture

Status: Active » Postponed (maintainer needs more info)

@pitair, do you need further help on this issue?

juampynr’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Closing. No further feedback.