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

    I’m just wondering about code generated by plugins.

    One of the reasons why I chose to learn modx, is that is lets me choose my doctype. I’m not forced to use XHTML.
    However, as soon as I start using plugins, my choice goes out the window.

    I’ve been working with the tutorial in the docs on creating a blog in revo. The process requires quiet a handful of plugins. By the time I’ve created a blog, my pages won’t validate.

    I guess this is simply a reality of working with plugins for any CMS.

    But I’m just wondering a couple of things...

    How to plugin developers decide which styles of tag to generate?
    Is there any way out of this dilemma?

    I guess plugin authors could include a kind of switch in their plugins, so users could decide which tag style they want. I’m sure this would be a lot more work that plugin authors might not neccessarily want to take on.
    Perhaps one possible solution might be a common set of functions that all plugin authors could use?

    I’m just thinking out loud here. But I’d really be interested to know if this is a problem for other people. I can get obsessive about producing fully valid work. Is this an issue for anyone else?