edward-shen/MMM-pages

Where to put this.sendNotification

MWEL1977 opened this issue · 2 comments

Hi there,

I'm just a newbie trying to use your MMM-Pages and MMM-page indicator but I'm stuck!
I did the git pull..... changed the config.js file but were should the "this.sendNotification("PAGE_CHANGED", 2);" go?? In your discribtion it is only mentioned that this must be added to "my code".
But I don't understand what file you mean by that. Perhaps you could ad an example code to the discription were we can see were this piece of code must go?

Hope you can help me.

With kind regards,
Mike Wellink
The Netherlands

Hey!

Thanks for trying out my modules!

As a user, you shouldn't worry about that, as it is meant for other developers to add in integration with MMM-Pages. You should instead look for a module that you can use to interact with that supports MMM-Pages to change the page, or send a notification to this module.

By itself, MMM-Pages only has the option to rotate itself on a set time.

Closing due to age. Please reopen or continue commenting if you still have problems.