change in the field realtive template

More
11 years 5 months ago #37706 by Miken
How to change output of the field relative? so that the output is not only the title of the article but also other fields, such as Date, image.

Flexicontent 3.1.1 & Joomla 3.7.1

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

More
11 years 5 months ago #37709 by ggppdk
Hello,
i can guess by the word "relative" field
that you speak of the "relation" field

There is a (new) parameter in relation field's configuration (since v2.0.1+) to output anything you want, check out the popup description it is very informative .

The field can output custom HTML that include any field(s) of "associated" 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
11 years 5 months ago #37710 by Miken

ggppdk wrote: Hello,
i can guess by the word "relative" field
that you speak of the "relation" field

There is a (new) parameter in relation field's configuration (since v2.0.1+) to output anything you want, check out the popup description it is very informative .

The field can output custom HTML that include any field(s) of "associated" items.


If you mean the field "relation_reverse" I do not understand how to use it. here
www.flexicontent.org/documentati ... ields.html
honored, tried but nothing comes out.

Flexicontent 3.1.1 & Joomla 3.7.1

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

More
11 years 5 months ago #37711 by Miken
I get it. :)

One question remained how to get the value "catid"?

Flexicontent 3.1.1 & Joomla 3.7.1

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

More
11 years 5 months ago #37729 by ggppdk
Hello,
at the bottom of description of the parameter it says how:

the text to add for item properties (properties available in #__content table and maybe a few others):

{{item->catid}}


-- 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 5 months ago #37735 by Miken
It is strange but I have to work with the quotes as it should.
Code:
cat{item-> catid} == result (cat11)



And with two turns:
Code:
cat{{item-> catid}} == result (cat{11})

Thanks for the tip.

Flexicontent 3.1.1 & Joomla 3.7.1

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

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