Git Product home page Git Product logo

Comments (23)

cowboysdude avatar cowboysdude commented on September 16, 2024 2

Okay so I figured it out...... I remember I had this problem once so I added this to my custom.css file and it fixes the issue:

 .fullscreen.above {
  z-index: -1;
  }

Thank you for the really great module!! It solves a HUGE problem for me...... I like using voice but I do not like hacking files to get what I want.....this way I don't have to!!!

Once again, Great job and Thank you!!!

from mmm-pages.

edward-shen avatar edward-shen commented on September 16, 2024

I have delete your API keys from the post and the edit history. It is good practice to keep your API private, as they are unique secret keys for your purposes only.

MMM-Pages does not have any way to change pages by itself. This is by design, as there are a dozen different ways to interface with a magic mirror, so it's better for users to select their own module to interface with the mirror. MMM-page-indicator does provide some form of page selection by clicking on the circles, but that is more or less a last-resort and I'd advise against it for normal usages, unless you have a touch screen.

As for your config, you have a typo:

[["weatherforecast", "newsfeed", "MMM-LICE"]
["calender", "compliments"]],

Should be

[["weatherforecast", "newsfeed", "MMM-LICE"],
["calendar", "compliments"]],

To add a new page, one simply needs to add their module as another array:

[["weatherforecast", "newsfeed", "MMM-LICE"],
["calendar", "compliments"],
["page3module1", "page3module2"]],

This can be repeated for as many pages you want.

You also don't need to specify the number of pages in MMM-page-indicator. Configuration for MMM-page-indicator is done automatically from MMM-pages.

from mmm-pages.

Kevsw99 avatar Kevsw99 commented on September 16, 2024

Alrite thank you so much, for my project, i do want to add in pages even though i do not have a touch screen implemented yet, ill try it out later and get back to you on whether it can be done.

from mmm-pages.

Kevsw99 avatar Kevsw99 commented on September 16, 2024

Hey Edward, i did tried the code and it does work, but i do have a question. For Example;

[["weatherforecast", "newsfeed", "MMM-LICE"],
["calendar", "compliments"],
["page3module1", "page3module2"]],

Do i do this kind of arrays for my other modules like for example football news to be shown on like page 2 or 3 , like do i just need to add in another array which specifies where this modules should be just like array above, thank you so much for your help so far and i hope you can help me clarify my doubts again.

from mmm-pages.

edward-shen avatar edward-shen commented on September 16, 2024

Think of each [] to be a page. The modules named in the first [] will be on the first page; the modules in the second [] will be in the second page; etc.; etc. If you want to put your Football news module on page 2, simply add the module name of it to the end of the second [] group. If you want an additional page, add another [] group. You should modify the current 2d array, not make a new one.

from mmm-pages.

Kevsw99 avatar Kevsw99 commented on September 16, 2024

Alrite i will work on that, and 1 more question, for example, i wanna add a modules 3 on the same position but different pages, so i do just need to specify the code in the config js file something this right;

            {
                    module: "calendar",
                    header: "US Holidays",
                    position: "top_left",
                    config: {
                            calendars: [
                                    {
              symbol: "calendar-check-o ",
                url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                                    }
                            ]
                    }
            },

then example module: "footballNews",
header: "ball",
position: "top_left",

finally;
[["calendar"],
["footballNews"],
["page1module1", "page2module1"]],

i assume its something like this right?

from mmm-pages.

edward-shen avatar edward-shen commented on September 16, 2024

Yep!
You tell where the modules to be in their own configurations, and MMM-pages just tells them when to show up together!

from mmm-pages.

Kevsw99 avatar Kevsw99 commented on September 16, 2024

Ah thats why it doesnt work on one page, so do i ignore the excluding part if i do want to add them into the second page;

excludes:["MMM-OnScreenMenu", "clock", "currentweather","MMM-page-indicator"],

from mmm-pages.

edward-shen avatar edward-shen commented on September 16, 2024

