We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24634
    • 58 Posts
    How do I get rid of the following in simplesearch output?

    <code class="php plain">

    It overrides my css. I have tried creating templates for all the output tpl’s and it is still inserted?

    Any help here.

    Roy
      • 29525
      • 388 Posts
      Working on my first Revo site.

      I am seeing this too but in a simple wayfinder output.

      Can anyone tell me where this comes from?
        www.terrybarthdesign.com
        • 1331
        • 129 Posts
        I’m getting this on SimpleSearch as well. Was hoping to find an answer here. I’ll let you guys know if I nail down the cause of this.
          • 1331
          • 129 Posts
          Found the answer. The code tag is being added by TinyMCE. It’s attempting to wrap that tag around your snippet call in the editor.

          According to another thread I read, just uncheck "Rich Text" on the settings tab of the page that you’re using as the search results page. You shouldn’t need it there anyway.

          Also, you could just check the HTML version while editing the page. You’ll see the random code tag that TinyMCE has added. Just erase it.