View filtering all records with no argument, empty text with invalid argument
I have a view with a block display that I need to filter by: All records when no argument present e.g. /foo All nodes with specified valid taxonomy term ID e.g. /foo/bar Show empty text when taxonomy...
View ArticleShowing All Taxonomy Terms count based on a given contextual filter
I need to create a view that shows All Taxonomy Terms count from a vocabulary based on a contextual filter given. The contextual filter I’m to be passed are Regions and Regions are taxonomy terms as...
View ArticleView based on a shared Entity Reference?
Summary: I am trying to create a view that displays all “Lesson Plans” from a school that the current user is associated with. The setup: Content type called “School”. Content type called “Lesson Plan”...
View ArticleConfiguring views to display all book-pages inside a book, from whenever you...
Configuring views to display all book-pages inside a book, from whenever you are inside the book. Is this possible? If so please advice the way to do it. The contexual filter of All sub nodes of this...
View ArticleCreate a views block that lists taxonomy terms from current node?
How would I create a views-based block that lists the taxonomy terms from the current node? In other words, I want a sidebar block on a node that lists that node’s terms. I’m struggling with the view’s...
View ArticleIncomplete words searchs in Contextual Filter
I have a View with a Contextual filter. If I use a Content field, and provide the View with the filter, only exact matches will appear. For example, field title, and I introduce “shoe”, only those...
View Articleajax get to refresh a view with contextual filters
A view (path example : foo/201507/video) has two contextual filters, the first for the month (YYYYMM) and the second for a taxonomy term (with depth). The interface provides next and previous buttons...
View ArticleHow to embed a view (with contextual filters) into a node or another view?
I’m using the modules below with the Views module to create a views block of all referenced nodes in the entity reference fields. Entity API Entity Reference There is no problem to create a views that...
View ArticleWhy do my contextual filters break when no value is available?
I have a contextual filter in a view, to create a block. I am using the ‘Provide default value’ option and getting the value from the URL’s 2nd path component. Everything works fine until I navigate to...
View ArticleView showing both main entity and related entities
I need a view that shows (certain fields of) both the main entity (pointed to by the url) and all of the entities that have a certain relationship with it. For example: my entities IDs are 1,2,11 and...
View ArticleCan I use menu path with argument wildcard in Views?
I have Views profile list displayed as page. View path is ‘mymod/%mymod_param/foo’. According to docs I can set wildcard value by a function (hook_menu) Function to set url param: function...
View ArticleComplicated 'double' contextual and relationships view
I would like some help on how to implement the following view: A block that shows all the ‘events‘ happening at any ‘location‘ created by a user. I have ‘event’ and ‘location’ content types. There is a...
View ArticleHow to send arbitrary number of contextual filters to a view by calling...
Is there anyway to programmatically know how many contextual filter a view has? I read the API and this question, but no working answers found.
View Articleview list on user profile, to show content of that user
I currently have a view that shows on the user profile page (as a block). I got it to show results of the content for the current logged in user. This works great for normal users as they will only be...
View ArticleComplicated 'double' contextual and relationships view
I would like some help on how to implement the following view: A block that shows all the ‘events‘ happening at any ‘location‘ created by a user. I have ‘event’ and ‘location’ content types. There is a...
View ArticleHow to create a view using the References module? [closed]
I currently have Two content types: Content Type 1: Videos Content Type 2: Politicians The main Videos content type references the Politicians content type as a way of “tagging” Politicians that can be...
View ArticleViews: count and filter by entity field value
I have many nodes of type ‘Players’ and ‘Match’. In the ‘Match’ node there is an entity field ‘Strikers’ referenced to ‘Players’ which allow multiple values. I’d like to create a player page that shows...
View Articledynamic change contextual filters passed from panel to a view
I have a panel passing user name parameters to a view as a contextual filter. So, a user only can see data digitized by him. But some other users should have the ability to visualize the data from all...
View ArticleHow do I set up contextual filters for Content Panes?
On a Commerce Kickstart-based site, I created a “Brand” vocabulary/taxonomy term list that is a field on all product types. I would like to display a product catalog of all products the brand offers by...
View ArticleContextual value when the filter is not available and PHP code
I have block view that should be rendered in the node details page. i.e /node/*. The block should render latest 6 nodes published under the Category category_field that the node has its value. However,...
View Article