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.

    Header for module "hello world"

    Scheduled Pinned Locked Moved Feature Requests
    4 Posts 2 Posters 2.3k Views 2 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.
    • K Offline
      kclemen
      last edited by

      I’m using the “hello world” module to setup an iframe to show the status of several parameters in my house. Now I would like to give this field a nice header, but this seems not to work like it should. My guess is that this is not scripted (yet)?

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @kclemen
        last edited by

        @kclemen

        {
            module: "helloworld",
            position: "top_right",
            header: "This is my custom header"
        }
        

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 0
        • K Offline
          kclemen
          last edited by

          @strawberry-3-141 , the problem is that inserting the “header” in the config file does not give the title !?

          My config:

          			module: "helloworld",
          			position: "top_right",
          			header: 'Muziekspelers',
          			classes: 'default everyone',		
          			config: {
          				text: "test" //height: 100vh;
          			}
          		},```
          K 1 Reply Last reply Reply Quote 0
          • K Offline
            kclemen @kclemen
            last edited by kclemen

            Sorry, now that I see my post again: I did not insert the header tag in the correct module. (Shame shame)

            1 Reply Last reply Reply Quote 0
            • 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