Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.6
Component:
Views Data
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Feb 2010 at 20:42 UTC
Updated:
3 Jan 2014 at 01:08 UTC
Jump to comment: Most recent
Comments
Comment #1
dawehnerif you just need to embed a view i suggest to use
Comment #2
Timotheus commentedEventually I want to dynamically add some extra filters to the view, so views_embed_view won't work for that.
Comment #3
dawehnerah ok fine.
Are you sure that args is used right?
Comment #4
Timotheus commentedYes, I can print that arg and it outputs the term correctly.
Comment #5
dawehnerwhat for a kind of display are you using?
Comment #6
Timotheus commentedI'm using a 'page' display.
Comment #7
dawehnercould you dsm the output?
Comment #8
esmerel commentedComment #9
dawehnerYou could also try out
$newview = views_get_view('viewname');
// Set dynamic stuff here.
print $newview->preview($display_id, $args);
Comment #10
esmerel commented