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

Feet’s picture

Am 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.

jienckebd’s picture

Thanks 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');

Scheepers de Bruin’s picture

Status: Active » Closed (won't fix)

Please rather use popup($attributes) as documented in README.TXT

Scheepers de Bruin’s picture

Issue summary: View changes

Editing to reflect info found at #492428: popup views:block