Field "Related item" : display related fields in form ?

More
6 years 4 months ago - 6 years 4 months ago #70512 by bendeb
Hello,

I have a question about "Related item" Field.
Is it possible to display one or more fields (the fields of the related item) aside of each item of the list in the form ?

I have many items that have the same title (but differents fields values). In order to select them more easily in the related item field list (I don't want to differenciate them in the title) I come here to make a suggestion to enhance this field :
If we can view the related fields of the related item in the select list of the form, it will be very handy.

Is it possible to enhance Flexicontent in this way ?

Thank for your answer.

Regards.

Flexicontent 4.1.0b1
Joomla 3.9.18
Last edit: 6 years 4 months ago by bendeb.

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

More
6 years 4 months ago #70516 by ggppdk
Hello

you can do already !
you missed it

we have a parameter for custom display in item form

Instead of 'item title' + item link you can customize the display of every related to have

- custom HTML
- and show any field of the related item

the parameter has same format as the parameter used for frontend viewing


-- 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 4 months ago - 6 years 4 months ago #70519 by bendeb
Hello ggppdk, and thank for your answer.

Sorry but I don't find it, I use FC 3.2.1.5 for now.

Where can I find this please ? In the related field parameters ?
I don't find it in the differents tabs.
I can display fields in item view (parameters are in the Viewing tab > Related item list > Inner HTML), but where are the parameters for displaying fields in the form ?

Thank you.

Flexicontent 4.1.0b1
Joomla 3.9.18
Last edit: 6 years 4 months ago by bendeb.

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

More
6 years 4 months ago #70526 by ggppdk
Hello

The fully custom display in item form
exists only for the items list display of "Reverse relation" 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 4 months ago #70531 by bendeb
Hello,

I tried this, but it don't work for now.

I have a database (content type : bdd) of books with many fields (authors, illustrators...)

I create a content type named "collection".
I create a relation field in this type, linked to the items of "bdd" type.
In "collection" form, in the list of related item, I saw correctly all the books, but only the title, not authors, illustrators...)

My request is about that : how can I display the fields of "bdd" type aside the title of the list of "bdd" items ?

With relation reverse field, as you mentionned above ?

I try to create a relation reverse field affected to collection type.
In parameters, I link this field to bdd relation field.

But nothing appear in the collection form. Just the label of the field. No list, nothing. :(
What's wrong with my steps ?

Thank you for your answer.

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
6 years 4 months ago #70534 by ggppdk
Hello

The parameters that i suggested exist only for reverse related items field

In the case of related items field (relation field)
- the item selector only lists item titles

it is possible to implement appending (TEXT only) fields after the title
(at a very small performance delay)
e.g.
- the value of text field
- the "text label" of a value of a select field

but such usage would be rare,
and this is not implemented now

is this important for your project ?


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