• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-CalendarExt2

Scheduled Pinned Locked Moved Utilities
486 Posts 83 Posters 740.1k Views 83 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.
  • ? Offline
    A Former User @Hram2008
    last edited by Mar 17, 2020, 6:48 PM

    @Hram2008
    Not possible. Why do you need? By the case, I could consider that feature, but normally, why is it needed?
    You can transform the title to use emoji instead icon.

    H 1 Reply Last reply Mar 17, 2020, 11:49 PM Reply Quote 0
    • H Offline
      Hram2008 @Guest
      last edited by Mar 17, 2020, 11:49 PM

      @Sean
      Sorry, I am not not able attach an image. What i am trying to do is is the Transform event with specific text to add an emoji to the upcoming view… i.e Calendar event with “Birthday” in name would add a Birthday cake emoji to the event… I want to do this for other text… " Christmas" = x-mas Tree emoji…where other text would display other emoji…

      ? 1 Reply Last reply Mar 18, 2020, 8:26 AM Reply Quote 0
      • ? Offline
        A Former User @Hram2008
        last edited by A Former User Mar 18, 2020, 8:34 AM Mar 18, 2020, 8:26 AM

        @Hram2008
        First, I’m not sure emoji could be displayable on Electron(Chromium) of Raspbian without any additional things(font?). I have no RPI at this moment, so can’t test.
        But I believe it could, And at least, on my other SBCs, it works.

        Frankly says, How to transform exists already in the wiki of github repository, Anyway, I’ll show it again with another sample.

        Before

        Add transform into your target View. (Or you can apply it globally by defaultSet

        transform: (event) => {
          event.title = event.title.replace(/FC/g, "⚽")
          event.title = event.title.replace(" - ", " VS. ")
          event.title = event.title.replace("(T.B.A.)", "")
          event.title = event.title.replace("Bayern München", `< img src='https://logodix.com/logo/337534.jpg' height='20px' width='100px' >`)
          return event
        }
        

        Then It will show like this;
        After

        H 1 Reply Last reply Mar 20, 2020, 11:13 AM Reply Quote 0
        • H Offline
          Hram2008 @Guest
          last edited by Mar 20, 2020, 11:13 AM

          @Sean
          Thank you for taking the time to respond, not quite what i was looking to do but it did point me in the right direction.

          1 Reply Last reply Reply Quote 0
          • C Offline
            CharlesDS
            last edited by Mar 26, 2020, 12:57 PM

            Are they known issues on raspberry pi 2? I’m working on configs without success. Black screen, nothing, but other modules, appears.
            Thanks

            ? 1 Reply Last reply Mar 26, 2020, 1:54 PM Reply Quote 0
            • ? Offline
              A Former User @CharlesDS
              last edited by Mar 26, 2020, 1:54 PM

              @CharlesDS
              Without log I cannot tell anything. More detailed info be needed. And Of course, on RPI2, it works.

              1 Reply Last reply Reply Quote 0
              • Z Offline
                Zinkeler
                last edited by Apr 8, 2020, 1:36 PM

                Hello,
                everything works fine in landscape-mode. If i change to portrait-mode (display_rotate=1
                avoid_warnings=1 in /boot/config.txt) my calender is not shown. All other modules are on my mirror.
                Can someone give me a hint?
                thx
                Ralph

                ? 1 Reply Last reply Apr 8, 2020, 1:44 PM Reply Quote 0
                • ? Offline
                  A Former User @Zinkeler
                  last edited by Apr 8, 2020, 1:44 PM

                  @Zinkeler
                  Nothing suspicious.
                  Which view are you using? show me your config about this module.

                  Z 1 Reply Last reply Apr 8, 2020, 2:52 PM Reply Quote 0
                  • Z Offline
                    Zinkeler @Guest
                    last edited by Apr 8, 2020, 2:52 PM

                    @Sean
                    { module: ‘MMM-CalendarExt2’,
                    config: {
                    scenes:[
                    {
                    name: “DEFAULT”,
                    views: [“upcoming”,“weeks”],
                    },
                    ],
                    views:[
                    {
                    name: “upcoming”,
                    mode: “upcoming”,
                    position: “top_left”,
                    slotTitle: “Demnächst”,
                    maxItems: 4,
                    locale: “de-DE”,
                    calendars: [“Ralph”],
                    },
                    {
                    name: “weeks”,
                    mode: “week”,
                    title: “Woche”,
                    type: “row”,
                    position: “bottom_bar”,
                    slotCount: 1,
                    locale: “de-DE”,
                    calendars: [“Ralph”],
                    },
                    ],
                    calendars: [
                    {
                    name: “Ralph”,
                    url: “”,
                    },
                    ],
                    },
                    }

                    ? 1 Reply Last reply Apr 8, 2020, 3:01 PM Reply Quote 0
                    • ? Offline
                      A Former User @Zinkeler
                      last edited by Apr 8, 2020, 3:01 PM

                      @Zinkeler
                      Well, nothing suspicious in configuration.
                      What log says? open dev-tools on MM screen and see what log says.

                      Z 1 Reply Last reply Apr 8, 2020, 3:15 PM Reply Quote 0
                      • 1
                      • 2
                      • 31
                      • 32
                      • 33
                      • 34
                      • 35
                      • 48
                      • 49
                      • 33 / 49
                      • 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