MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    HTML Templating System

    Scheduled Pinned Locked Moved Requests
    1 Posts 1 Posters 1.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      j.e.f.f Project Sponsor Module Developer
      last edited by

      I’ve hacked away at pretty much every module in order to tailor my display to my liking. While there’s a lot you can do with CSS, you’re limited when everything is laid out with tables, so I’ve found I’ve needed to change the markup in most modules. It would be nice if the modules abstracted the HTML out into a separate template file so that whenever I update a module, I don’t need to do a whole lot of reverse engineering to recreate my changes. Even better would be if you could specify an alternative template file in the module’s config. Then any subsequent update would not overwrite your customizations.

      I understand this would be a significant upgrade to the current code base, but maybe something to think about for a v3 of MagicMirror.

      -Jeff

      1 Reply Last reply Reply Quote 2
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy