related and backrelated item on the same type.

More
12 years 2 months ago #35353 by rottenberg
Hello

A few month ago I have asked if it was possible to have related/backrelated items on the same type of article.

You answer as there may be a problem of infinite loop, this availability has been forbidden.

My problem is the following. it 's for a library site. I want to display in a book article the other books of the same author.
I have thougth to use a customized template from the author type containing just the backrelated books of the author and call this template as iframe in the detailed book article.

Do you think it's a good solution ?

thank you for advices

best regards

Michel

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

More
12 years 2 months ago #35359 by ggppdk
Hello
it is not available now,
but i have opened an enhancement issue of high priority (to examine how to do this):

Enable relation field to relate items of same type


-- 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
12 years 2 months ago #36047 by ggppdk
Sorry you can relate items of same type

what you cannot do is :
-- include a relation or relation reverse field
inside the custom HTML parameter of relation field,
that creates the items list of related items


-- 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
12 years 2 months ago #36079 by rottenberg
What I want to do is for a library.
I have articles to describe books and articles to describe authors.

I have,as you did in a tutorial created related in the book (where I choose the author(s) of the current book) and in the author article I have created a back related item which gives all the books of the author.

I wanted to do the same thing betweens books : for each book (and if more than 1 author for a book, for each author of the book) I give the image of all the books of the same author.

When I tried it with an old version of Flexicontent, I got an error : infinite loop.

Presently, I have (quite) solved the problem : I have created an iframe with a special template of the authors : I just have the back related item in this template. I have included the template as iframe in the books article.

I wrote (quite) solved and not solved because I don't want to display the current book in the list of the books of the author when I'm in the book description page. But I don't how to do that.


I'm not sure it's time optimized, but it's working.
You can get a example of that at bibliactiv.com/index.php/fr/livres-en-ra...m/135-petits-gateaux ( this book has 4 authors. At the end of the book description page, there one slide for each author. Some authors have 2 books, some others have 3 books. Clicking on the book open the correspondig description book page withe at the end the list of books of each authors).

With the current Flexicontent version, is it possible to replace the iframe by related/backrelated items ?

thank you for advices

best regards

Michel

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

More
12 years 2 months ago #36093 by ggppdk
Hello,

- Please remind me, you got a loop while trying to use the "Load Module" field right?

- Instead use the custom HTML parameter for item List inside field's configuration. There you can display your related items using any field + custom HTML, did you try this?


-- 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
12 years 2 months ago #36106 by rottenberg
I try it and I tell you back the result

best regards

Michel

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

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