• 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
  1. Home
  2. clever83
  3. Posts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
C
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 2
  • Groups 0

Posts

Recent Best Controversial
  • RE: Inserting a script output into the compliments module

    So i was rereading the wiki and noticed the remote file needs to be in .json format while the script is in .js. I’m sure that will make things more difficult

    posted in Troubleshooting
    C
    clever83
    Jul 31, 2017, 1:03 AM
  • Inserting a script output into the compliments module

    I’ve have a javascript file that checks the date to display a certain message and if the date doesn’t match will output a random quote I have in an array. At the at moment I have that working ok but i’m stuck on how to take the var it has and put that in the module. I’m thinking that I could possibly add the anytime array into that java file for the remote file to pull it from it but I’m not sure if this would work

    {
        "anytime" : [
            text
        ],
    

    with the var=text
    Also i’m not sure if it would refresh throughout the day like the normal compliments do.

    Would anyone mind giving me some advice? Thank you

    posted in Troubleshooting
    C
    clever83
    Jul 30, 2017, 9:03 PM
  • 1 / 1
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