I'm using a date display in a calendar block, and using insert_view to include that in a page. The navigation doesn't work correctly, seemingly because the arguments aren't passed correctly to the block.

If I hardcode a parameter in the page it works fine, e.g.


But I need it to take the argument from the URL, which looks like this:


Is there anyway to inherit the argument from the url in the view tag?


Pasqualle’s picture

no, and that url does not even look good..
you can use arguments from url with patch #419880: Various improvements, but it is not an argument in your url example..

I would suggest to render the calendar block, not the view, but I do not know which module are you using exactly..

wally’s picture

I've created a new view "training_calendar" of type calendar, with block display, page display, and a date browser display attached to both. It's using the "Calendar" module for the view.

If I link to the view page display directly (?q=training-calendar) then the month navigation works fine, but I want to include it in a page with other content around it.

The way I'm currently doing it the URL looks that way when I click the [next] or [previous] links.

Pasqualle’s picture

Version: 6.x-1.0 » 6.x-2.x-dev
Status: Active » Postponed (maintainer needs more info)

is it still not working?