By jabolles on
I am using Drupal 6.9 and Views 6.x-2.3.
Why would this code cause the embedded view to not display.
<?php print views_embed_view('features', 'default', $node->path); ?>
This code is in my page.tpl.php
I would like the view to not display if a value matches the $node->path.
Comments
Arguments as far as I know
Arguments as far as I know arguments generally match given values (some like nid have an exclude feature). More importantly I am not aware of a views argument for path. Also not $node->path is not generally set.
Also, it should be something
Also, it should be something like the following:
<? print views_embed_view($view_name, $default_id="default");?>Hope that helps!