drupal-views

In Drupal 6, is there a way to take a custom field from the latest post to a taxonomy term, and display it in a view?

The title for this question pretty much sums up what I'm asking. I've got a list of taxonomy terms, and I'm using a view to display the latest post to each one. I'd like to also display a custom field set up in CCK just under this. Currently, I'm just using "date updated" of the taxonomy term itself which was easy to set up in views. I...

Drupal View display - setting a limit for the query results

I have a View set to grab the latest forum posts. That's working fine, but I'd like to limit it to get the last 5 records only. I know I can display only 5 with PHP but I don't want a larger query than I need. I can't find any option for this in the View. thanks ...

Drupal View with Taxonomy Argument Display

I have a view with an argument based on Taxonomy Term and a page display. I get a nice summary list on the display, but I'd like to show an image and the taxonomy term. Any way to do this non-programatically? Currently the page looks like this: I'd like something like this: (just an idea, exact layout is irrelevant at this point) ...

Drupal Views: Display recent nodes created by user on profile page

I'm wondering how I can display the recently created nodes by a user on their profile page. I've created a new page for a user at /user/%user and I want to be able to display the latest nodes created by that user. ...

Drupal 6, Views 2: Is it possible to have a filter that only applies to registered users?

Hello, Is it possible to create a filter in a Drupal 6 View that is only applied for registered users? For one filter I need I'm using the user vote (With fivestar and votingapi) to know if they user already voted this node or not, and when the user is annonymous, is working as if all the votes from all the annonymous users where from...

Is it possible to add custom fields to a Drupal taxonomy term?

I'd like to add a date field to a drupal taxonomy term, alongside the default "title" and "description" Is there some technique/php/module that lets me do this? Is it possible to do with CCK?? I need to be able to display the new field in the same view presenting the content nodes referencing the term. At the moment, I've added a date...

Drupal Views display newest content per taxonomy limit to one node

Hi, I want to create a view where all 5 of my taxonomy terms are displayed and it then displays the latest node published but this is limited by 1. For Example: Tax Term 1 Latest node published Tax Term 2 Latest node published etc etc Currently I'm grouping by taxonomy term so it's displaying all nodes published then sorted by publi...

How to use PHP in the header of a drupal view?

I have a drupal view, which displays a content type filtered by a url argmuent (e.g. category). Now i'd like to add a link in top of my view, which allows my users to add a new node. In the add form the argument field should be prepopulated with the value from the filter. I think to archive this, i have to install the prepopulate modul...

Combining multiple content types into a single search result with Drupal 6 and Views 2

Hi all, I need to create a somewhat advanced search functionality for my Drupal 6 site. I have a one-to-many relationship between two content types and need to search them, respecting that relationship. To make things more clear... I have content types TypeX and TypeY. TypeY has a node reference CCK field that relates it to a single n...

Drupal Views limiting content posted by group membership

Hi, I have various different content types and I want to filter by using views. So say a block only displays content posted in groups that you are a member of. I've created my generic view which so far displays all content of that type, but I'm struggling with linking this to content only posted in groups your a member of. I've looked...

CCK NodeReference - Pass current user id as argument to selection view

Hi all, I'm trying to create a view to limit the options available to a user for a CCK NodeReference field. I want to pass the current user's ID as an argument to the view that selects the options for the CCK NodeReference field. Basically when the user creates a new item, I only want them to be able to reference a node which they creat...

Can the "Node Reference Views" module handle more than one field/view per node?

It seems to be working ok for me, as long as I don't try to put 2 fields in a node. Then it doesn't include any view. Is there a limitation? ...

DRUPAL, Views, Exposed Search Filter: how to never filter a particular node ?

hi, I'm using Views on Drupal. I've added the Search exposed filter to search the nodes. I would like to avoid to filter 1 special node (which is sticky, on the top of the list). In other words, the search filter should ignore that node, and it should be always displayed. how can I do that ? thanks ...

Online Sports betting website using Drupal

I wanted to know how suitable is Drupal for making a sports betting website similar to http://www.sportsinteraction.com/ . I am aware that there are modules like Bookmaker in Drupal which could help . However, I am puzzled about how to handle the user accounts can be extended to keep a track of the money in each individual account. Also...

Drupal 6 - Create search block using Views.

Anything that's dependent on using the Drupal (core) Search requires text in the Search Field. I believe Views and a custom/advanced search is the solution, is there a tutorial anywhere? I can't find anything! ...

How do I make a view that groups nodes by taxonomy term?

Hello, I'm trying to bend views and drupal to my will. So far I've produced a view to display the titles of my nodes. Each node will be assigned exactly one taxonomy term from the set {X, Y and Z}. So for example, Node A has a title "Car drives into field, thousands don't care". Node A has a taxonomy term "Pointless". I'd like to gro...

How to create a frontpage that lists all the nodes in the site using drupal views

Hi All , I want to create a frontpage view that will display all the nodes in my site. What I do now is as simple as this: Navigate to views module. Activate the frontpage view. Select page view. My doubt is now how and where do I specify that this front page should display me all the modes in the site ? Thanks, I can be more c...

How to split a View in several pages when a number of elements is reached?

I am using Views to display a gallery. Right now I have set up the View so it onlys shows 50 elements, but I want it to display a "Next" button that takes you to the next batch of elements. Preferably using AJAX / without reloading, but its not necessary. How can I do this? I have looked at all the options and searched for a module that...

Drupal show / hide fields in view

I would like to show / hide certain fields in my Drupal view accordingly to the user role. Provided I can only have this view to work with, how can I achieve this programmatically or there's some settings that I am not aware of in Drupal. P/S: I am aware of the access settings under basic settings in View but that would restrict acce...

Drupal - Views + node preview woes

Hey there! I have a few Views on my Drupal 6 site which take care of some of a node's fields. For example, I have a content type called Country, which has a field called Capital. I've excluded this field in the node display, but there is a view that takes the node ID as an argument and displays it in the right column. This is all very ...