Closed (fixed)
Project:
Freelinking
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
13 Apr 2005 at 02:09 UTC
Updated:
10 Dec 2008 at 21:44 UTC
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
Comment #1
eafarris commented(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.
Comment #2
eafarris commentedUploaded version 1.3 of the module which implements this. Please give it a try and close this request if it fulfills your requirements.
Comment #3
eafarris commentedI 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.
Comment #4
jvincher commentedNice 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
Comment #5
eafarris commentedThe 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.
Comment #6
rar commentedJust 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]
Comment #7
Wes Cowley commentedYou'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:
Comment #8
rar commentedWes 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)
Comment #9
eafarris commentedNew version 1.9 committed to CVS reverses the order of the source and destination to [[destination|source]], to match the title.module syntax.
Comment #10
eafarris commentedVersion 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.
Comment #11
(not verified) commentedComment #12
jvincher commentedrelated 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.
Comment #13
eafarris commentedClosing some ancient requests. If they're still desired, please re-open.
Comment #14
jongs commentedI 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?