• 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.

Help with custom quotes instead of comments

Scheduled Pinned Locked Moved Requests
2 Posts 1 Posters 1.0k 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.
  • ? Offline
    A Former User
    last edited by A Former User Apr 24, 2018, 3:25 PM Apr 24, 2018, 3:20 PM

    Greetings MM-ers!

    Firstly I want to say a massive thanks to Michael Teeuw for the awesome platform that is Magic Mirror and also to all of the contributors who make this community such a fun and engaging place to learn.

    This is my first mm project (and indeed my first raspberry project) but I’m already planning more.

    Anyway, I’ve got the basics down and have something I’m reasonably happy with, but for a few cosmetic details. See screenshot (taken using scrot installed on pi)

    0_1524583504189_mmshot.png

    Not new to css so played with the colouring etc without any problems (once I’d located the respective module files)

    Question is I have about 50 or so positivity/life quotes I want to use instead of the default comments.

    I know I’ll probably need to store these in remote file to save cluttering config.js but I’m keento understand how I’ll be able to format them so they look like this (but center justified):

    “Something Confucius said”
    Confucius

    I tried using a couple of quotes in place of comments in config.js but when I tried to insert a line break using /n and /r it didn’t work at all.

    Any ideas as to how I’ll be able to do this?

    1 Reply Last reply Reply Quote 2
    • ? Offline
      A Former User
      last edited by Apr 24, 2018, 6:44 PM

      STOP THE PRESS

      Think I’ll try and use this module from @KirAsh4 with some manual fiddlery.

      https://github.com/KirAsh4/random_quotes/

      Look forward to posting my finished mirror!

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        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