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

    i’m new to modx and tried to use checkboxes with an TV.
    No checkboxes or radiobuttons appear at all.
    I did use the right template, gave the right access but no show.

    Any idea how i can get this to work on the way it is designed?

    Thanks in advance for your answer.

    Joop
    • Hi Joop,

      I’m confused ... what does this have to do with ’Marquee’ mentioned in the post title?

      Anyway, could you post the steps you went through to create the checkboxes, it’s possible that it could be a simple fix. Posting what MODx/PHP/mySQL version you are using could also help as well.

      Thanks,
      Garry
        Garry Nutting
        Senior Developer
        MODX, LLC

        Email: [email protected]
        Twitter: @garryn
        Web: modx.com
        • 23804
        • 4 Posts
        Hello Garry,

        this is what is did: made an TV called marqueetest.
        Called the TV in an page named test.
        The screen stays empty on the place where i would expect the marquee.
        I also attached the template code.
        I use Xamp, version info in attachment.

        Hopefully this is enough information.

        Joop
          • 11975
          • 2,542 Posts
          Hi,

          I guess you should add the <head></head> element in your template.
          Marquee involves some js script which is automatically inserted by modx in the head section.
          As the <head> tag is not part of your code, it seems to me that the include fails.

          I’ve tested with 0.9.5 beta 2 and everything works fine

          :-)
            Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
          • The first thing anyone having problems should do is validate their page for HTML consistency. I would estimate that about half of all my problems disappear when I’ve fixed all the HTML errors in my template and content!

            http://validator.w3.org/
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 23804
              • 4 Posts
              Ok, it works now.
              The advice about HTML solved the problem.

              Thank you very much.
                • 24414
                • 45 Posts

                The first thing anyone having problems should do is validate their page for HTML consistency. I would estimate that about  half of all my problems disappear when I’ve fixed all the HTML errors in my template and content!
                At risk of being pedantic (and slightly O.T.), but the validator should not pull you up on the *optional* head (and body and html) tags, at least in HTML (this is not the case in XHTML). This is not to say you shouldn’t use these implied tags, but if you don’t add them to your markup you should know what you are doing and the ramifications. The missing doctype declaration would be an error, however.
                http://juicystudio.com/article/required-elements-required-tags.php