Posted by jvincher on April 13, 2005 at 2:09am
Jump to:
| Project: | freelinking |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | eafarris |
| Status: | closed (fixed) |
Issue Summary
Very nice module.
I'd like to be able to browse a (alphabetical) listing of freelinked words on a site, possibly with a status (new, edit etc). Clicking the link for a freelinked word should open the "freelinked node" or, if no node is available, allow the user to create content (similar to the way it works now). This listing could server as a central wiki repository and, where applicable, a list of "to-do" wiki activity for interested users.
Comments
#1
(assigning this to me)
Interesting idea. Thanks for the request.
Right now, this would be quite difficult to implement, as the module does not store freelinked words in a database, nor does it even know what the target is (whether an existing node or a potential new one) until the link is clicked. Still, it's something worth pursuing. I'll take a look.
Thanks for looking at my module, and I'm glad you find it useful.
#2
Uploaded version 1.3 of the module which implements this. Please give it a try and close this request if it fulfills your requirements.
#3
I should add that the new version which has this feature is in CVS HEAD, not tagged for 4.6. It will work fine in Drupal 4.6.0.
#4
Nice job! It makes the module VERY useful. A small addition would be to list them alphabetically as displayed below:
A:
a1
a2
a3
B:
b1
C:
c1
c2
c3
I added another feature request here:
http://drupal.org/node/21548
#5
The version 1.4 that is now part of CVS HEAD slightly breaks the freelinks page. This new version has an expanded syntax, where the source and the target can be different. The freelinks page sees the source, but not the expanded target. Re-opening this issue while I work on this.
#6
Just a short note on this
The title.module used [node title|text to use in description]
But in the CVS freelinking.module it now has that reversed as [text to use in description|node title]
#7
You're right rar. When I did my patch for title and description I meant to model it after the style used in Twiki and Wikipedia, but it seems that I got it backwards. I haven't tried this out yet, but I believe the solution is as simple as reversing both occurrences of $phrase and $freelink in the below:
if ($barpos) {$phrase = substr($phrase, 0, $barpos);
$freelink = substr($freelink, $barpos + 1);
}
#8
Wes you are correct - that update fixed it for me too. As an asside for anyone else who makes that change - I was confused since I saw no change in the pages even after making the code update: Note: Drupal uses caching in serving the pages - so if you make a change to the code - you have to clear your cache to see the new pages (or just "edit" the page with some minor update)
#9
New version 1.9 committed to CVS reverses the order of the source and destination to [[destination|source]], to match the title.module syntax.
#10
Version 1.10 committed to CVS. The freelinking page is correct again. Please read UPGRADE.txt if using the old CVS version, your tables need re-creating, as the schema has changed.
Marking this as fixed. Still working on a nice way to separate a long list of freelinks by first character. I'd like to see a way for Drupal core to provide long-list navigation.
This version also introduces a block that you can display that shows freelinks without content.
#11
#12
related to my remarks at #4, I just noticed how the Gallery module lists its terms. This is what I had in mind when I wrote #4. With a lot of freelinking terms, this seems like a good way to organize and easily access freelinks.
#13
Closing some ancient requests. If they're still desired, please re-open.
#14
I can't seem to be able to make freelinking work. We installed it and added [[phrase]] but the page was rendered with the [[]] and no link was activated. For example, we took the atkin diet phrase which on a blog post with is also the name of a category but it did not work...
btw, we also tried we just one work but it did not work either.
Any thoughts?