I have view with 2 page displays in it with same path, they differ only arguments:
In First
argument - Taxonomy: Term ID (with depth)
Depth - 0
Validator:
$checkterm = taxonomy_get_term($argument);
if ($checkterm->description != "exp") return "TRUE";In Second
argument - Taxonomy: Term ID (with depth)
Depth - 1
Validator:
$checkterm = taxonomy_get_term($argument);
if ($checkterm->description == "exp") return "TRUE";As i see when first display can't pass validate code, second display don't checked. Is right?
Comments
Comment #1
temp commentedI have another question in this topic:
I make Attachment display, they show same results like Page display, but with depth=1 (page display results with depth=0).
I have problem with cache system - when views generate some page - data have been cached, and in other pages Attachement display output data from cache. This data same like page that have been cached in first time, why Views store this page data same for all pages, but not for every page different cache?
Comment #2
iamjon commentedtemp did you every find a solution for this? if yes please update so others can benefit.
if not please check the submission guidelines for the type of information to provide so we can better help you.
please provide and export of your view, and simple step by step replication instructions.
Comment #3
temp commentedNow i use this view without cache, (i use boost caching system).
To repeat this problem we need:
hierarchical taxonomy tree with category (term ID's is argument for our view)
nodes with any fields that can displays through view module, and assigned to various term of tree that don't have any children (end level of tree) see example:
we can use this terms:
Now we need create table node view to display fields of our nodes, with enabled caching with argument setting like example below:
Next, lets create attachement display of this view same like page display, differ only arguments settings:
Now assign "exp" flag to description field of some term that have children for example Notebooks term.
When we look at page that generated with our view with argument and "exp" in field description, and after that open some other page - we will see attachment display from previous output.
http://drupal.org/files/view-export.txt - my view export - is too complex - manual creation is simplest way
Comment #4
iamjon commentedchanging status and assigning to myself for followup
Comment #5
R.Hendel commentedHi, is this still active for you?
I would fix this issue to clean queue. Please reopen it, if you want to work further on it.
Otherwise it would be closed automatically after two weeks.
Comment #6
R.Hendel commentedforgot to tag with dvcs11