About showing item's introtext in the display of related items list

2 years 3 months ago - 2 years 3 months ago #73794 by nexteo
I have no problem to display  title, image, date and author, but I can not retrieve introtext
for example {{text ## description}}

Do you have an idea ?
Thanks

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

2 years 3 months ago - 2 years 2 months ago #73806 by ggppdk
Hello

the fieldname of the field is text

you can use

{{item->introtext}}     for introtext
{{item->fulltext}}        for fulltext

{{text##display_i}}     for introtext
{{text##display_f}}      for fulltext
{{text##display_if}}      for introtext ++ fulltext


-- 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 review. Thanks!

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

2 years 2 months ago - 2 years 2 months ago #73920 by nexteo
Thank you

I tested the following 2 scripts using FC version 3.2.1.14:
{Item->} introtext
{{Text} ## display_i
but none works

I found that it worked by going back to version 3.1.1 of FC
but suddenly, it is the display of images that no longer works, such as:
{{fieldname ## display_small}}
I have difficulties to understand.

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

2 years 2 months ago #73923 by ggppdk
Hello

your examples look broken

do no use capital it is case sensitive
and do not use spaces
and not
->}

try exactly these:
{{item->introtext}}     for introtext
{{item->fulltext}}        for fulltext
 
{{text##display_i}}      for introtext
{{text##display_f}}      for fulltext
{{text##display_if}}      for introtext ++ fulltext


-- 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 review. Thanks!

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

2 years 2 months ago #73925 by nexteo
Thank you

I still have a question about the use of languages
I use Flexicontent and Falang

when I use __display_text__, I display the title of my article only in
French, while the link points respectively to the article in French or
in English.
How can I display the title of my article in English?

thanks again

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

2 years 2 months ago #73926 by micker
that depend og you translation association

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

2 years 2 months ago #73939 by nexteo
Micker hello,

my titles are managed directly in the article with the Falang component,
see attached screenshot.
should I use something like:
$ result = $ lang-> getTag (); ?>
<? php if ($ result == "in-GB"):?> ....
But I don't know the name of my "title" variable
Attachments:

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.