Here is a patch that adds the use of tokens to the views arguments section of the content type edit form. I am not sure if it actually works because I haven't had time to test. It should work in theory however.

I also think the separator for arguments should be "/" instead of ",".

Thanks for testing

Comments

bengtan’s picture

Hi,

My first response on reading your post was ... "tokens? what? It doesn't use tokens."

Then I had a look at your patch and it's a bit clearer.

Please give me a few days to give it a proper look. Thank you.

nicholas.alipaz’s picture

Any update on this? I think maybe it dropped by the wayside.

bengtan’s picture

Oops, sorry. Yes it did fall by the wayside. Thank you for reminding me.

I've looked at the patch and also reworked it a bit. Please see attached.

This patch itself (ie. the coding and syntax etc.) is fine with me, but I need some more assurance on the functionality.

Could you test that:

(a) it actually works, and
(b) it meets your needs?

If both of these pass, then I can go ahead with a commit.

bengtan’s picture

Status: Active » Closed (won't fix)

Expiring this issue as it is old and uncertain whether it is still applicable.