Closed (fixed)
Project:
Flag Friend
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
3 Apr 2011 at 16:46 UTC
Updated:
26 Jul 2019 at 07:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedI digged a bit more into this and found that the function:
needs to be modifed a bit to work:
1. the $form is not a reference (as seen in ctools)
2 I added a default form that renders the title overwrite as well as the argument (borrowed from ctools)
Now the form gets rendered and it saves the values. What's missing is any rendering in the panel. That's what I'm checking right now.
Comment #2
Anonymous (not verified) commentedRendering works too. I missed the point that sending a friend request to myself is not the primary use case. ;)
Comment #3
Anonymous (not verified) commentedHere is a patch with my changes to the form.
Comment #4
Sylense commentedthis patch worked for me using the latest dev (Jun 11). this should be committed
Comment #5
miklHere’s a Git-formatted re-roll of #3. It does the exact same thing, but can be applied directly with git am, rather than patch -5 < file.patch.
I’ve tested this on a couple of installations, and it works great.
Comment #6
sirkitree commentedhttp://drupalcode.org/project/flag_friend.git/commitdiff/a637e97b844084a...