views

blogjunkie's picture

Bounty: Code snippet to organise view alphabetically

Hi Views Developers,

I admit that I joined this group just to post this bounty, but I would really appreciate your help.

I'm trying to create a view that outputs nodes like this - http://www.lawteacher.net/contractlawcases.php

I'm currently building a similar case law library. I've created a Case Law content type and given it a taxonomy with terms like Contract Law, Criminal Law etc.

Read more
aaron's picture

RPG & Nodes

I'm going to bring up an old discussion now. I don't think there's been much discussion in forums (but if so, maybe someone can dig up some posts). But there has been much over the past couple of years in IRC.

This has to do with integrating RPG with the Drupal node system. The current RPG module is its own entity, entirely unattached to nodes. This is a reversal of earlier versions of the module. Originally, I'd planned to fully integrate it with CCK and Views, and if you look at the first few dozen commits, you'll see that RPG objects were actually node types, and the attributes were fields.

Eventually, I ran into several problems. Some issues were merely difficult, while others seemed nearly insurmountable. Thus, I rewrote the engine, making RPG objects an entirely separate entity in the database.

Now I'm writing graphical support for RPG, and am finding myself duplicating code, and questioning (yet again) my original decision to detach RPG from nodes. Here are some Pro's and Con's of using node types & fields for RPG objects:

Read more
joachim's picture

New view type: Image Gallery

You might be interested to know about a new view type that's now included in the image module: an image gallery view for image nodes.

This is in the latest 5.x-2.x-dev release of image. Existing galleries and blocks are reimplemented as views.

hip's picture

Filtering dates for a 'period of time' view

Hi,
I'm using views.module (altogether with some other modules) to run an events site for my town. I'm trying to get some views from the events nodes (CCK content type) but I don't have a clue how to filter them properly.

Read more
kirilius's picture

How to add context-dependent content to the view's output?

I have a view that displays (let's say) a grid (gallery) of pictures related to a given node X. This view has a parameter that's passed through the URL: http://mysite/node/$arg1/pictures. It works fine but I would like to be able to make a few changes to the output:

1) Change the title so that it says something like "Node X pictures", where Node X is the title of the node with ID that's passed through the parameter $arg1.

2) Add a link at the somewhere on the page that says "Start a slideshow". I have the slideshow view ready. Let's say it's URL is http://mysite/node/$arg1/slideshow

Read more
kirilius's picture

How to turn a view into tab for a specific node type only?

Hello,

I have a view and the goal is to turn it into a tab that shows only for a specific node type. Here is what I do:

I have a page view called for e.g. x_pictures that is supposed to display all the pictures associated with a given node of type X. The URL I have given to it is node/$arg/pictures
In the "Menu" section of the page definition I have the following settings:

Provide Menu - checked
Provide Menu as Tab - checked
Make Default Menu Tab - NOT checked
Parent Menu Item Type - Already exists (don't create)

Read more
E_Maverik's picture

Product display with e-comerce using taxonomy menu

I am challenged & need assistance.

Novice Drupal user, have created a taxonomy structure, vocabularies (about 5), each with 3 to 20 terms, each term with 3 to 40 subterms.

I then create products, there may be 250+ of these.

Each of the products need to be "tagged" with 3-30 sub-terms and the parent term.

The tags, together with other links such as "read more" and "add to cart" display after the item subject. If the number of tags is more than 4, the tags and other links run into each other.

Read more
kirilius's picture

Views in the context of a node

Hi there,

I posted this question in the main Drupal forum but maybe this group is the right place for it.

Here is the situation:

I have a view defined that shows some information relevant/dependent on the context of a node. In my case I am using the view to show some related nodes to the main one.
Let's say the URL is http://mysite/views/show_more_data/[nid]
There is one parameter that is the node ID of the node we want to display more info about. This view works fine when called through the URL (a page view).

Read more
joachim's picture

Adding or theming argument defaults

Is there a way to add a new type of default view for an argument, beyond the built-in 'Return Page Not Found', 'Display All Values', etc?
Or failing that, can it be drastically themed to return something different, from the definition of a new argument type in a module?

I'm trying to replicate the galleries made by image_gallery.module as a view, and I need to show a list of top-level galleries for the URL with no arguments.

dmitrig01's picture

Views 2: Call for help

Views 2 is currently being updated for Drupal 6 compatibility, but it needs major help in order to be ready for the Drupal 6's approximate release date! We're short on people and short on time, so here's the bottom line. Without your assistance and contributions, there will be no Views for Drupal 6 within any useful timeframe. If we don't have Views 2 ready for the D6 release date, the vast majority of casual users might not even bother to download and try Drupal 6. That would be bad, so you need to get involved in helping to complete Views 2 so this scenario doesn't happen!

Read more
Subscribe with RSS Syndicate content