Closed (won't fix)
Project:
Popup
Version:
6.x-3.22
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2012 at 06:52 UTC
Updated:
29 Oct 2013 at 18:57 UTC
Firstly cheers for the great module.
I've been trying and trying and scouring the documentation but am stuck.
In a view I want to output one field as a link to a popup view (with arguments from the field).
I can popup the appropriate block (view) but can't work out how to pass the argument
print popup_filter_process_text('[popup block module=views delta=profile-block_1 title='.$data->users_name.' activate=click]');
thought that maybe I need to pass the argument with popup view but can't seem to get the view to display
print popup_filter_process_text('[popup view=profile type=block title='.$data->users_name.' activate=click]');
Saw #492428: popup views:block so tried
print popup_filter_process_text('[popup view=profile display=block_1 title=test]');
But still no luck. As a side not I have found that I get a 500: Internal Error unless I include the line
module_load_include('inc', 'popup_filter', 'includes/popup_filter.processing');
Could that be affecting it?
Any suggestions?
Comments
Comment #1
Feet commentedAm guessing I have to popup a view to pass the argument.
Have found through Popup filter that the views don't work for some reason.
When I use the popup filter in a text field I can get a popup to display when I use ajax but it doesn't show any contents.
Baffled.
Comment #2
jienckebd commentedThanks for posting this. I was getting a similar 500 error but my pages were still loading okay until i tried using popups on pages with multiple arguments. Adding this code did it for me:
module_load_include('inc', 'popup_filter', 'includes/popup_filter.processing');
Comment #3
Scheepers de Bruin commentedPlease rather use popup($attributes) as documented in README.TXT
Comment #3.0
Scheepers de Bruin commentedEditing to reflect info found at #492428: popup views:block