[Reverse scope added] Displaying data from related items

More
11 years 9 months ago #46723 by suge1w
I'll try to ask this as simply as I can, it's quite complicated (for me to work out anyway :? )

I am trying to display the values of a field from a different type that ONLY has the same related items field.

For example, items sorted by field "Height:" which is a field of type "Players" that I am trying to display on item page of type "Clubs" that has the exact same related field as both types.

Is that easy to understand?

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

More
11 years 9 months ago #46724 by ggppdk

suge1w wrote: I am trying to display the values of a field from a different type ...


different type compared to what, when you different you need to say which 2 (or more) things you are comparing e.g. different to item being currently viewed

For example, items sorted by field "Height:" which is a field of type "Players"[/quote]

? a field of type "Players" ?, did you mean a "content type" instead of field type ?

e.g. field type are: select, selectmultiple, radio, image, there is no field type "players"


-- 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 review. Thanks!

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

More
11 years 9 months ago #46725 by suge1w

ggppdk wrote:

suge1w wrote: I am trying to display the values of a field from a different type ...


different type compared to what, when you different you need to say which 2 (or more) things you are comparing e.g. different to item being currently viewed

For example, items sorted by field "Height:" which is a field of type "Players"

? a field of type "Players" ?, did you mean a "content type" instead of field type ?

e.g. field type are: select, selectmultiple, radio, image, there is no field type "players"


I do mean content type yes. "Players" is one of my content types.

I want the module to display a field which is only assigned to one type. I want it displayed in the item page of another type based on it's relation.

Another example, I have a club "Sporting Lisbon" and a player "Cristiano Ronaldo". Both separate types but both related to each other in relation field. I want to display Ronaldo's height on Sporting Lisbon's item page and all other players that are related to Sporting Lisbon. So example, two more players "David Beckham" and "Luis Figo". Beckham isn't related but Figo is so the module would display Ronaldo and Figo but not Beckham.

Hope I have explained it better. :)

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

More
11 years 9 months ago #46729 by ggppdk
Hello

1. create an new instance of Universal Content Module for FLEXIcontent

2. In TAB-SLIDER: Item List: Filtering SCOPEs (ALL enabled filters are required)
-- goto Item scope and set behaviour to "Related Items: Related Items field" (=this is the relation field)

3. and below of the behabiour, select your relation field

4. In TAB-SLIDER: Item List: Displaying of Fields & Other item information -- (Used by Some Layouts e.g. news)
select the fields that you want to display

Regards


-- 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 review. Thanks!

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

More
11 years 9 months ago #46730 by suge1w
Thanks for reply.

I tried this method before I started the topic and it displays no results.

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

More
11 years 9 months ago #46732 by ggppdk
Hello

make sure you have set the ALL other filtering scopes to
-- Method: "ALL"
-- Behaviour: "Static - ..."

also to confirm that FLEXIcontent ITEM being currently views has indeed related items:
- add the relation field to the template of its content type,
... are the related items being listed ?

also better upgrade to v2.1.3 r1857, if you have not done already

Regards


-- 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 review. Thanks!

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

More
11 years 9 months ago #46737 by suge1w
That version is currently installed and all related items are being displayed correctly.

I should of mentioned it before but when I click on a specific club "Sporting Lisbon", Ronaldo is being displayed (he is the very first item created so maybe that is why?) but only him even though that club has over 20 related items. Other clubs display no items. Number of items set to display is 3.

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

More
11 years 9 months ago #46778 by suge1w
Hello, any update on this?

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

More
11 years 9 months ago #46780 by ggppdk
Hello

there must 2 number 1 for total number show and 1 for featured , make sure you have set the total number of items,

if the above is ok ,

or

i guess there are either
- more filtering SCOPEs active
- or you have items that are e.g. scheduled to appear in future
- or the belong to a content type with non-public access
- or etc


-- 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 review. Thanks!

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

More
11 years 9 months ago - 11 years 9 months ago #46786 by suge1w
Hello this is duplicate of a working module, I only change the item scope. Filtering is normal. I have checked everything again and again, nothing seems to be working.

If you have time to check this issue, I can show you

If you see "Professional Youth Graduates:" on that page. They are all items that are related to Arsenal. See "Club Stats" on the left? Underneath that title is where the module is supposed to appear but it shows nothing.

It should search all those items related under "Professional Youth Graduates:" and display in DESCENDING order... I have tried everything to get this to work and it is the only thing holding me up.

Any more ideas? :(
Last edit: 11 years 9 months ago by suge1w.

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

Moderators: vistamediajoomlacornerggppdk
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
Save