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.

    MMM-Todoist - adding reminder priority owner

    Scheduled Pinned Locked Moved Development
    7 Posts 2 Posters 4.5k 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.
    • tidus5T Offline
      tidus5 @tidus5
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • tidus5T Offline
        tidus5
        last edited by

        Yop,

        im progressing ^^
        i understand how it’s working now - just dont know how to add an icon :-/

        Someone can help me ?

        if (JSON.parse(body).items[i].priority == '1') {icontodo ='P1'}
        	else if (JSON.parse(body).items[i].priority == '2') {icontodo ='P2'}
        	else if (JSON.parse(body).items[i].priority == '3') {icontodo ='P3'}
        	else {icontodo ='P4'};
        

        0_1481751363565_Screen Shot 2016-12-14 at 22.35.44.png

        icontodo = document.createElement(“span”);
        icontodo.className = “wi wi-day-rain-mix”;
        icontodo =‘img:wi wi-day-rain-mix’;

        any help is welcome :-)

        1 Reply Last reply Reply Quote 0
        • tidus5T Offline
          tidus5
          last edited by

          Yop,

          i did it :-)

          @cbrooker could you just tell me - how you hide the task tagged like done ?
          if i understand correctly the API documentation in the form you receive all - so normally the checked’s status can be used. but i only have items with checked = 0

          thanks :-)

          0_1482769770022_Screen Shot 2016-12-26 at 17.27.30.png

          1 Reply Last reply Reply Quote 0
          • U Offline
            uzumon
            last edited by

            Can you share your code for this module? Thx

            tidus5T 1 Reply Last reply Reply Quote 0
            • tidus5T Offline
              tidus5 @uzumon
              last edited by

              @uzumon

              Hello

              see here - i’m on holiday. Send that as soon as i’m back

              https://forum.magicmirror.builders/topic/566/mmm-todoist-your-todoist-tasks-on-your-mirror/59?page=6

              1 Reply Last reply Reply Quote 0
              • U Offline
                uzumon
                last edited by

                Oki, have a nice holiday :)

                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