[Resolved] I’m also having trouble editing content templates

This thread is resolved. Here is a description of the problem and solution.

Problem:

I'm also having trouble editing content templates because even though they work, the shortcodes are not visible

Solution:

Upgrade Toolset Blocks plugin to the latest version 1.2, and test again, you can download it here:

https://toolset.com/account/downloads/

Relevant Documentation:

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 10 replies, has 2 voices.

Last updated by filipeC 1 month, 2 weeks ago.

Assigned support staff: Luo Yang.

Author
Posts
#1625041

I'm also having trouble editing content templates because even though they work, the shortcodes are not visible, so I can't see what I'm working on (the screenshot from below is from the Shipwreck page template. The areas circled in red have shortcodes, added using the Toolset Fields and Text block, but I can't tell that there's anything there unless I look at the live page.

#1625045

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hello,

I assume we are talking about the content template "Shipwreck Page", I can see the problem in it, and I see below JS errors in my Chrome browser console window:

backend_editor.js?ver=3.5.7:69 Uncaught TypeError: CodeMirror.fromTextArea is not a function

So the problem is abnormal, please check these:
1) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, and test again

2) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

#1625865

I deactivated all other plugins, this did not solve the problem.

We were already running one of the default WordPress themes, but I switched to a different theme, and it did not change.

The site's error log is /var/www/html/site/wp-content/elm-error-logs/php-errors.log. There is a plugin that displays the last few lines of the php error log on the dashboard of the site. The only recent php error is due to the Plugin Media Folder Gallery, which is currently deactivated.

I do not see any JS errors, although there are a few warnings about deprecated elements.

Please let me know if there is something else you wanted me to do.

#1628003

Some additional information about the error: Any field or text added when the content template is first created works normally. After hitting "Update", however, any new field or text that is added does not display. Fields and text added before hitting update continue to work normally, even if added to a new block.

#1628361

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

The problem you mentioned above is abnormal, please provide your website database dump file in below private message box, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1629815

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Thanks for the details, I am downloading the files, will update here if there is any findings.

#1629885

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Please try this:
Upgrade Toolset Blocks plugin to the latest version 1.2, and test again, you can download it here:
https://toolset.com/account/downloads/
It works fine in my localhost with your duplicator package files. See screenshot blocks.JPG

#1630785

It's working now. However, there was never any notification in the Plugins screen that there was an update available, or I would have tried that first. I manually installed the update, but is there a way to automatically check for updates?

#1631439

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

I suggest you try to follow our document to setup the site key in your website, and upgrade Toolset plugins automatically:
https://toolset.com/faq/how-to-install-and-register-toolset/

Section "Automatic Update (requires registration)".

The Toolset installer is embedded in Toolset Types plugin, please keep it to the latest version, to avoid other unexpected result.

#1631443

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

In this screenshot:
https://toolset.com/wp-content/uploads/2018/07/toolset-maps-map-id-805x412.png

The map ID is "map-1", so when you generate the marker shortcode, you will need to use the same map ID "map-1"

#1632395

My issue is resolved now. Thanks for all your help!