We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19554
    • 59 Posts
    Yes, that solved my problem. Thanx a lot!
      • 32982
      • 674 Posts
      i couldent setup a tv in modx9.5 it give newseditor to the page whith a template 1
      all tv are public and have the template cheked if i delete the call to the tv all works
        Jabiertxof (formerly XYZVISUAL)
        My bussines: http://marker.es
        https://www.youtube.com/user/jabiertxof/videos
        • 32982
        • 674 Posts
        i find the problem the eval dont have a id when new item and return bad.
          Jabiertxof (formerly XYZVISUAL)
          My bussines: http://marker.es
          https://www.youtube.com/user/jabiertxof/videos
          • 29577
          • 11 Posts
          i find the problem the eval dont have a id when new item and return bad.

          You mean this code?

          @EVAL
            if (isset($_REQUEST['editid']) && $_REQUEST['editid'] != '') {
              $editid = $_REQUEST['editid'];
              $tbl = $modx->getFullTableName( 'site_content' );
              return $modx->db->getValue( "SELECT content FROM $tbl WHERE (id = $editid)");
            }
            return '';
          


          Actually it seems to me that it checks for an existing or empty ’editid’. What’s wrong?

          Ronald
            • 32982
            • 674 Posts
            i dont use this code put my ouwn this code think works great
            hi
              Jabiertxof (formerly XYZVISUAL)
              My bussines: http://marker.es
              https://www.youtube.com/user/jabiertxof/videos
              • 12652
              • 228 Posts
              I created a template for the Editor form... nearly identical to what is in the snippet, mainly adding label tags removing br tags.

              The popup for the calendar to set the dates works, but it won’t unset them. I does work when I don’t declare a tpl and just use the built in form...

              is this a bug or have I just goofed somewhere?

              UPDATE: yep, I must have goofed somewhere. wink
                | Identity Developments delivers SEO focused web design and web presence services
                - it's not about websites, it's about your identity. |
                • 32982
                • 674 Posts
                opps is anoter forum
                  Jabiertxof (formerly XYZVISUAL)
                  My bussines: http://marker.es
                  https://www.youtube.com/user/jabiertxof/videos
                  • 12652
                  • 228 Posts
                  Just noticed... perhaps I’ve set things up wrong.... that all the text gets run together without paragraph breaks. This makes sense since it is just a form in the Editor and Manager, so I’m guessing there must be some way to utilize an RTE, but not sure how.

                  SOLVED.... guess it would help if I called the RTE TV in my form... doh!
                    | Identity Developments delivers SEO focused web design and web presence services
                    - it's not about websites, it's about your identity. |
                    • 33337
                    • 3,975 Posts
                    Hi tfd,

                    I spent all day to make this thing work in 095 rev1817. I want to use TVs inside it, but I tried everything I can and could not get it to work.

                    Followed all steps in the documentation, (a dozen times .. tongue )

                    can you assist me in this regard?

                    I’ll appreciate it a lot!

                    regards.

                    zi
                      Zaigham R - MODX Professional | Skype | Email | Twitter

                      Digging the interwebs for #MODX gems and bringing it to you. modx.link
                      • 16885
                      • 255 Posts
                      I’m also having some trouble with; somehow it’s adding all the links to my Ditto-powered "Latest News" box, and when I try to enter a page that also contains these links (still the old Newslister) it returns an ’already defined’ error; is there any way to get around this one-instance-per-page limit, so I can still show my latest news?

                      Thanks in advance!

                      Yours,