drupal-views

Custom way to display Views in Drupal

Views in Drupal are displayed as lists or simple tables. Is there a way to customize this? I'd like my views to be rendered as JSON inside the page, so I can display it with some fancy JavaScript visualization. ...

How to build a multilingual Drupal site?

I'd like to build a Drupal site with multiple languages. What modules will I be needing and how would I go about designing my content types, views and menus so that everytime these appear in the correct language? Thanks! ...

drupal how to refresh the page when the content is created in the popups

i have designed a panel where i have to used to popup links and automodal class for creation of content.... <a href ="/testviewprintpdf/<?php echo $object; ?> " class ="popups-form-noreload">view objects</a> now after saving the content , and closing the popup the panel page is to be refreshed how it is done..... it sounds simple ...

Drupal : Need information on Node: Teaser under Views with example and step by step instructions

Hello, I am a beginner with little experience in Drupal currently exploring Views. I am not sure how to effectively use the Node:Teaser under Views. Can you guys provide me few examples with step by step instructions so I can better under stand the Teaser Feature ? FYI: I am not talking about the Teaser.module or contemplate. Kindly ...

GMAP & Location - Coordinates show but cannot show node information

I set up a view with a type of gmap. If I change it to grid, all of the field values output fine. When I switch to gmap, the coordinates show up on the map but I can't get any info on the coordinates/markers. I am very very stuck. I have gone at this several different ways. You can see the example here: http://speakitnow.com/immersi...

drupal how to limit the display results of the calendar view

i have a calendar view its working pretty fine,,, but i need to restrict the results to one per date, if i have five events, my view looks odd so thought of adding a more link and displaying only one result per date..... is there any way to this,, i have tried limiting the view to display the results to 1 but it doesn't work ...

drupal search on the top taxnomy term

i have designed a view with 2 exposed filter name(textbox) and place(taxnomy term with xxxxx -yy -yy -yy these terms it works fine when i search for -yy terms, but the problem when i select on xxxxx it should perform search on all the child terms (it should search even in -yy terms) but it seem to be happen , it only searches in the ...

Nested view required

Hello, I am new in drupal. I want to create a view in drupal-6 for my three content types which are integrated with each other by node reference(CCK). I have contents types 1) Topic 2) Room 3) Time slot I want the schedule to be grouped by topic (a field in the room node), then by room name, thusly: * [topic 1] o [room 1] ...

Drupal Views (Page) Using Human-Friendly Path

I have CCK and Views module installed. For the sake of this question scope, I'll call the content type as Project. Projects have many Members. Project nodes are accessible through /project/project-name. I want to be able to display list of members through path /project/project-name/members. Is there any way to do this? Currently I hav...

How can I create a comma separated list for multiple node references in Drupal 6?

I have an Author content_type that I'm switching out for username in articles. The problem is that a story can have multiple authors, and the following code in template.php will only generate the first author. How can I get this to output to be readable as "By John Smith, Jane Doe and Mary Poppins | Feb 19, 2010"? function mytheme_date(...

Drupal: Content in blocks from node_reference fields?

After only a few weeks of working with Drupal I've come up with a recurring problem, which I don't really have an optimal solution to, so I'm hoping that someone here might be able to give some best practice pointers. What I have is a region inside my node.tpl.php, which is populated with blocks that display content from two different C...

filtering a Drupal View with ORed criteria

I'm attempting to present a Drupal View that shows nodes in which the user's e-mail address shows up in one of two CCK text fields. Unfortunately, this doesn't seem to be possible using the stock version of Drupal's Views module - there doesn't appear to be a way to combine filtering criteria (except ANDing them), nor does their appear t...

DRUPAL, Views module: can I dynamically change the number of columns of my grid ?

hi, I'm using drupal for a website and I've created a grid with the View module to display my nodes. Can I dynamically change the number of columns of my grid with javascript according to the browser width ? At the moment I can only specify it in the back-end. thanks ...

drupal view php code parsed arguments - usage

using clean url as argument for taxonomy I encountered an issue related to my inexperience with the view concept (or maybe rtfm concept). having a peaces of url generated by pathauto, I want to use the pathauto table to get its real address, and since it should be a taxonomy term, I can, somehow use it as an argument ..? so Having a pa...

Drupal views output theming

I have a views page which tracks posts created by users. Its having a field(comment_count) to show no of comments in a node. the field is working fine except its showing blank spaces in fields with no comments. I am using the template file views-view-field--tracker--page--comment-count.tpl.php and copying the line <?php print $output;?>...

Drupal: On a product page display a slider with similar products

I have a content type "product" and would like to display an image slider with similar products. Would I have to build a view that selects "similar" products and display it in a block? Anything more practical? ...

Views doesn't show checkbox fields where answer > 1

I am using Drupal with Views and the extended profiles module activated. To enable users to check multiple areas of interest I also added a module called Profile Checkboxes. It adds the ability to use a free-form list but turns it into either check boxes or radio buttons. This module works very cleanly and did not present errors. But if...

Drupal 6 views. How to make the views title the node title of the node id argument?

I am using the node id as an argument in a drupal view. However, I want the title of the view to display the title of the node. For example, I have a node with node-id 36 and title "Hello World". The views page url is "example.com/display-node/36" (36 being the node-id passed as an argument). I want the title of the page displayed as "P...

Formatting views template output

I am using this code in a views template to print user name in a field. The output is fine except it doesn't shows as a link, as its supposed to. <?php print $row->users_name; ?> How can i modify the code to show the output as a link? btw this was the comment in the template file which i cant decode. Variables available: $view: T...

Using Drupal Views VS templating

I have recently started working with Drupal on the side and have had to tackle the limitations I come up against in the Views API. More than not I find it faster and more powerful to code it myself. It is hard to create custom views that have a specific look and feel without create custom files anyway. Creating the pages from scratch ...