Custom fields replacements with flexisyspro plugin do not work

More
7 years 11 months ago - 7 years 11 months ago #71837 by francisvds
Hello

I have a custom field that has not worked since the last update.

On all articles, the content of this field is no longer displayed but:
REPLACEMENT NOT FOUND:

{flexi_FIELD: history_race item: current method: display}

The content to display is however in the table flexicontent_fields_item_relations

Sample page with this problem: www.milouchouchou.com/les-races-fci/pointer-anglais

Thank you in advance for your help.
Cordially.
Francis
Last edit: 7 years 11 months ago by ggppdk.

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

More
7 years 11 months ago #71838 by ggppdk
Hello

this is message from flexisyspro plugin, when the "debug replacements" options is ON

it looks like the field name has been change or the field has no value

you can disable the option 'debug replacements' inside field's configuration


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

More
7 years 11 months ago #71839 by ggppdk
Hello

also try v3.2.1.11
it is finished but not released yet
github.com/FLEXIcontent/flexicontent-cck...e/3.2.1.x-stable.zip


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

More
7 years 11 months ago #71845 by francisvds
Hello ggppdk

Thank you for your reply.

Yes precisely, with this debug message, I see that nothing is displayed.

There are values in this custom field, I even added them in test for other languages, but nothing wants to be displayed despite the installation of version 3.2.1.11

I specify that the value of this field is only valid for registered visitors, but this does not change the problem that is present all the time.

I can give you an access code to the admin in private message if you wish.

Record 10 is in French, 2197 in English



Cordially.
Francis

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

More
7 years 11 months ago - 7 years 11 months ago #71846 by ggppdk
Hello

test this

- remove all spaces after all :

- try using field id instead of field name


-- 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!
Last edit: 7 years 11 months ago by ggppdk.

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

More
7 years 11 months ago #71847 by francisvds
Nothing is displayed, and in addition the formatting of the contents of this field is no longer save, the background should be in color and with line breaks for long texts.

Here is the content that should be displayed www.milouchouchou.com/test_standard1.php?alpha=1

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

More
7 years 11 months ago #71848 by ggppdk
Hello

you can send me a PM with super admin login
and also mention
- where you are using the replacement e.g. used inside at item no 45633 at place ...
- frontend URL that you used
- the id and fieldname of the field that you are using for the replacement code


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

More
7 years 11 months ago #71852 by francisvds
Hello ggppdk

In the file flexisyspro.php, when I create an error with for example an echo "hello"; the page does not appear or it gives me an error, which makes sense.

Then I return this file as it was originally (without this echo) and I refresh my page (F5) and then the content of the field "historique_race" is normally displayed in full, if I do F5 again then finds the error.

Really strange, but maybe it will help you, well, I hope so.

Cordially.
Francis

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

More
7 years 11 months ago #71854 by francisvds
I think I put my finger on the error:

It seems to come from the variable "item:current" in the insertion code
{flexi_field: historique_race item: current method: display}

If I replace this "item:current" with the article id
{flexi_field: historique_race item:10 method: display}

The field is perfectly displayed in this case.

Now what needs to change and where, I let you do it.
Cordially.
Francis

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

More
7 years 11 months ago - 7 years 11 months ago #71856 by ggppdk
Hello

i see

- the "current" means that current view must be
FLEXIcontent Item view

if it is not FLEXIcontent item view then it will not work
so are you using in a page that is FLEXIcontent item view ?

[EDIT]
if yes then you may have an older bogus version of the plugin


-- 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!
Last edit: 7 years 11 months ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
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