-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8c2d6f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please explain how to configure the file for use? Am I supposed to be configuring it in the MMM-soccer.js file or the config.js file? as in your explanation there is just ... in the config.js file
8c2d6f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adriennekline you should never touch the module files from any module as a base rule. All configuation should always happen inside the config.js file as it overwrites the one inside the module defaults. They are only active as a default in case you dont specify them in the config explicitly
8c2d6f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
I'm trying to use this module and it worked but logos didn't. I've tried your installation method and logos did not show up, only a default icon. How can I use the assigned logo of the particular league teams please? Thanks, hope to hear from you soon
8c2d6f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andreasf98 the logos get taken down from wikimedia to frequent to provide always an up to date list for all leagues. You could download the logos for the required teams and place them in the public dir as described in the docs https://github.com/fewieden/MMM-soccer#logos
8c2d6f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And do I have to code something to get the logos from the public dir please?
If so which code reference should I write? Thanks
8c2d6f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andreasf98 there is no code required. The logic is already defined to check the public directory here
MMM-soccer/MMM-soccer.njk
Line 25 in 8c2d6f0
E.g. for the german bundesliga it should look something like: