The Views module is a module that allows creating lists of content with a flexible query builder.
0
votes
0answers
3 views
Theming views data export XLS button
I have a view that I have attached a data export view to. I want to change the default orange icon that shows XLS at the bottom of the view, to another button with text "Download View". How can I ...
0
votes
0answers
11 views
How do you combine exposed filter string text searches into one input field for Drupal 7 Views?
Currently i have a bunch of exposed filters in my view, but i want to combine them where I can just search using only one input field. how can this be done?
0
votes
1answer
18 views
Image-link to content works only on preview
I have a view showing content of a specific content type. In the view, I show 2 links, linking back to the specific content. The first one is an image field and the second is the title field. Both ...
0
votes
1answer
15 views
Unable to create a view of type solr search
I have installed the apachesolr , views and apachesolr_views modules but I am unable to create a view of type solr search.
Is there something i am missing? Because the apachesolr_views provides views ...
-1
votes
0answers
17 views
Unable to link with Mega Menu [closed]
I am unable to link to the target node no with the Contextual filters nid of menu_views module.
Please suggest me.
2
votes
1answer
15 views
How to make custom jquery method accessible from Drupal.behaviors, across multiple javascript files?
I have a custom views plugin. When the view is displayed, the javascript below gets loaded. Note the custom method, do_stuff, which gets called from within Drupal.behaviors.
(function ($) {
...
1
vote
1answer
16 views
Need help styling a field in a view
I am using D7 and subtheming the commerce kickstart theme.
There is a view named Collection Products. I have added a field to the view called Product category: Description (indexed) that pulls in the ...
2
votes
0answers
14 views
Calendar Views: Upcoming or Recent
I'm currently using the default calendar views "Upcoming" block to display upcoming events on my homepage. However, because events are infrequent, its common for there to be no upcoming events. In ...
0
votes
1answer
15 views
GROUP BY in hook_views_query_alter() doesn't work
I'm using Views 7.x-3.6 and I tried altering the GROUP BY clause with hook_views_query_alter()
function mymodule_views_query_alter(&$view, &$query) {
if ($view->name == "view_name"){
...
1
vote
0answers
24 views
How to check for Grouping field in Views submodule?
I'm developing on the Views Datasource module to enable grouping by field (not field aggregation). I've now got the output format that I want, but I don't know what variable the Grouping Field setting ...
0
votes
0answers
36 views
How to render multiple teaser and one full view mode (of the active teaser) on the same page?
I'm trying to do the following:
Show the teasers off all the posts (content type: application_formulier) in a horizontal scroll, this works using the "simplyscroll module and is already finished ...
2
votes
3answers
39 views
How can I have a field value that is the sum of other (decimal) field values?
I have created a custom content type with three decimal fields. I need to tally these three fields and then wrap the output of each one with a specific data attribute, stating their respective value ...
0
votes
0answers
11 views
Integrate custome content type with drupal commerce custom product, how?
What should / can I do if I want that:
The names of my custom content type in a select box as values of
that select box in my drupal commerce custom product
If any of the value is selected from ...
0
votes
0answers
16 views
Serching for a video module for my drupal 6
I have my website building using DRUPAL 6 i am searching for a video module like
http://dimsemenov.com/plugins/royal-slider/visible-nearby/
http://www.meadmiracle.com/SlidingGalleryDemo2.htm
kindly ...
2
votes
2answers
29 views
Views and Filter Criteria - is this normal behavour? Drupal 7
I decided to modify the View after all the content had been uploaded to the site. Now I am experiencing issues with the Filter Criteria, not picking up the nodes which I would expect to be picked ...
2
votes
1answer
27 views
Rewrite View field value
I have a Views table that simply shows a list of Entities.
Now at the moment, field 'status' just outputs the raw data 0 or 1.
I want this to be rewritten as 'Pending' or 'Approved' respectively.
...
1
vote
2answers
23 views
How to assign a dynamically updating date to a user based on a related field on their profile
I have a site where Users who can expect a delivery to their address every week depending on their delivery route. I also have a Content Type of "Delivery Route" and a Content Type of "Delivery" with ...
2
votes
2answers
14 views
How to embedding Comment form for each individual item in drupal's view?
In my current project I want to embedding comment form for individual item in views but I did not get any settings/ configurations for the same in view. I tried to override template for the same using ...
0
votes
1answer
14 views
Calendar add date programmatically
I am having a bit of trouble figuring out a thing with Drupal Calendar.
I have created a custom content type , with a date field.
I display the dates as events in a Calendar style view.
I want to ...
0
votes
3answers
34 views
How can I sum up fields that reside in multiple nodes?
I am using Drupal as an inventory management system and wanted to know how can I sum up fields to get a net total?
Say I purchased 10,000 widgets over 2012, and I want to be able to sum up all the ...
1
vote
1answer
26 views
Translation “Global: Text area” in views footer
I use Internationalization module for multilingual site.
Is there a way to translate custom text in views footer except of creating a new view for a second laguage?
0
votes
0answers
28 views
Youtube Video still playing in background after attempt to close it by clicking on the overlay area (Colorbox module used)
I created a Youtube video gallery using video embedded field module (to put my Youtube url) and colorbox module to create a nice overlay pop up.
I have created the gallery grid with the Views module. ...
1
vote
0answers
23 views
How to have exposed filters not displayed on search results
This is hard to explain so I'm attaching an image.
When someone clicks on a filter to search for something, I would like the resulting page to show results but not the filter. Maybe simply a link ...
1
vote
2answers
35 views
Set a view filter programmatically
I have a view that includes a date field that only uses the year part. I want provide a default filter value for this field based on the current date. So far, I have this
function ...
0
votes
0answers
33 views
Add a JOIN with a subquery into a views query
Here's my SQL, which I am trying to include in hook_views_query_alter() to modify the uc_catalog view (from Ubercart 3):
JOIN (
SELECT uc_products.nid, MIN(uc_products.sell_price) AS min_price
...
0
votes
0answers
14 views
In Drupal 7 how do I get Views 3 to sort by File title (description_field)?
I have a page with uploaded files where I have enabled the description as title. I need to sort the files by document title (description). I am using views to create the page and block so I can ...
2
votes
2answers
39 views
Find out if a view returns any results and if it doesn't disable a link to that view
I have a panels page with two view panes on it. The first view pane lists taxonomy terms. When you click on one of the taxonomy terms the second view pane will display a list of content for that ...
1
vote
1answer
20 views
Filter a field (with regex) in a view
I have a view with a field Title that needs to be filtered before being sent:
Users fill a tracking number and press Enter
This number is actually related to a node id
If a user enter "123 123" or ...
1
vote
1answer
40 views
Views & Filter criteria
I've got a filter criteria saying field xyz = NO. Old nodes meeting the criteria above do not get picked up by the filter. When I edit the node, and resave it, only then they appear in the view. Is ...
0
votes
1answer
33 views
Find out what time was last comment posted on a node
I want to put a new icon next to node listed in a block if it was created/updated or commented on in last 1 day. I'm able to fetch all the nodes which were created/updated or commented on sorted in ...
1
vote
1answer
23 views
show results for a view with certain node reference
I have created two content types a home and a subdivision. I have added a subdivision reference field in the home content type.
What i want to have is in each subdivision page, show a teaser of the ...
0
votes
0answers
16 views
PHP from an article is running on every page of site [closed]
New to Drupal 7 (and Drupal in general).
I've got 3 articles - one is just a basic page that displays some info and is associated with a menu item, the second is a form where the user inputs a couple ...
0
votes
1answer
16 views
Show taxonomy term's image field on node page
Ive added an image field to my taxonomy terms. On a node I need to display the image of the terms it tagged with.
Ive created a view with the NID as an argument and attached it to the node content ...
0
votes
1answer
23 views
How do I make my homepage slideshow to fit the page width?
I have my website built in Drupal 6, and I have used the Views slideshow module for the home page banner which is 960 pixel wide. I need a banner with 100% width to fit the page. Can anybody help me ...
0
votes
1answer
24 views
Views to display events with single date events and events with date range
I have a views view that displays a list of events. These events have a start-date and an end-date. I have two exposed filters, one for the start-date and one for the end-date, so that users can ...
-2
votes
0answers
11 views
Need help in theming a default view - D7 [closed]
find the code below:
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first">
<div class="views-field views-field-title"><span ...
0
votes
2answers
21 views
Overwrite the default taxonomy view
I want to overwrite the default taxonomy view. I am cloning the original one, but the view I get does not provide any item.
How can I achieve this?
Also could I have two views, default and cloned ...
0
votes
2answers
35 views
How to apply theme to Drupal view or block
I have created 1 view for displaying Category on home page using Ubercart module.
but i want to apply custom css changes to my Category view fields like image and title
can any knows how to apply ...
0
votes
0answers
32 views
Problem with Views / Taxonomy Terms [duplicate]
What I have
A list of taxonomy terms with a name field, a logo field and a category field (category is defined as a list).
A View that should show all logos of the taxonomy term if a certain ...
1
vote
0answers
12 views
How to get a translation set ID into an RSS feed with Drupal
I need to get articles from a website running Drupal which has translations of some articles in three languages. So when I pull in the English language RSS, and subsequent the French language RSS I ...
0
votes
1answer
17 views
Add counter to view with rendered entity output
On my site I've a search based on Views, with an exposed filter. The style output is "rendered entity", and I've to add the "result counter" beside the title.
Is there a way to do this or I've to use ...
0
votes
0answers
15 views
How to theming row results from a view with display suit
I want to theming every row of a view with "display suit - display mode".
The idea is that depending of a taxonomy selected in the node the row use one or other display mode.
I'm able to make it ...
1
vote
2answers
40 views
Filter data from two content types with different criteria in view
I've got these two content types, A and B. It's pretty straightforward to set up and display them in the same view. However, I can't get them filtered. I've added two filters rules, one for each ...
0
votes
1answer
22 views
Unable to import external RSS feed to site
I want to add a vertically scrolling ticker which is fed content via an external RSS feed.
* Modules being used: Views, Feed, CTools, Job Scheduler
* Issue 1
I tried setting up a static RSS feed ...
1
vote
2answers
42 views
Cannot edit my views.. I get a JSON string?
I'm using Drupal v7.22 and whenever I try to Modify the Display on views, and press the 'Add and configure' button on adding a field, or any button that sends data to the server, the page reloads and ...
0
votes
2answers
14 views
View with nodes but pull only one field from collection
I have a node type of photo-gallery. Each node has a field collection which contains multiple photo fields and caption fields. I want to create a view showing the 5 most recent photo-gallery nodes ...
0
votes
1answer
18 views
Control content access based on field value in user profile?
I have two specific user types on my website: "Manager" and "Employee". I will have ten managers and 100 employees. Each Manager will manage 10 employees.
Employees will have permissions to create ...
0
votes
0answers
17 views
Having trouble using set_limit() with hook_views_query_alter()
I am trying to set the limit of results in a views query, but to no avail. Here's my code:
function my_module_views_query_alter(&$view, &$query) {
$query->set_limit(2);
}
It ...
2
votes
1answer
31 views
Related node views - some elements with date field, some without. How to include elements with no date in results?
I have a views block that displays related nodes based on tags. (See Entity Reference get nodes based on tags.) The comment links to the solution I found.
Now, I have to add another filter to the ...
1
vote
1answer
18 views
View that shows posts specific to the node
In my website, under every project we do, there is a project info post which summarises what the project is about as well as all the recent updates(posts) about that project.
this is what it looks ...
