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.
More Dynamic Views
I have been looking through views and all of the contributed modules I can find and there seems to be something missing. A way to ajax/js switch from reading the teaser to the body with in the view. This could be for an FAQ type implementation or others.
Does anyone have any ideas on how to go about such a thing? I have read that you can do somethink like this with Views Accordian where you re-write the output of a field to show several hidden fields in the accordian header but this seems a little cumbersome.
Does any one have a solution or some ideas about this?
Read moreImporting and manipulating the (semantic) data in Drupal
Dear members of the Semantic Web & Views development,
I have been playing with the idea of using Drupal as rapid development environment for (semantic) web applications, rather than CMS. The idea is not as far-fetched as it may seem at first:
-
CCK allows me to define a database model. Core functionality in D7.
Feeds parser lets me to pre-fill the data in nodes defined in step 1 - including the possibility to fetch data at regular intervals, update nodes and drop old nodes.
RDF-related functionality allows me to associate the data saved in pre-defined nodes with ontology terms.
Views allow mixing of data from different node types
It is also possible to programatically define data (e.g. automatically fill in a field) both in the node and in the View
Finally, there are plenty of modules that let me do just about anything with the data once I have it in nodes & views. Some exampels include e.g. visualization on a map, and setting up a web server (SOAP, REST, ...) that exposes my data to the outside world.
Refresh view after argument input with ajax
I have a tab menu of categories (taxonomy terms) and a view beneath it listing nodes. The tabs are arguments for the view.
What I would like to do is be able to click on one of the tabs and have the view refresh with the new result without having the page refresh also.
I've been looking into this for a few days with no luck. Tips, links and guidance would be most appreciated.
Cheers
Read moreMissing fields, specifically node path field, within views result object
Hello!
I was wondering if anyone knew why there might be "missing" fields within the views result object. The specific field in question is the node "path" field. When previewing the view it of course is there. When I dump the results within my script it is not.
Here's some context:
I'm writing a custom script that will generate CSV data of blog nodes.
Within a PHP script, I have the following code:
$all_results_view = views_get_view("list_blog_entries");
$all_results_view->set_display("block_1");
$all_results_view->execute();
Multiple Views sharing single Exposed filter, possible?
Hi,
I am trying to create a page that has multiple similiar views. I want to allow the user to be able to filter on different years using a drop down. All the views should change to reflect what the user selects. Is this possible?
I'm trying to use arguments passing with Panels but they seem to be URL based which isn't exactly what I want.
Anyone one else had to do this before?
Thank for your time.
Read morequery results from query - possible in views?
Hello,
How would I go about using views to build this query below? Is it even possible? Thank you for any help or advice.
SELECT node_revisions.vid AS node_revisions_vid,
node_revisions.nid AS nid,
node.type AS node_type,
node.status AS node_status,
node.created AS node_created,
node.changed AS node_changed,
node_revisions.title AS node_title,
node_revisions.timestamp AS node_revisions_timestamp,
content_field_deadline.field_deadline_value AS field_deadline_value,
term_data.name AS term_data_name,
term_data.description AS term_data_description,
How to display 2nd view only if 1st view is null/empty.
Hello All,
I have 2 different views. Both views are related to blocks. In one view with help of argument i am displaying data. But if some how those data's are not available or empty then i have to display another view. Can anyone let me know how this can be possible ?
In short what i want to do is : Display 2nd view only if 1st view is null/empty.
Thank you
Tejas Mehta
Views Slideshow of Youtube Videos Chrome Bug
Hi All,
If anyone could help me out that would be greatly appreciated. I have a views slideshow of about 8 youtube videos.
When you load the page in Chrome one video sticks to the top right corner of the page. If you slide through the videos is disappears, but it always shows up when the page loads.
Its a slideshow with a rightturn effect on hover. I switched it and tryed not on hover, different effects and still has that chrome bug.
I tested in FF IE and Safari and it works fine. Chrome is the only problem.
I attached a screen-shot of it so you can see.
Read moreRelated articles by texonomy
Trying drupal for the first time, great system, very easy to use once over the learning curve.
But ran into a wall when tried to create a link of the headline of a related post.
So, I am trying to make a little block displaying the day's top headline, nothing fancy just the latest piece of news article displayed with picture, title and summary, all created in an easy view block.
But in addition, I want to put only the headline of another article related to the top headline by author entered Tags.
Sorting on a fields from a referenced content type - NULL values
Hi again,
I tried searching for this but couldn't find the right keywords :P I'm sure this is a common requirement.
What I want to do is sort my view on a field from a referenced content type. But the problem is that the sort column is coming back with all NULLs.
For example, say I have 2 content types: Sales and Province, where the Sales table has a node reference to Province. The Province type has a Display Order field that I want the view to be sorted on.
Read moreHelp with programmatically adding fields to view
Hi,
I am trying to get views_crosstab to work and have made some progress but am stuck on how to properly add new fields to the view. I am trying to fix this (views_crosstab_table.inc line 187):
// Add a "Total" column.
// TODO: Add an option for this.
1. $alias = $crosstab_columns['alias'] . '_total';
2. $this->view->query->add_field(NULL, 'SUM(' . $crosstab_data['table'] . '.' . $crosstab_data['field'] . ')', $alias);
3. $this->view->query->fields[$alias]['aggregate'] = TRUE;
Implementing Views with Arguements in Nodes
Hi guys... It's my 2 weeks in Drupal and am doing a project which was called "Market Price Watch".
Here in our local city, we have a buy and sell site which I do not own.. most of the sellers put an overpriced item and the admin have no control with it.. (I mean he cannot say to sellers to lower their prices base on the current prices of the gadgets)
Read moreList of examples to be created for views_plugin_examples
Here we need to create a list of example modules to be created for a brand new project: http://drupal.org/project/views_plugin_examples
Please feel free to chip in with ideas.
<
ol>
How can I build a view that adds an alphabetical ID (A-Z) to each list item? so 1st item is #a, 2nd is #b, 3rd is #c, etc.???
Im trying to create a simple view that assigns #a-#z ID's to list items.
also does anyone know if its possible to load every 2nd and 3rd list item with an alternate (bigger) image?
Does anybody know how to make that happen?
Read moreViews feature
I was wondering is there a module or a feature in views where that user can edit a content in a view instead of going to find that content that is being used in view.
Read moreView has no data but still displaying in block
Hello All,
I was building one theme based on fusion theme. Now all elements are set properly. Now i have created a view which is displayed in block. View display images of particular node if that node has image in CCK filed. So i created view with argument as Node:nid and Provide default argument and Node ID from URL. This works fine for all those nodes which have images. But when any node do not have any image at that time it should not display. But my problem is it is displaying. I have attached screen-shot of how it looks.
Read moreadding a form to any page of the site that will submit to existing exposed view block
I have a view, displayed as a block, with exposed filters, assigned to one page node on my site.
This is a simple search form with a Taxonomy drop down, keyword search for name, and a few other simple filters.
My problem is that I want to include an additional form on other pages of the site (a sidebar block for example) that will submit to this view.
Is this possible?
I'm testing now, but have yet to produce results.
I copied the HTML of the form and used that as my starting point.
Of course, this view uses AJAX as it has exposed filters and is output as a block.
Read moreViews Conditional Filter
I'm well aware of Views Or; I'm looking for something that would do a Conditional Filter. Example:
I have a CCK field called showcase. If there is any node with the showcase field set to TRUE then I only want to display nodes of that type. But if none of my nodes have showcase selected then I would like to ignore this filter to still display nodes in this view. View has a random sort; also using sorting to do filtering doesn't seem like the correct way to do this.
Has anyone created a views plug-in like this?
Read moreUse Javascript (no ajax) for Views sorting - Have random sorting on cached pages
We have some hacked up tpl files to accomplish this goal, but I'm looking to create a module where one can select "Global: Javascript Random" as an option. We want to use this elsewhere so a views plugin sounds like the right thing to do.
Read moreRendering View Result as a Control within another View..
Hi All
i'm trying to make a view which i can do some operations like this image [attached]
the Registerlinks is shown based on the user Roll , and i want to send an argument within that link
is that applicable ?