We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 35545
    • 35 Posts
    I like ModX because it's SEO friendly. The best way to make a site rank high is to manually give a title and meta description (and of course a ton of other things). For this i created some TV's, works great. But... a title should not be longer than 67 characters. Is there a way to build in some sort of a counter so that if i write a title or description i can see a counter or something?
      • 3749
      • 24,544 Posts
      I think the ideal thing would be a JavaScript counter attached to that form element. I've seen ones with a count and progress bar. Since it's only for that field, it should be possible to put the JS in the template or inject it with a plugin tied to OnDocFormPreRender.

      It's a cool idea and I'll play with it if I can find some time.


      ---------------------------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
      MODx info for everyone: http://bobsguides.com/MODx.html [ed. note: BobRay last edited this post 14 years, 9 months ago.]
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting