Closed (won't fix)
Project:
Popups API (Ajax Dialogs) [D7]
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2008 at 22:31 UTC
Updated:
21 Aug 2012 at 14:01 UTC
Hello,
firstly, great module!
I need support to add this behaviour to an "edit" link on the node view done by node.tpl.php. For my understanding, the paths "admin/*..." are catched by popups_popups() hook. In that case, the form could manipulated.. BUT my question is how to integrate it in the edit-link of a node-view?
My example is a node from type link (build with cck). That link should by edited by user directly in front- or taxonomy page..
Could you give me some inspiration to find the solution? Best practise ;)
Thanks a lot,
Tom
Comments
Comment #1
fragtom commentedComment #2
starbow commentedHas this been addressed in the current version?
Comment #3
2ndChanceTech commentedI to have been trying to figure out how to add the effect in various places still.
One being the edit link/tab on node, so that a node can be edited from a pop-up.
And the other that would be great is how to add popup support for comments.
The only way I know is to edit the core modules which is highly frowned upon, so I have yet to do it.
You have any suggestions on how to achieve these?
Comment #4
starbow commented> One being the edit link/tab on node, so that a node can be edited from a pop-up.
That is a hard link to target in a theme-independent manner. Something like this should work, but you might have to adjust for your theme
> And the other that would be great is how to add popup support for comments.
After line 3, add
Of course, this can varry based on your site theme and comment settings.
Comment #5
2ndChanceTech commentedHello, I've been trying to implement this on the theme level (within template.php). But can't seem to get it to work.
Using firebug to inspect "Edit" Tab. I get this
Using firebug to inspect "Add Comment" Link. I get this
I have tried multiple alterations, but can't seem to get either one to work. This is for the Aquia Marina theme.
I was working within the template.php file and have not tried making a module.
Any help would be appreciated, thanks so much.
Comment #6
starbow commentedhook_popups does not work inside of template.php. You will need to create a custom module.
Comment #7
fragtom commented