[Solved] Problem with relation field

More
11 years 8 months ago - 11 years 8 months ago #34774 by bendeb
Hello, :)

Sorry for my english, it's difficult for me to explain my problem. :?

I have 3 little problems with relation field.

1) I create an item and, with relation field, I link this item to 5 others items. It's nice and it works great. :)

But after, I put this tag in the field parameters :

List Creation (Frontend Views)
Item HTML : {{code}}

"code" is a field I create before, and the value is different for each item I create.

But when I go to the item view, I always have the same value of "code" for all my related items rather than a different value for each of these.

For related item 1, the "code" value is correct.
But for the others related items, the "code" value is exactly the same as for related item 1.

Rather than :

code - Item number
144 - item 1
215 - item 2
132 - item 3
...

I have :

144 - item 1
144 - item 2
144 - item 3
...

I try to do exactly the same thing with a core field.
For example the "hits" field.
I put this tag in Item HTML : {{hits}}
And it works nice : I have a different value for each item.

But not with custom fields I have create. :|


2) the tag {{code}} (and even core fields like {{hits}} ) doesn't work in "Prefix text of every value" and "Suffix text of every value"
When I go to the item view, I see {{code}} or {{hits}} rather than the value.
For me, it only works in "Item HTML".
In this tutorial it is said that it should work :
www.flexicontent.org/documentati ... ields.html

you can use other fields values inside
1. open/close field text parameters and
2. prefix / suffix value parameters



3) When I create an item (either in backend or frontend), the list of item in the relation field don't display. When I clic on a category in "Select Category:", nothing appear.
I think the problem is because the relation field is inside a groupmarker field (TAB).
In frontend, when after I Apply or Edit the item, the relation field then works, but not the first time when I create it.
In backend, it not works at all, either I Apply or Edit the item.

And when the relation field is not inside a TAB, it works correctly.

Thank you in advance for your answer.

Flexicontent 4.1.0b1
Joomla 3.9.18
Last edit: 11 years 8 months ago by bendeb.

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

More
11 years 8 months ago #34776 by ggppdk
-- About 1, this is fixed for v2.0.1

-- About 2, it can be used to replace the raw value of custom fields only , i think to change description

-- About 3, if it is inside groupmarker field, note that fieldset groupmarker is broken. Otherwise make sure you order by Content Type and that tabs are open-closed properly.

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

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

More
11 years 8 months ago #34790 by bendeb
Thank you ggppdk, :)

For 1, OK.
Could you tell me when the v2.0.1 will be available ?

For 2, OK too.
It's not the more inconvenient.

For 3, sorry but I don't understand at all what you meant. :?
Why did you say groupmarker is broken ?
And how can I order by content type for the relation field ? I don't understand too.
Could you explain me again, please, with other words. :)

Many thanks for your help.

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
11 years 8 months ago #34792 by bendeb
Sorry for point 3, I was wrong. :oops:

It was a language problem parameters with my items.
In the parameters, I put "No" on "Same Language Only" and the list display correctly.
All my items was in french language and, by default, when I create a new item, the item is in All language so it's normal that the items relation list don't display.
Sorry for my mistake.
This problem is solve.

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
11 years 8 months ago #34986 by bendeb
Thank for this correction in v2.0.1 !
It works great now ! ;)

Flexicontent 4.1.0b1
Joomla 3.9.18

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

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