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 829.5k 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

      @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 Reply Quote 0
      • H Offline
        Hram2008 @Guest
        last edited by

        @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 Reply Quote 0
        • ? Offline
          A Former User @Hram2008
          last edited by A Former User

          @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 Reply Quote 0
          • H Offline
            Hram2008 @Guest
            last edited by

            @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

              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 Reply Quote 0
              • ? Offline
                A Former User @CharlesDS
                last edited by

                @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

                  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 Reply Quote 0
                  • ? Offline
                    A Former User @Zinkeler
                    last edited by

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

                    Z 1 Reply Last reply Reply Quote 0
                    • Z Offline
                      Zinkeler @Guest
                      last edited by

                      @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 Reply Quote 0
                      • ? Offline
                        A Former User @Zinkeler
                        last edited by

                        @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 Reply Quote 0
                        • 1
                        • 2
                        • 45
                        • 46
                        • 47
                        • 48
                        • 49
                        • 48 / 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