Universal module : Nombre d'éléments en fonction d'un filtre dans un item en relation

More
6 years 6 months ago #69716 by id-pop
Hi,
I have configured a universal content module :
1- "item type" as "partners" => it displays only the partners
2- "custom fields scope" with id_field_partner##value_for_financial%% =>it displays only the "financial partners"
I have tried multiple solutions to "filter" by relation field or inverse relation field but nothing works :
1- item scope "relation field" include "relation for training"
2- item scope "relation field" include "reverse relation for training"
3- I have added in "custom fields scope" id_relation_for_training#1---1000000%% (to show all related item iD's)
4- I have added in "custom fields scope" id_reverse_relation_for_training#1---1000000%% (to show all related item iD's)
Do you have any idea ?
Thanks a lot or your help,

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #69769 by ggppdk
Hello

the problem is that you would want to apply filtering extra filtering into the reverse related items AAA

using a field that is not of the items !

you want to filter using a field of the item BBB that refers to them as related

did you try my suggestion, to create a new field that will duplicate the field from item BBB into items AAA ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #69772 by id-pop
I have tried multiple solution but I didn't find a solution. So I have send you a PM...

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #70153 by ggppdk
Hello

please see the PM i have sent you


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #70467 by ggppdk
Hello

effectively we will list
- only the items A that
have related / related reverse items B that have field F that have value V


i tested new static filter in module

REL_field_id##REL_ITEM_field_id~~value1

REL_field_id is either relation or relation reverse field
e.g.
21##18~~1

21 is the reverse related field is Related partner (reverse) of a Project (and it is a field of Partner)
18 is Project type field
1 is Formation value (of the above field)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago - 6 years 5 months ago #70476 by ggppdk
Hello

Feature added (just now) to our github repository

please see my PM for testing installing and testing


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 6 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.289 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline