Hi, this is a great module, but is is possible to pass through an argument at the end of the destination url to be utilised by Views2?

I have 2 content types which use the same taxonomy vocabulary, and am using Jump to display the list of taxonomy terms.

I'd like to have a couple of radio buttons next to the Jump menu that would append either (e.g.) "?type=contentType1" or "?type=contentType2" to the end of the url submitted by the Jump menu. This would be used by a view I have set up to display the results.

I'd have thought it's possible to do this by fiddling with the module code, or even by inputting some additional foreach statments to a php block. But I'm new to php and don't have the skills to do this yet.

Is what I'm thinking possible?

Many thanks
Matt

Comments

marcp’s picture

If you really want to have the radio buttons affect the URL that's getting jumped to you're going to need some custom code.

Why not just have 2 jump menus? One for contentType1 and one for contentType2?

You can use the jump_quickly() function to put the two jump menus in the same block if you want...

mf-2’s picture

Thanks for your reply marcp.

I'm not up to writing the custom code, but have gone with a second drop down which kind of does what I want, if a little clumsily.

Cheers
Matt

marcp’s picture

Status: Active » Closed (works as designed)