Can you create related arguments with Panels and ctools?

Events happening in the community are now at Drupal community events on www.drupal.org.
googletorp's picture

I have a little challenge I'm hoping some of you can help me solve.

The setup is pretty simple, I have a panel page that take in two args nid og uid.
In a custom table containing uids nids and some custom data, I have a row for each paired uid and nid.

Now my problem is, that I would like to check if the nid/uid pair exist in the table and return 404 is not.

I was thinking that a custom argument plugin could do the trick, but it seems that they are isolated to a single argument.

I managed to make an access plugin that does the desired, but it returns 403 instead of 404 obviously.

So do any of you know of a way to accomplish this?

Panels

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: