I've defined a view with the CCK and View 2 modules. I would like to quickly define a template specific to this view. Any tutorial or information on this ? What are the files I need to modify ?
Here are my findings: (Edited)
In fact there are two ways to theme a view : the "field" way and the "node" way. In "edit View", you can choos...
I would like to display a Drupal view without the page template that normally surrounds it - I want just the plain HTML content of the view's nodes.
This view would be included in another, non-Drupal site.
I expect to have to do this with a number of views, so a solution that lets me set these up rapidly and easily would be the best - ...
I'm using Drupal 5 and have a multitude of views that I want to alter the output of. Using the views wizard, I can create a different template for each instance, but I'm wanting to do the same changes across all my views and having 30 files in the themes directory seams like a hell of a lot of maintenance and code. Does anyone know if ...
I've used the Views Theming Wizard to output a template and it gave me the following chunk of code to go in template.php.
I'd prefer to just maintain the one template, so all my functions will be calling the same one, and rather than writing numerous versions of the same function, I'm wondering if there's a way to string function names ...
Background: Customer X has a CCK-based Content Type (vendorxxentry) and is using Views2 to generate a listing of all the vendorxxentry nodes in a simple table.
One of the fields in vendorxxentry is called "vendorxxattitude", which appears as one of the following enumerated possible values:
happy
sleepy
dopey
grumpy
Customer X has f...
I've had to move my page title into my node to accommodate a client need, but I'm unable to now get a title to display on a page view of my views list. The argument I have to display title on edit, admin and track pages is:
<?php if ($title && ((arg(2) == 'track') || (arg(2) == 'edit') ||
(arg(0) == 'admin'))): ?>
<h1 class="titl...
Hi,
I've created a view with a set filters exposed (to show filtering options in the page). And one of those filters is a select field with all the taxonomy terms of a vocabulary.
That's ok, it's showing now. But I want to only show the taxonomy terms that have at least one node associated to it. To avoid empty results if selects an em...
I have a View with an exposed form . I am trying to a few things on it. Ideally I would like to have a dropdown that fires the form with no button. If that is not possible then I would like to have the button text something different than apply.
I hacked it for now and change views_form in views.module but that does not seem like the ri...
I am trying to get a drupal 6 view to display in a column format rather than rows. Basically I want to group my pictures/video by taxonomy and display them in a table. Similar to what I have below. I tried enabling grouping with a grid layout but that did not seem to do it.
Cows Horses Dogs Cats
Picture Picture Picture Picture
...
I need to acheive the following layout/setup for a section of my website:
Using the following panels layout:
Top column spanning full width containing:
- a view (prob themed using jquery cycle) of images relating to current node
3 columns below containing:
Left column: List of 4 single hierarchy taxonomy terms:
Term 1
Term 2 (...
Is there a views plugin that I can use to generate a xml file? I would like something that I could choose the fields I would like to be in the xml and how they would appear (as a tag or a attribute of the parent tag).
For example: I have a content type Picture that has three fields: title, size and dimensions. I would like to create a v...
I'm making a custom list of nodes and their comments. I'd like to be able to both constrain the number of nodes (easy: Items per page refers to nodes in this case) but also constrain the number of comments displayed per node (e.g. the 5 most recent):
Node number one
Comment 1-3
Comment 1-2
Comment 1-1
Node number two
Comment 2-7
Com...
I'm stuck on (what I think is) a simple views issue.
I have a view with a page display, with a path of:
/mydir/%/%
Some URLs I would hit are:
/mydir/pc/2008/
/mydir/xbox/2007/
/mydir/pc/
%1 and %2 are different CCK fields. When I specify the path with both arguments:
/mydir/pc/2008/
it works great. But the one argument paths:
/mydir/p...
I'm having an issue with Drupal 6 Views and a module of my own. I'm trying to get the query to use two Left Joins but it refuses to recognize the latter of the two. It's not an issue of order as I've switched them back and forth.
Can anyone see the issue? If there is one?
<?php
function mc_bhg_views_data() {
$data['mc_bhg_status...
Just installed Drupal 6, CCK 2.3 and Views 2.5 and I'm trying to get backlinks. Every tutorial I see says that there is a backlinks view by default and I should activate it, but there is none. The only available views are: archive, comments_recent, frontpage, glossary, taxonomy_term & tracker :(
...
I'm trying to create an img link manually with php in the header field of a view, in drupal 6. I need to read the value of one of the filters, but can't find the right variable to read. I thought I could print_r($view->filters) but it didn't give me anything, and I eventually found out that isset($view) is false.
Am I looking the wrong ...
I'm running Drupal 6.12 and I've installed the CCK, ImageField, FileField and ImageCache modules. I've create a new content type called 'Photo' and then click on 'Manage Fields', so that I can add an ImageField to this content type.
When I do this, ImageField isn't in the drop-down list. I've searched around and other people don't see...
I am creating a gallery/albums site in Drupal 6.
Perhaps the description will be a bit detailed, but still on some reason it's a problem to create a gallery in Drupal in a simple way.
As for now I am using CCK + Views + FileField + ImageCache + Lightbox2 combination.
This has allowed me to
- create Album CCK node type that can hold mul...
I need taxonomy/term/% to look like tis
User Name, Second Name, latest user's node title in this term + link to it;
User Name, Second Name, latest user's node title in this term + link to it;
User Name, Second Name, latest user's node title in this term + link to it;
...
Is it possible and how to do this using "Views 2"?
Thank you :...
I have set up a view, that filters of all my content type "fund", I am using display block.
I wish to be able to format the content of my view. ie i want to do something like this
/* start loop
field_fund_aim[0]['view']?>
I think i need to put this content in "views-view--fund.tpl" // fund is the name of my view
I feel like i am...