We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36604
    • 268 Posts
    Hi,

    I'm turning crazy: Since I upgraded from 2.15 to 2.2 a couple of week ago many stuff gone wrong in my current project.

    Formit
    does not work anymore (no sending an redirection to thank you page)
    Advanced search inserts its results TWICE. (but I did not used it before 2.2 upgrade)
    One time in the middle of the
    <head>
    among the metas and a second time correctly, right in the content area as expected.
    Trying to figure out the Formit issue I test with Quickemail that replies ":

    Send reported successful
    " /> 

    at the very same place in the head too and nto the content as expected.

    I'm using php5.2 and boilerplate with modernizr. I simplified it as much as possible with no results.
    and metax . I hacked Metax to simplify its output avoiding many non html5 metas, so things are quit simple now.
    I only got html5 validation error from what tinymce insert in content.

    What's the story ??
    Thank you [ed. note: elz064 last edited this post 14 years, 8 months ago.]
      • 36604
      • 268 Posts
      I found something that trigger this issue
      in my head section
      if I remove :
       <meta name="description" content="[[*introtext:empty=`[[*content:strip_tags:strip]]`:limit=`300`]]" >


      Things get back to normallity...ok but WHY ??

      any one ?
        • 36604
        • 268 Posts
        the issue coming from the :limit modifier..

        So How to output only 300 car from the content ?

        Well The only thing that works for me is:
        [[*content:limit=`600`:strip_tags:escape]]
        [ed. note: elz064 last edited this post 14 years, 8 months ago.]
          • 18174
          • 116 Posts
          Ist this the same bug?
            • 36604
            • 268 Posts
            huh.. I don't know.
            You see my TV call is NOT UNcached, so...
              • 33988
              • 110 Posts
              Try the new version of MetaX for Revo, http://modx.com/extras/package/metax
              Documentation here: http://rtfm.modx.com/display/ADDON/MetaX

              Allows you to format the output completely in a chunk versus hacking the code.
                Sal Sodano
                President & Co-Founder of SkyToaster
                My Website Salscode.