The Views module allows creating lists of content with a flexible query builder.

learn more… | top users | synonyms (2)

0
votes
0answers
3 views

Facebook page block for each user

Is it possible to setup Facebook block for each user ? When user registers or later in specific node he can copy/paste a link in text field that will result in his Facebook page block. I know how ...
0
votes
1answer
13 views

Function not working in contextual filter

I have a function in my custom module that return the nids for drafts in array. function get_all_drafts(){ $query = db_query("select bid from kom_draft"); $res = $query->fetchAll(); ...
0
votes
2answers
17 views

Views: Trying to filter content by two field values (either/or)?

I'm trying to filter published content by the values set inside of two fields (one or the other). Right now, I'm successfully filtering my content by one field: Contextual Filter If ...
0
votes
0answers
10 views

How to display message (NDA, warning, etc.) before content can be viewed?

Say a user wishes to view a certain piece of sensitive content. How can we have the site first respond with a notice, before the content can be viewed? Specifically, I'm looking to have the site ...
0
votes
0answers
6 views

Use getclicky to have most views nodes on home page

I have installed the getclicky module and I can see the stats most views content. How can I add that info in a view on my home page and list the top 10 nodes? I cannot use the Statistics module.
0
votes
0answers
5 views

Metatags generated from views results

I'm using the Metatag module to include appropriate Open Graph, etc. tags to delineate site content as it is shared on social media sites. The front page of our site is a Views Page, feature only the ...
0
votes
0answers
9 views

I can not export a view with the sign “:” in the label [on hold]

when I import a picture with the "Views data export" module and that the label contains the sign ":", the following error appears : You know how to get around this ? the image field must have the ...
0
votes
2answers
18 views

Display only selected term from content type in Views

maybe this is duplicate but I cant find solution and answer for this one, maybe its so basic buy I need little help about. I have content type with: 1. Title 2. Body 3. Category (Category field ...
0
votes
0answers
18 views

Facing Repetition in records when I use multiple relations in Views Drupal 7

I am trying to use views fetch the News and Articles for display on my custom content type "Industries". On Industries content type I have node reference fields to the News and Articles content types. ...
0
votes
0answers
12 views

Exclude taxonomy term parent in view

i have a menu with this structure: Item name: Sport Item link: taxonomy/term/35 And taxonomy terms with this structure: Football tid 35 - Smallfotball tid 38 parentid 35 - Bigfootball tid 55 parent ...
0
votes
0answers
14 views

Use duplicated taxonomy terms from different parent with contextual filters

I have a taxonomy that has duplicate term names with different parents; for example: Mcdonalds with tid=39 has child term nuggets with tid=117 and also Other with tid=43 has child term nuggets with ...
1
vote
0answers
29 views

When do hook_views_data() and hook_views_data_alter() get called?

I'm working on a site I inherited that has a functioning hook_views_data_alter() implementation. I can see things in the Views editor that it has added. However, I cannot figure out how on earth to ...
0
votes
1answer
20 views

Menu with contextual links from view

Each user, lets say performer has profile page (which is node, not default user page) which is visible and can be made once.. Band (for example "Cool Band") can create image gallery, video gallery, ...
0
votes
0answers
8 views

expose a date filter in a views datasource JSON View

I need to expose a date filter in a JSON View, made with the Views Datasource module, but I can't find any documentation on the matter, I don't even know if it's possible. I know how to do it using ...
0
votes
0answers
16 views

How to add image & title to Podcast Feed dynamically

Using either View - RSS Fields / iTunes - (https://www.drupal.org/node/1473728) or FFPC (https://www.drupal.org/project/ffpc)... I have a content type for a Podcast and a second content type for ...
0
votes
0answers
6 views

Populate an exposed filter textbox to select box with available result options

I have the following view that lists the job openings at different offices of the company. But I want to be able to filter out only certain roles and only display that office. Currently the roles is ...
0
votes
2answers
17 views

How to Determine view type (content, user taxonomy, etc)

I have inherited a site and I am trying to customise and replace some of the views. I have been told that there are views of various types, content, user, taxonomy, search index, etc. Where in the ...
0
votes
1answer
33 views

How to fetch content data based on Node reference field into a view

i am attempting to fetch the records based on node reference fields into a content type page. i added node reference fields "news" & "Articles" (and many more) into my "Industry" Content type: ...
0
votes
1answer
20 views

Call another view with a single exposed filter

I have a page view which works fine for two cases in the exposed filter (say school one and school two). However, if school three is chosen in the exposed filter, I want another view to be displayed ...
0
votes
1answer
18 views

Use contextual filter global null to pass values to override field result

I come again with new question about Drupal Views and i hope you can help and explain me how to achieve this, I made a page view to display all my content (this works fine) with the following path: ...
0
votes
0answers
10 views

Query addWhere() with “NOT EXISTS” is crashing

I'm using hook_views_query_alter to modify a views query to exclude certain nodes on certain pages. I've got the IDs in an array called $excludes, and I'm trying to compare the performance by using ...
0
votes
0answers
11 views

What is the best way to create a User Account management area?

So I'm working on a feature set where there is the Administrative area, supported with the main and primary admin sections, nothing special there really. But I have to build a User Content Management ...
0
votes
0answers
18 views

Content related to role and user creation time

I want to show content to the user which belongs to his role, such as taxonomy, its creation time, or another user custom field. Is there any way to do this in Drupal 8? To Clarify my Question: I ...
1
vote
1answer
23 views

Drupal 8: How to implement hook_views_query_alter

I try to implement hook_views_query_alter in Drupal 8. I found a hint, that it has to be in my_module.views_execution.inc. I tried it, but the hook never gets called. function ...
1
vote
1answer
20 views
+100

Adding a join in a Views field handler class constructor?

In a Views field handler, one can define additional fields to accompany the base field defined in hook_field_data. These field values are based on database columns on the same row, and they can be ...
0
votes
2answers
21 views

Display fields node in table like views

I have a content type documents and my fields (created by admin) are: Doc1 File Date Doc2 File Date Doc3 ... The reason why I don't do a content type just with: "Doc, file, date" and add the nodes ...
0
votes
0answers
26 views

Best way to trigger custom function in table row or in all rows [on hold]

I need some advice on the best way to achieve the following. I have a view that shows the following table: I want to have a submit button for each row that will trigger a custom function in a ...
1
vote
2answers
35 views

How do I show specific content on a separate page?

I have menu links HOME | Property(links to property content type) | NEWS. In every News there are tags which reference to the property. I want to link "NEWS" menu item to a separate page which should ...
-1
votes
0answers
19 views

How to Make article view listing same as http://scroll.in site [on hold]

I want to create an article listing same as http://scroll.in site, Means page url(Article URL)/Google analatic/Facebook meta tag should change, when user scroll page form one article to another ...
1
vote
0answers
21 views

How to use contextual filter argument as a title in default menu tab — views?

How to set title in above image = current year so that it will provide all titles/content of current year -- 2016? OR How can we create an yearly archive with default year opened = current year ...
0
votes
0answers
29 views

How do I combine title and body as a filter programmatically?

Attached upon the existing exposed filter, this code enables title and body to be separately selected and to be searched separately but it needs the addition of 'all' option. I have difficulty joining ...
0
votes
1answer
52 views

Problem with the template of a view

I created a template to customize labels views. But the fields are not displayed between labels. Here are the views-view-field--sitemap--views-data-export--field-image.tpl.php : <?php ...
0
votes
0answers
12 views

Pass value from browser to an array

I have built some javascript modifications to an exposed views filter form. I want to add a value to the exposed_input array, basically, a way of keeping track of what was last clicked. I want the ...
1
vote
1answer
35 views

The <front> route 's path

My <front> and <none> route is now using one of my view path... I think it's because I delete the default home view. I don't need it because my home page is a Panels Page... How to set ...
3
votes
1answer
36 views

How to modify HTML layout inside a View template

I am very new to Drupal and this is my first post in this community. What I am trying to achieve I know may be very simple but just don't know how! So I am looking forward for expert help. First ...
0
votes
0answers
21 views

Use taxonomy path-alias

I've been working playing with the Facet API Search lately and I liked a lot the option that Facet API provides to use the alias of the taxonomies in the URL. I was wondering if there is a chance to ...
0
votes
0answers
6 views

Display every referencing node of a type in one table row, while still being able to use exposed filters

I've got a content type "Examination" that has about 8 possible types. It references a node which I later use to display a table with all the data. The main node might be referenced once by each type ...
1
vote
0answers
32 views

Drupal 8: How to create accordion View with table inside?

I'm trying to generate a accordion grouped by year. I have used Accordion module for this. It is giving accordion which is fine but I want data inside accordion in tabular format. For ex: Table ...
1
vote
1answer
33 views

Passing Arguments between an EntityReference field and an EntityReference View

So I'm trying to figure out how to filter a couple of entityreference view I'm using to populate an entityreference field. It has the option to pass arguments to the view, but I'm not sure HOW to do ...
0
votes
0answers
23 views

Monday as first day of week

In the date and time settings I have configured globally that Monday is the first day of the week, but this setting is is not set for views. Is there another configuration for views?
0
votes
0answers
24 views

How to expose paging data in REST export views

How to allow views to export paging data along with entities? I can set pager, and it works of course, for example my_view?page=1 displays something like [ {...}, {...} ] but I only get list ...
0
votes
0answers
14 views

Build a link with variables in a views custom text using '%5B' characters

I use the FillPDF module. Data from a Webform are used to generate a pdf thanks to a url, as explained in the FillPDF documentation. ...
0
votes
0answers
23 views

How do I deliver a nested JSON array for content reference with export view display?

I created a product content type with content reference to article(one product to many articles). Then I added field "Content: ID" "Content: Title" and "(field_article: Content) Content: Title" to a ...
1
vote
3answers
30 views

How do I print the SQL query of a view in front end?

I have installed latest Drupal 8.1.1 also Devel module installed there is no any option for Display query log on devel setting page while it's present on D7 Devel module. I have created a view with ...
0
votes
0answers
10 views

How to show a file list ordered by taxonomy field with views?

I've a file type of type "document" with an additional field of type "term reference". When I upload a new file I can link a term of that vocabulary to my file, like it was a folder. Now I need to ...
0
votes
0answers
20 views

If view results are odd, append the result with another row

I have 3 Views. Each have 1-9 items. The problem is that if the user adds an odd number items, I want to be able to add another. So my logic is to count the rows, if it the row count is odd, insert ...
0
votes
0answers
9 views

Based on articles taxonomy and branch selection we are differentiating the taxonomies for different branches

Based on articles taxonomy and branch selection we are differentiating the taxonomies for different branches. I created one taxonomy per one page just like section 1 sub ...
1
vote
1answer
21 views

How to group results by multiple fields?

i have values in database like : x submits file 1 x submits file 2 y submits file 1 y submits file 3 x submits file 1(again) i had my output with aggregation settings as group results together ...
0
votes
0answers
13 views

Views Auto Complete on Node Reference: Not getting “contains” [closed]

Having trouble trying to get autocomplete to work with a node reference and would appreciate any insight. I have two custom content types: Partners and Funding. The latter has a node reference to the ...
0
votes
2answers
27 views

How to make sure that /taxonomy/term/24/WHATEVER gives 404?

Google found up some weird links on my website and has started indexing stuff like /taxonomy/term/24/WHATEVER. I don't want that. I also don't want to find all these URLs manually, ideally they will ...