This group exists as a place for people interested in the group to talk about Views development; all development talk is encouraged here, from people who want to work on Views core to people who are interested in Views' API for their own modules. This is a good place to:
1) ask questions
2) talk about problems
3) propose ideas.
4) talk about views related projects.
This group is now unmoderated, and anyone can join at any time. Public posting of ideas is encouraged.
What I want most out of this is to keep track of what views related projects are going on and their status, and proposals for what people would like to see as Views moves forward.
Note: This is a working group. Do not post jobs here, you will lose your posting privileges entirely. Do not post support requests here; they will be deleted.
attachment supposed to follow pager ?
Hi there,
I'm developping an advanced UI where I want to use the gmap module to show the same nodes as in the main view (but on map display). This seems to work, except when I start using the pager, the gmap attachment always shows the first 10 nodes. I actually get the same if I set the attachment to use HTML list as display (always the 10 first nodes, regardless of the pager status of the main view).
So, is this intended or am I missing something (inherit arguments and inherit exposed filters is turned on, but I have no pager reference in the attachment).
Tnx,
HnLn
Read moreviews-slideshow-ddblock issue
EDIT (ISSUE SOLVED)
The views_slideshow_ddblock module is a plugin for the views_slideshow views style plugin.
I developed the views_slideshow_ddblock module but have an issue which I have no solution for. There is an issue created in the issue queue of the module and I have posted an issue in the development forum, but I don't have a solution yet.
Description setup:
Read moreDisplaying multiple pages using one View page and one Panels 3 page.
Hi All
I created a content type 'Island Profile' (to store different related types of island specific information for numerous islands) using CCK. I am using Views to query the database, to output the different types of corresponding 'Island Profile' specific information, into numerous view panes within a single view for each island. Finally I am using Panels 3 to layout the created view panes for the 'Island Profile' content type into a panel page.
I have a few questions;
Question 1.
Read moregroupby doesn't works correctly?
hi guys
do you know why if i add a groupby user_uid for this query:
SELECT node.nid AS nid,
users.uid AS users_uid,
node.nid AS node_nid
FROM node node
INNER JOIN users users ON node.uid = users.uid
WHERE node.type in ('review')
ORDER BY node_nid DESChook_views_query_alter add all rows in group by?
SELECT node.nid AS nid,
users.uid AS users_uid,
node.nid AS node_nid
FROM node node
INNER JOIN users users ON node.uid = users.uid
WHERE node.type in ('review')
GROUP BY users_uid, nid, node_nid
ORDER BY node_nid DESCAn error occurred at /admin/build/views/
I get this error when I modify a view on Views module : An error occurred at /admin/build/views/
I need to solve this issue.
Read morePanels to access drupal regions out of $content
Two days ago i was working on a page and introduced Panels 3. The page was designed without panels and already provided specific design regions such as the right and left column. So panels was ought to improve the situation...
But then suddenly it came clear there's some mismatch with those two.
If you have blocks enabled - panels will remain in the content part and your ability to modify the whole presentation is pretty limited.
New module to test out!
Hey CINDUG + Drupal crew!
I thought I would let you know that a cool new module: http://drupal.org/project/tvi (Taxonomy Views Integrator) has been released for your consideration. Please let me know what you think. What would you do differently?
The module is in Beta so I do not recommend using it in production however if it is as useful for others as it has been for us, then it will have lots of bright minds helping to make it better.
Thanks Adrian for your assistance and support.
Thanks Chris, for your advise and encouragement.
Cheers, Derek
Read moreCreating link with user name given uid
This must be easy, but I've spent much time with no joy. Feeling thick headed.
Got a table defined like this:
<?php
$schema['learningexercise_user_solutions'] = array(
'description' => t('Stores user\'s solutions.'),
'fields' => array(
'nid' => array(
'type' => 'int',
... ),
'vid' => array(
'type' => 'int',
... ),
'uid' => array(
'type' => 'int',
... ),
'solution' => array(
'description' => t('The text of the solution.'),
'type' => 'text',
... ),
...
?>Inserting fivestar widget in a view?
Hi -
So far I've implemented the advanced rating recipe with fivestar + votingapi + nodecomments. So far, I"ve been able to create a 'Store' object and configure cck, nodecomments & fivestar so a 'Review' object can be submitted and displayed after the main node content.
The 'Store' object has fivestar enabled and the 'Review' object has the fivestar widget as a cck field. So far so good.
Now, what I want to do (and this is where I'm running into problems) is to create a table view that will display the following fields:
Store name
Average rating 5star widget
Implicit Relationships
I'm just getting starting creating field, filter, etc handlers for Views for a project.
I've hit the point where I can't get further from existing examples and the API documentation.
I'm working with table, let's call it "Stuff"
Among the stored fields is a user ID.
I'd like to make it easy for someone creating a view of the table to show the username associated with that user ID.
I have absolutely no trouble creating a relationship handler that lets a user create a view that gives them access to all the fields in the user table. I suppose I could force the user to do that.
Read moreSpecifying a vocabulary in a view field
I have a content type (job) that belongs to two vocabularies (location & division).
I'd like to build a view with the headers:
title | location | division
The problem that I'm running into is that I can't figure out how to select just the location vocabulary for just one column, using the supported taxonomy field types.
If I use the taxonomy:term field for my view, each node has two results, one for each term that it has.
Can anybody lend some guidance?
Much appreciated... :)
Read moreHow to write argument handling code for setting dynamic filters??
I have created a custom content type and now i am using views for creating lists to show all, today, yesterday, week, month, year posts (drigg style). Please visit the following forum topic for full details and kindly help me in this regard.
Thanks in advance for any help!!
Read moreCritical UI/screen real estate issue with Views
I'm posting this because it's so solvable and yet it causes so much grief.
Try to imagine you've never worked with Views before, and you're pretty daring about trying out new software. Like most of us, you're likely to start throwing things around before you've finished reading the documentation.
You go to /admin/build/views and see "storage" "type" "tag" with no explanation. You do see a list of views, and you decide to try playing with one of them to see what happens, so you click on the "edit" link.
Read moreWhat is the purpose of the "default" view?
I've been learning and playing around with Views2 for a while now and have been wondering what use anyone would have for the default view other than the obvious.
The obvious: If you have a number of similar views you can save some time and work by inheriting most of the fields, filters, sorts, etc from a default view. Or you later make a change to one view that you want to propagate to other views without having to manually update each one.
Does it have a use beyond that? If so it's not at all obvious.
Read moreCombine 2 columns into 1?
I've got two content types, both have a node title and a document attachment, the doc attachment fields are different names (being from two different content types).
In my view, I'm displaying the node title and the file name in a table. The node titles are great all in one column, but the two content typed attachment fields are displaying in two separate columns, making three columns total when there should only be two. Every row has a single doc title, but one or the other column is always blank now depending on which content type's doc title is displayed.
Read moreIs Views able to remember filter results?
hello
i have a website running with real estates (www.ding-dong.at) and there i have a view, where useres can filter the objects for their needs (www.ding-dong.at/immobilien). when a user starts to filter the objects he gets his results below - that works really fine, but the problem is, if he clicks on one real estate to get the detailinformations, all his searchresults are lost when he wants to get back.
is there a way to save these filter-/searchresults?
activating the remember function in the exposed filters is not a working solution for the results, i tested it
greets
Read moreTablesorting on taxonomy terms within a node view
I have a view which displays nodes. There are a bunch of terms attached to those nodes, all single-select vocabularies. I display the terms by using the "Taxonomy: All Terms" field in three separate columns and limiting each field to its particular vocabulary.
The display plugin is a table, and I want the user to be able to tablesort these taxonomy term fields.
As far as I know, there are two ways to display terms associated with a node within a node view - "Taxonomy: All Terms" and "Taxonomy: Term".
Read moreAnnouncing Views Block
This is to announce the 1.0 release of Views Block, a module that exposes block information to Views and Views Bulk Operations (VBO). It is meant as a more powerful replacement to the standard admin/build/blocks page. Get it here: http://drupal.org/project/views_block
Currently, the module exposes a standard block VBO at admin/build/blocks2, but there are no block-specific actions yet. Your feedback, suggestions and contributions will be appreciated!
Read morePrint business cards with views?
Hi everyone,
Is it possible to let users print their business cards? It would contain information from their advanced user profile (name, address, phone, email, LinkedIn, etc.) Plus there would be content from other user created nodes. Ideally I'd like the user to press one button and out goes the request to their printer. The site is on Drupal 5.7.
It would also be nice to allow them to select what they wanted printed. I was looking at VBO for this.
Even though my module search didn't uncover any relevant modules, I'm hoping there's one. I could custom code it in PHP.
Read moreUsing a different operator in an Argument
Can Arguments in Views use something other than an equals operator, what I'm looking for specifically is to use a >= operator where I'm providing a default argument that is an integer. I'm unable to find any way to do this specifically in the Views UI and I'm not too familiar Views programming so I'm unsure of how to build this functionality in code if it's possible at all.
Read more









