The Views module is a module that allows creating lists of content with a flexible query builder.
3
votes
0answers
15 views
How to combine views exposed filter with search?
My client asked me for a single field, that would work 2 ways:
Autocomplete filter based on taxonomy.
If site visitor inputs something that's not in taxonomy, full text search should be performed on ...
0
votes
1answer
14 views
How should I include an image field from a taxonomy term in a node view?
I'm creating a site with just one content type sorted in three categories and posted by three different organizations (no matter in which of the categories). The front page has to be three columns ...
1
vote
0answers
5 views
D6 Views Field Theming in Module
I'm working in a custom module that displays date fields. I want to be able to change the date's timezone programmatically.
I've tried implementing hook_views_pre_render(), but that doesn't allow me ...
0
votes
0answers
21 views
Creating a quick link to edit your profile
I'm trying to create a quick link to the drupal edit your profile page so members can click a link on a separate internal membership website and be taken to the www.drupalsite.com/user/[uid]/edit ...
0
votes
0answers
8 views
2 Pagers showing for Views Block
I created a Custom View block in Drupal 7 which it is simply pulling random "Did you know Tips" for visitors. I created a mini pager for the block to allow visitors to toggle through them (Ajax ...
0
votes
0answers
7 views
Commerce catalog sorted by taxonomy term
I have a commerce shop with a bunch of products sorted by taxonomy terms with descriptions. Each product display is tagged with one category.
Now I want to display them in on view, sorted by the ...
0
votes
1answer
10 views
How to pass taxonomy reference field data into a views reference contextual filter arguement with PHP code?
My content type has a taxonomy reference and a view reference field. I currently want to pass the Term ID as an argument into my referenced View via a Contextual filter Taxonomy Term. If someone can ...
0
votes
1answer
17 views
Regarding content slider on mobile screen
I am trying to make a Drupal 7 desktop site into a responsive one. There is a view of type node listing the node title and image in a grid format on front page. I want that on the mobile screen ...
1
vote
0answers
12 views
Views missing filters for existing view. New view shows the filters
I've created a number of views without problem. But when I try to edit them most of the filters provided by other modules are missing:
When I create a new view the filters are there:
I've been ...
0
votes
1answer
12 views
user relationship node access is not working
I have enabled the module and tried to work on it. I have created the following users: mtest, emptest, and mdev.
I'm using the Views module to show the nodes. The nodes posted by emptest should only ...
2
votes
2answers
19 views
How do I allow users to select published content on the site to be displayed on their profile page?
I would like to have published content on my site which a user can select if he/she would like for it to be displayed within a block on their profile page.
For instance:
Published content is an ...
0
votes
0answers
19 views
multiple images from the same image field displaying as gallery
So I am using the image field in a content type to create "albums". This is working great on the album page and the overview of all the albums, but this is not working so well in a view block I ...
0
votes
1answer
16 views
Replacing display page with views in template.php
since yesterday I can not solve the problem with function preprocess_views_view:
In the views named 'Calendar' I have a few display page(page_classic, page_mobile) and I would like to change ...
0
votes
1answer
14 views
Combine views sort criteria in exposed form
Drupal 7, views 3.6.
I have a view with 2 sort criteria: date and category. The sort is exposed in a form block.
Currently the user only has the choice to select 1 sort criteria, ie: sort by date ...
2
votes
1answer
33 views
Views PHP filter criteria not working
Why would this not work as a Views PHP filter criteria?
if (arg(0) == 'node' && is_numeric(arg(1)) && ! arg(2)) {
$node = node_load(arg(1));
$a1 = format_date($node->created, ...
0
votes
1answer
14 views
Adding JQuery effet in a view
I would like to add a jquery effet to a view of images (a simple content with image field). The effect that I would like to add can be seen here:
the code -> ...
0
votes
1answer
13 views
translate drupal commerce product titles in views
I have enabled the necessary i18n and l10n modules and I have been able to translate content without any trouble. I am now trying to translate some drupal commerce products. Using the title module I ...
0
votes
0answers
12 views
Drupal 7 taxonomy terms and custom views
I am developing an interactive map of the U.S. states.
A user can click on the states that are highlighted in blue to get a list of the properties in that state from a menu on the left. The user can ...
1
vote
1answer
32 views
Is it possible to display a Boolean field in a block using views?
Using views,
I created a block that displays users that are online.
In order to allow users choose to appear online or offline, I added a Boolean field to the user account, which I subsequently used ...
2
votes
1answer
64 views
How to I call a preprocess function for a view from a custom module?
Lets say I have a view called widgets.
On a given page, /widgets/manage/ I want to add use a function that calls drupal_add_js and drupal_add_css to change the behaviour and appearance.
If I wanted ...
0
votes
1answer
23 views
Giving a user the choice to appear offline in a view showing online users
I created a views block which displays users which are online. I would like to give a user a choice to be able to appear offline (i.e not be listed in the block) when he/she is online.
Thank you in ...
1
vote
1answer
20 views
Views help from Advanced Help isn't being displayed or I can't find it [closed]
It turns out that I actually hadn't installed Advanced Help on this Drupal setup and was only using regular 'Help'
I'm using Views 7.x-3.5 (API version 3) and Drupal 7.17
I installed Advanced Help ...
0
votes
0answers
28 views
List of authors with link to latest post, no. of posts and picture
I want to make a block of 'authors' on the front page with a picture, clickable title to their latest post and no. of posts they've made.
Via Views I have managed to display authors based on no. of ...
0
votes
1answer
26 views
Single field output with Views
I am having a view of users, in that I have added a field "Status" which is from the core Drupal 7 to display the user which are "Active" or "Blocked".
What I am trying to achieve is that:
I should ...
0
votes
0answers
19 views
Views Exposed Filters do not accept null as 0
I have 4 filters for a travel site that I've made into sliders. They are all supposed to go from 0 to whatever number, but for all of them I also have "Accept NULL as 0" activated.
This seems to be ...
0
votes
1answer
14 views
Displaying top visited links from other content types in one (filtering)
I have made one block for most visited links (Top Links) in my Drupal website, but I don't know how to list most visited from different pages. For example, if I have created a page named "Drupal" and ...
0
votes
1answer
21 views
Live filtering of nodes by taxonomy terms?
As part of a company website redesign, the designer I've partnered up with has come up with an interesting way of displaying projects and people using taxonomy. We're just trying to figure out how to ...
1
vote
0answers
50 views
Database table cache_views_data is extreme large, what size is normal?
I have a Drupal 7 site with ~70,000 nodes and ~500,000 terms. During some investigations for the cause of substantial performance problems, I found out that the database table cache_views_data is ...
0
votes
1answer
30 views
Get the TID from taxonomy view
I am using one of the packaged views that comes with the Views module titled 'Taxonomy term' to handle what product looks like when someone searches the taxonomy. Is there a way to grab the tid of the ...
-2
votes
0answers
21 views
customizing view display with jquery [closed]
consider this link.
here there is a view of some content, that are customized with css. but the point is that when you slide down, more news would come in AJAX form. how can we add this scrolling ...
-3
votes
0answers
17 views
slide show with different fields of a content [closed]
if you look at ibm.com you'll see a slideshow at the main page.
consider there is a view of pictures of a content that are sliding, beside that I want the titles slide with 1 second delay using ...
-1
votes
1answer
33 views
How to solve HTTP Error 500 related to views? [closed]
I was creating a new view on my Drupal 7 site. When I was saving the view, I got the HTTP 500 Internal Server error. I was wondering how I can revert back without restoring a backup of the database. ...
0
votes
1answer
17 views
Drupal Custom Search Results Per Content Type
So I have a View that is a list of all content on my site. I have an exposed form in a block that is "Search Terms". I have a custom template for my view to customize the results page. I have a couple ...
0
votes
2answers
34 views
Drupal 7: Views block show content older than current node created date
Pretty much as per the question, how would I go about creating a view that only showed content older than the current node's created date?
I've created the argument using 'Content: created date' but ...
0
votes
1answer
12 views
Limit nodes in views per group
I'm using Group field in views. There are several events in one month. How can i limit my events. 2 events should be displayed in every month.
July
Event 1
Event 2
Event 3
Event 4
August
Event 1
...
0
votes
1answer
15 views
How do I calculate outstanding balance for product inventory?
I have two content types, Product In and Product Out.
Content types Product In has the title as Product Code, and a field as Model.
The content type Product Out has a node reference (Product Code) to ...
1
vote
1answer
39 views
How can I change the number of items in a view only for the first page?
I'm trying to build a view with a different number of items for the first page (2 items) than the others (3 items). How can I build it to avoid skipping items ?
I made tests using ...
0
votes
1answer
39 views
Filtering Views using referencing nodes
I have a bit more complicated problem here, so I'll describe the background first.
In my Drupal 7 site, there are two content types: the 'car' and the 'inspection'. The only two important things ...
3
votes
1answer
32 views
Problem trying to create a boolean view filter
Drupal 7.22
Views 7.x-3.7
Hi,
I have two similar content types and have added a boolean field to both (x for one and y for the other).
I want to create a view that displays any of the two types if x ...
1
vote
2answers
15 views
Creating user profile types
I'm trying to make a record of different user profiles.
And each of them, possess or display different items, apart from those who normally come (Username, Email, Photo, etc..). Something like:
...
-1
votes
0answers
50 views
Is it possible to become a professional Drupal developer without being proficient in PHP? [closed]
I would line to become a professional Drupal developer and (for instance) develop a new custom theme. I have a little bit of knowledge of PHP, but I am not a PHP programmer. Is this possible?
0
votes
0answers
26 views
How do I configure a view so that it works with Image Link Formatter
I've created a slideshow using a content type that is specifically for the slide images only.
Using Image Link formatter and Link I now have it so that when I click add content > homepage ...
0
votes
0answers
17 views
filter node content with views
I have a content type with multiple image fields to present a gallery, users can choose their favorite pictures from.
The users decision is saved via AJAX in an extra caption field attached to each ...
0
votes
0answers
9 views
Inject (Pre-populate) Node Field Data into Node Page View Via Rules
I'm using a combination of Rules Link, Rules & a custom Page layout (via Panels) in Drupal 7.2x to create a submit process for a logged-in user. I hoping I'm on the rights track, but seem to have ...
0
votes
1answer
32 views
Filter view with multiple displays
Using Drupal 7. I have a view with several page displays, 2 of them being /review and /mentions. I have some exposed filters on these pages visible on a side block of the page.
When clicking the ...
2
votes
2answers
57 views
Trying to display a views list with order based upon current node being viewed
I have a view block which shows lists of content type "news" which displays in a sidebar showing only the node title for users to peruse.
There are about 150 such "news" nodes and so I use ...
0
votes
0answers
14 views
how to execute style-behaviors before row-behaviors (using custom views templates)
I have a custom views style-plugin and custom views row-plugin. The style and row plugin each have associated javascript files that look like:
var MYMODULE_STYLE = (function(me, $, Drupal, undefined) ...
0
votes
0answers
8 views
Views is not linking images to content for anonymous users in Commerce Kickstart
I'm having this problem:
I'm using Commerce Kickstart 7.x-1.19 (also tryed on 2.x) and I'm trying to create a simple view to replace my homepage with a list of products, set the relation to the ...
0
votes
0answers
13 views
Content types complex relationships
I'm trying to build a system where I have people, departments and facilities but they must link through a triple join table.
Basically, a person can belong to multiple departments OR can work ...
0
votes
4answers
50 views
+50
How do allow an exposed filter to override another filter in Views?
I have a view that display content on the site. I have the following hidden filters on it:
Published: Yes
Posted Date: Relative 'today'
Then I want to add a second Posted Date filter but expose it ...