Posted by googletorp on October 13, 2010 at 10:25am
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?