Tell us what you are trying to do?
I created one content-template for a index with search filtering for IT version and other for EN version. The problem is, when i go to the frontend i see the select field, the filter butotns and the prev/next buttons anly take the IT language. I also tried to create a new template for each language but the result is always the same.
Im using the follow toolset plugins:
Toolset Types, Toolset Views and Toolset Blocks(is not activated). the last one installed in order to create a block index template.
The Theme uses Bakery.
Is there any documentation that you are following?
just for the toolsetblocks installation.
Is there a similar example that we can see?
not that I know
What is the link to your site? hidden link
the problem that i have is in the links below: hidden link hidden link
Hi Nigel and thanks for response,
Sorry for my bad explanation. I'll try to be more specific The TOOLSET and WPML plugins are being used on the page.
Theres a section called LE PUBBLICAZIONI (PUBBLISHING) and i have an index with a search filter and pagination (ill add a screenshot).
The first time I had created a single template for both languages and i tried to translate the text buttons and the select field placeholder with the STRING TRANSLATION wpml option but I did not get the result I expected because these texts continued to be displayed in only one language. Then, I created two templates. one for Italian and the other for English.
to call these templates on the desired page the only way was:
- IT : {!{wpv-post-body view_template='bozza-automatica'}!} <- this view template is becouse the index-cpt-pubblicazioni-italiano does not work as spected or show nothing at all.
Hello Luo Yang and tahks for your response.
I saw the test-site and as you made it, i know, should be the correct way to do what im doing on production. The problem is the theme in used and all the content uses Bakery and they have dissabled the bloxk editor. thats becouse i had to create a toolset-> content-template for each lang section in the pubblishing page.
The content-template i've created uses the editor blocks and then i call that template in a bakery text-editor block.
Yesterday i have a workaround for my issue and is simply create a template for each one without translation. Its odd but it works.
By the other hand im getting constantly errors in the editor side as "invalid Json":
(-- /wp-json/ToolsetBlocks/Rest/API/v1/ShortcodeRender?_locale=user:1 Failed to load resource: the server responded with a status of 520 () --).
I dont know if it has to do with my problem or not. If does not, you can close this ticket.
I really appreciate the time you have spent on this discussion.
Thank you
New threads created by Luo Yang and linked to this one are listed below: