Closed (outdated)
Project:
Insert View
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2011 at 23:50 UTC
Updated:
28 Oct 2025 at 17:20 UTC
Jump to comment: Most recent
Comments
Comment #1
pasqualleWhat argument (contextual filter) do you use for preview on view edit page to preview the result? The same argument works with insert_view.
Comment #2
clkeenan commentedI currently don't have anything set in there. Unfortunately, I had a developer make this view for me. It appears as though he just used args within the insert view line (but not in the actual view itself) to set the appropriate ranges for each timeline set.
Any other ideas?
Comment #3
pasqualleIt is not a settings, it is always empty. You can test the argument there.
If you can't figure out what is the correct argument, then post a screenshot of your arguments settings from the view edit page.
Comment #4
clkeenan commentedRight, I can't figure out the correct argument. I've posted a screenshot of my argument screen here: http://www.course-notes.org/images/drupalview.png
You can see I'm trying to group timeline events between year ranges. In this case it's 1800:1810. I followed the example in the help text for the YYYY:YYYY syntax.
Any help would be greatly appreciated!
-Chris
Comment #5
pasqualleI think the correct date range argument is 1809--1819 if you are using the views_daterange module.
The thing which must be wrong is the "30". The second param is the view display name, which can not be 30.
how many arguments do you have in the view?
if 2 and the second argument is the date range then the correct syntax probably is
[view:Timeline==30/1809--1819]ps: the view name should be lowercase, but if you see some results from the view, then it is probably ok as is..
Comment #6
pasqualleI understand now. The 30 was used to limit the result to 30. But it worked only in Drupal 5 version. If you need to limit the result, make the limit in the view..
from project page:
Hmm, I need to fix this text, as it does not work any more.
Comment #7
pasqualleso the correct syntax is:
[view:Timeline==1809--1819]if you create additional block display for the limit, then the syntax is:
[view:Timeline=block_1=1809--1819]Comment #8
igor mashevskyi commentedD6 reached its EOL back in February 2016, and there is no active release for D6 for this module anymore.
Development or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.
Everyone can apply the patch above (not tested by the maintainers, tested by the community) to their D6 projects.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!