Skip Navigation

[Resolved] conditional code is outputting raw code

This support ticket is created 7 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 16 replies, has 2 voices.

Last updated by Akhil 7 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#563455

HI Luo. good day.

could you help me check my site. under site.com / landed-house / any page for detail property page.

as you can see the conditional code is outputting raw code sudently . pls help me check.

the console error is

"NetworkError: 404 Not Found - hidden link.../[types%20field="

#563456

recently there was a notice to upgrade the toolset , i did ,i am not sure if thats the reason etc.

#563460

Dear C6410,

Yes, please provide your site credentials in below "private detail box", and describe detail steps for how and where I can see the problem.
In case it is a compatibility problem, I might need to deactivate plugins and switch theme in your website, please backup the database first. Thanks

#563467

I have tried the credentials you provided, it is not valid, I get this error:
ERROR: Invalid username.

Please check it

#563470

hi. sorry ,pls add 4 at the end of the username.

#563475

Hi , Luo i deactivated the elementor and its goes back to normal.
sad to say the
issue is with toolset compatibility with elementor again.

#563483

Thanks for the details, I can login your website, but I can not find the problem you mentioned above: "the [types field=' is not processed"
in the problem page:
hidden link
See screenshot: types.JPG

Please describe detail steps for how and where I can see the problem. thanks

#563485

Pls remove the pics .
Pls check again as I disable the elementor plugins. Play around. Thanks

#563496

I have informed the elementor support on this issue as well.

#563500

As you can see, when you disable the "elementor" plugin, the problem is fixed, so it is another compatibility problem between Layouts plugin and elementor plugin, it seems to be that:
the elementor plugin will change the way for rendering the "Visual Editor" cell of Layouts plugin, we can not change how elementor plugin source code, here is a workaround, you can setup another "content template" cell to replace the "Visual Editor" cell, I have tried it in your localhost, by below steps:
Edit the layout:
hidden link
Add a content template cell, with same code of first visual editor cell, test it in front-end:
hidden link
See the section below text "This Is Content Template Cell", you should be able to see the result works fine.
And there is built-in front-end editor and admin-side content editor features within the Layouts plugin, why do you still need to use the elementor plugin?
https://toolset.com/documentation/user-guides/front-end-editing/

And the Pics have removed.

#563502

Hi. You're asking me why I need elementor plugins ? I bought it only after I read that it works well with toolset . And there is more advance feature in elementor then layout plugins.

Is there any solutions for now ? Thanks.

#563504

Yes, I have provided a workaround in post:
https://toolset.com/forums/topic/conditional-code-is-outputting-raw-code/#post-563500
you can setup another "content template" cell to replace the "Visual Editor" cell in the layout

Since it is a compatibility problem, there isn't any existed solution without change the layout.

#563566

thanks, ill try .

#564057

Please let me know if you need more assistance for it. thanks

#564058

shall we close this topic
and monitor this topic
https://toolset.com/forums/topic/theres-a-bug-when-using-layouts-plugin-with-the-elementor-builder/
for follow up ?