Closed (fixed)
Project:
Freelinking
Version:
6.x-3.0-alpha2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
9 Jun 2009 at 23:41 UTC
Updated:
1 Sep 2009 at 05:04 UTC
This plugin takes a reference such as [[nid:12]], [[n:12]], or [[node:12]], and creates a link to node/ using the node title as the link text.
I couldn't determine how to roll a new file as a patch, so here it is whole and entire. Just drop it into the freelinking/plugins directory minus the ".txt".
| Comment | File | Size | Author |
|---|---|---|---|
| freelinking_nid.inc_.txt | 1.14 KB | Grayside |
Comments
Comment #1
Grayside commentedOnly the last freelink with any given string matching the indicator is actually replaced. The same text repeated twice for each indicator option presents:
Comment #2
Grayside commentedThis problem is not unique to the nid plugin. Opening a new issue.
Comment #3
eafarris commentedAdded as part of alpha2. Please verify and close.
Comment #4
Grayside commentedcomment on line 6
// allows for a link like [[node:<nid>]], [[n:<nid>]], or [[node:<nid>]] to be expanded torepeats node twice instead of specifying "nid" as an indicator.
I'm not sure if all three are really necessary. Otherwise, this works fine, marking closed.