Can favorites be resolved to render relation fields?

More
11 years 2 months ago #46345 by milind.purandare
Hello

Type MusicType
Category MusicCategory
Template MusicTemplate

Type NewsType
Category NewsCategory
Template NewsTemplate


NewsType and MusicType have reverse field relation.

An author (joomla user ) can mark the item of type MusicType as Favorite.

I want to display news to the logged in user only which are related to music items which he/she has marked as favorite.

Pseudocode will be (for explaining logic of what needs to be achieved)

Select logged user
For each user->favorite->itemtype = musictype
Display item Item-> relationfieldNEWS //displays news related to favorite music thro reverse relation
Next

Can we achieve this using either the FelxiMenu-> Favorite or universal content module?

Thanks :)

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

More
11 years 2 months ago #46347 by ggppdk
Hello

the user favourited items have related items (each of them)

and you want to list them ?


-- 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
11 years 2 months ago #46352 by milind.purandare
yes... that's right...

thanks.. :)

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

More
11 years 2 months ago #46366 by ggppdk
Hello

did you try to add relation field in the custom fields displayed by favourites view?

you can do this in the favourites menu item


-- 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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.322 seconds
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