Arguments

Suggested Topic for Social

rhache@drupal.org's picture
public
rhache@drupal.org - Sat, 2008-05-17 06:06

Hi Everyone,

Other than the new theme I just proposed, I also would really like to learn more about Views Arguments.

This was of great interest to me when I was the Views argument session at the DrupalCamp Vancouver. However, I cannot wrap my head around it and I thought it would be a good subject to tackle if it's of interest to anyone else. I've got several applications that we can use as examples that would help several of my sites if that helps to get us going.

Please don't hesitate to comment if you have any other topics that you would like to tackle.

See you later!


Passing Arguments to views inside panel

public
group: Panels
avior@drupal.org - Thu, 2008-03-13 21:57

Hi There
I have been using panles 2 beta 2, with views 1.6

I want to be able to pass the panel page argument to the views inside the panel ,
I have read all the documentation here, but can't make this happen, any help will be appreciated.

I have a content type call event (with a date field called date_start)
I have set up a view called events that accept the date_start as an argument, (it's the second argument , the first is termid, and the third is RSS: RSS Feed Selector)
the view has argument code that set up the default value

Views and Arguments again

public
drupalprojects - Wed, 2007-07-04 21:06

HI

I'm about to finish writing a module allows to refine current view results by taxonomy terms, displayed in a separate block. Something like exposed filters does but with links instead of select and number of items after each link. To calculate a number of items that will be returned when user clicks on some term I'm using views_build_view function

<?php
views_build_view
('items', $default_view, null, false, 0, 0, 0, $exposed_filter_values);
?>

I'm also want to handle arguments here and pass it to the code below as third argument.

[question]about views arguments and filter

public
jiroro@drupal.org - Sat, 2007-04-28 21:35

i want to pass node id into my views
and the filter of my views will use this node id to show something that i want.
this could be done in editview ??
or other better ways could do that?

Views Arguments

edward.ishaq's picture
public
edward.ishaq - Sun, 2007-01-28 10:49

hi ,
i am new to drupal , i have created a simple view to show a list of groups .
i wanted to relate this view to taxonomy, that is passed in the url.

what i did so far is :

<?php
function diary_views_tables() {

$tables["rc_og"] = array(

'name' =&gt; 'rc_og',
    'join'=&gt;array(
        'left'=&gt;array(
            'table'=&gt;'node',
            'field'=&gt;'nid'
        ),
        'right' =&gt; array(
    'field' =&gt; 'og_nid'
  ) 
    ),

    'name' =&gt; 'term_node',
    'join'=&gt;array(
        'left'=&gt;array(
            'table'=&gt;'node',
            'field'=&gt;'nid'
        ),
        'right' =&gt; array(
    'field' =&gt; 'nid'

Syndicate content