I'm looking for a filter module that will take a reference to a node by ID and convert it to a link to that node, using the node's title as the link text, the way the views module does. E.g.
[node:139]
would become
<a href="http://mysite.com/node_path_alias">The title of node 139 here</a>

I've tried the RepTags module but it was massive, and none of the sub-modules had tags that did exactly this.

Note that I'm not looking for something wiki-esque. I want the URL and title to be inserted automatically based on the node id.

Anyone know of a module that will do this?

Comments

davesgonebananas’s picture

I don't know if there is already a similar module, but I have written one that does exactly this. You can find it at my website (I don't know how to create a project on drupal.org). I hope it is helpful to you.

xjm’s picture

Thanks for the module! It looks nice and simple; just what I had in mind.

netentropy’s picture

man i really need this! does anyone have another solution this does not seem to be working.