Arguments

Events happening in the community are now at Drupal community events on www.drupal.org.
edulterado's picture

Arguments and URL strings

Hi,

maybe this is a really silly thing, but I´ve trying to figure out how to accomplish this for a couple of days with no results.
I want a section in my site to have different subsections of the form

/main-section // it displays last content submitted for each sub-section. For each subsection the URL will be:

/main-section/subsection-x // and it contains a teaser of nodes for each subsection-X (x=1,2,3...). Finally I want the full view node to have the URL:

/main-section/subsection-x/node

Well, and this is my approach on how to implement it:

Read more
bamban's picture

views arguments ile bunu yapmak mümkün mü?

merhaba arkadaşlar Türkiyedeki tüm iller ve ilçeleri kapsayacak bir site yapıyorum bunun için illere girildiğinde sol sidebarda o il'e ait ilçeleri listeleyeceğim bunun için mesela atıyorum /trabzon-hava-durumu diye bir düğümüm var ve bu düğme tıklanıldığında trabzon ili hava durumu ve sol tarafta trabzon ilçeleri listelenecek bu listelenen düğümlerin yapısı şu şekilde olucak

Read more
spangaroo's picture

Customized user blog page: Panels, views, and arguments

I've been trying to figure this one out for over a week now so thought I'd come to the Group to see if anyone might be able to offer a solution.

I've attached screenshots of my settings to hopefully make it easier to understand.

Images

I've enabled the built in System Page (blog_user) that allows a User's blog posts to be easily viewed. I chose a Flexible panel and put 3 Views inside, (user_posts, User being viewed, and User Tweets). That part was simple enough and great built-in functionality.

I also added a shot of the View a reference.

The Problem

Read more
datatv's picture

NooB Question: Views and Arguments

I've been having the problem all morning where I'm so close to creating my first view but it's just not there yet. Here's what I've done so far.

Read more
idcm@drupal.org's picture

Passing an Argument from the URL to view block

I am not sure if this is an appropriate discussion topic to post here. If not, my apologies. I saw how others had posted views arguments solutions here and thought if I could get this resolved, it would make a nice addition to the dojo.

I just created a forum help request on D.O at http://drupal.org/node/544884 and was wondering if anyone was familiar with the challenge of passing a URL argument to a view block.

I look forward to any advice you can share.

Thanks
c

Read more
coldert's picture

Visa delar av innehållet av en Content Type i en View baserat på del av path

Jag har en Content Type (Product Group) som innehåller en väldig massa fält, grupperade i olika sektioner, ex. Overview, Specifications, Sights and sounds, Opinions.

Jag har en view som ska visa denna information beroende på path.

Ex.:

/products/minprodukt/overview

Ska visa fälten overview_image, overview_description och overview_at_a_glance.

I nuläget så har jag en lösning med en switch-sats i template.php, theme_preprocess_node som sätter variabler som jag sedan använder i node-product_group.tpl.php. Switch-satsen jobbar utifrån värdet i $_GET['section'].

Read more
briinums-gdo's picture

create event from calendar clicking on date

I`m trying to make a calendar block with clickable dates. this is for a guest house to make reservations.Clicking on date would take to /node/add/my_event/2009-06-05 or /node/add/my_event/?date=05-05-2009 or similar. I want to pass the date as argument to "create content" form. any guest has access to create this type of node, but the default state is "unpublished" so that only administrator can approve (publish) the node. after that the created event would appear in calendar block and have CSS "has-event" definition (e.g. red color).

Read more
jnicola's picture

Got a few questions again for you all

Hey everyone, so I'm making some serious headway on this page, and it's getting closer and closer to being largely complete with all the functionality that I want! Here are some of the issues I am currently facing and would appreciate some advice on.

  • Passing variables (arguments?) in the menu links? For example, I want to link to todays date in the event module for the week view. The working link is: /event/2008/10/12/week/all/17
  • How do I get a menu link to automatically place the month (10 above) and day (12 above)?

    Read more
    rhache's picture

    Suggested Topic for Social

    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!

    Read more
    avior's picture

    Passing Arguments to views inside panel

    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

    Read more
    Subscribe with RSS Syndicate content