If you want to add clock to a specific page rather than showing up all the time, you'll need to remove it from excludes and then add it to the page you want. Any module in excludes will show up on all pages.

from mmm-pages.

Kevsw99 avatar Kevsw99 commented on September 16, 2024

Oh wow, words cannot describe how grateful i am Edward, thank you for all your help so far, and ill do my best in adding more modules and i will also like to try adding an auto page changing module if possible, once again, thank you so very much 👍

from mmm-pages.

edward-shen avatar edward-shen commented on September 16, 2024

Take a look at the rotationTime config option.

from mmm-pages.

Kevsw99 avatar Kevsw99 commented on September 16, 2024

I don't know if i am blind but i can't seem to find it....

from mmm-pages.

edward-shen avatar edward-shen commented on September 16, 2024

It's under the configuration options header on the main page of the repo.

from mmm-pages.

Kevsw99 avatar Kevsw99 commented on September 16, 2024

OMG im such a blur fool, thank you so much for your help edward, you are the best 👍

from mmm-pages.

edward-shen avatar edward-shen commented on September 16, 2024

Glad to be of help. Closing.

from mmm-pages.

cowboysdude avatar cowboysdude commented on September 16, 2024

I'm going to piggy back off of this closed issue because I'm having a similar issue.... Here's my config:
When I try to go to the second page it does nothing at all. Suggestions?

I'm running this on a 32" touch screen using a mini itx computer running Unbuntu 18...
Yes I have tried to add a config section to MMM-page-indicator with "pages: 2"
but it still doesn't change pages.
Thank you!

{
    disabled: f,
    module: 'MMM-Cursor'		 
},
{
    disabled: f,
    module: 'MMM-pages',
    config: {
        modules:
            [[ "MMM-NOAA3", "MMM-Astrology"],
            [ "MMM-ESPN" ]],
        excludes: ["MMM-Glock", "MMM-page-indicator"],
    }
},
{
    disabled: f,
    module: 'MMM-page-indicator',
    position: "bottom_bar"
},

from mmm-pages.

edward-shen avatar edward-shen commented on September 16, 2024

Hmm, Your configuration looks good, though I've never seen the disabled: f entries anywhere. What's that for?

There have been reports of a module breaking MMM-pages because they were improperly coded. I would suggest trying remove different modules one at a time from MMM-pages to see if one of them is causing problems.

from mmm-pages.

cowboysdude avatar cowboysdude commented on September 16, 2024

from mmm-pages.

cowboysdude avatar cowboysdude commented on September 16, 2024

I disabled all the modules except the stock calendar module and still cannot get the pages to rotate on clicking the indicator......

from mmm-pages.

edward-shen avatar edward-shen commented on September 16, 2024

I thought I recognized your username!

Is that a css fix that is specific to your issue or something that should be implemented in MMM-pages? I don't have access to a magic mirror right now so I'm not familiar with that selector.

from mmm-pages.

cowboysdude avatar cowboysdude commented on September 16, 2024

Yeah I use the username in both places that way people know who they're talking to LOL

I moved it from my custom.css file to the MMM-pages css file and it works. I'll do a PR ;)

Not sure if anyone else has run into the issue but I don't believe it'll hurt anything to just have it in there.

NOW to look at the code so I can get MMM-voice to change pages for me ;) I REALLY love this module!!! Thank you!

from mmm-pages.

ReadAndPractice avatar ReadAndPractice commented on September 16, 2024

Hello Edward,

I am using an IR frame and MMM-pages and MMM-page-indicator by you.
I can't seem to click on the page indicator dots with the IR frame.
I am using MMM-touch library which does not appear in the magic mirror 3rd library, you would have to google it.

But I do not know how to send the right notification to page indicator so that it responds to the IR frame.

I know this is probably very simple for you, but are you able to help me?

from mmm-pages.

edward-shen avatar edward-shen commented on September 16, 2024

Hi @HayunaLi, please do not necro old issues, you've just notified 2 other people from 2018. Additionally, I do not offer support for other modules, so you will need to ask for support on the forums instead.

from mmm-pages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.