Closed (fixed)
Project:
Freelinking
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2009 at 20:49 UTC
Updated:
21 May 2012 at 14:53 UTC
Jump to comment: Most recent file
Comments
Comment #1
dan_aka_jack commentedI've developed a patch which makes Freelinking aware of Organic Groups. If the node in which the freelink appears is in an organic group and if the freelink doesn't exist yet then the node creation form is made aware of which group the original page was in. The patch seems to work for me. I haven't noticed any problems yet.
If the original node isn't a member of an organic group then freelinking behaves exactly as it would without my patch.
The patch was made against freelinking.module version 6.x-1.7 (which I believe is the same as 6.x-1.x-dev at the moment).
EDIT: PLEASE IGNORE THIS PATCH AND USE THE ONE I POSTED IN COMMENT #3...
Many thanks,
Jack
Comment #2
dan_aka_jack commentedComment #3
dan_aka_jack commentedHere's a new patch. This patch is made against freelinking.module version 6.x-1.7 (i.e. only apply this new patch; ignore the first patch I submitted).
The difference between my first patch and this new patch is that this new patch creates an admin settings option to allow the administrator to enable the feature. If Organic Groups isn't installed then the option is automatically disabled.
I'm using this patch on a website I'm developing and so far I haven't noticed any adverse side effects although I haven't done a rigorous test yet.
Comment #4
eafarris commentedI don't use OG myself -- can anyone test this?
Comment #5
dugh commentedsubscribe
Comment #6
nlambson commentedI tried this patch on Drupal 6.13 and received the following error:
Assertion failed: hunk, file patch.c, line 321
This application has requested the Run time to terminate it in an unusual way. Please contact the application's support team for more information.
Comment #7
eafarris commentedUser reports patch does not apply.
Comment #8
markwk commentedAny developments on a patch for OG incorporation with Freelinking? I'm having a serious problem currently of one group's links being linked to entirely different group.
Comment #9
soulfroyssubscribe
Comment #10
juampynr commentedI can confirm this feature is implemented in freelinking 6.x-3.1.
Comment #12
zach.bimson commentedHas anyone done this for 7.x yet? its exactly what i need...