Hi everyone!
In D7 version of the module - user is able to add places to its own weather display. And see those places in separate block.
Recently I had some time and was able to implement this functionality for D8 version.
It hasn't been tested well and there is still couple of todos left.
So anyone is welcome to continue!)
See my recent commit
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | user-customized-weather-display-port-3086847-1.patch | 1.56 KB | akyrylenko |
Comments
Comment #2
tarasichHey there!
Just pushed an update, tested from my side. User managed weather display functionality works on D8 version now.
See my latest commit here.
Would be good if someone can test how it works in DEV version of the module.
Comment #3
galileo25 commentedEverything works fine, but on the user profile page when adding a new location, the table is not updated untill cache cleared when the weather block is missing.
Comment #4
galileo25 commentedPart-time I got an issue with $displayNumber variable in my watchdog
It references to the lines
Where $displayNumber came undefined
Comment #5
galileo25 commentedComment #6
akyrylenko commentedHi there,
I provide a patch for weather display where fixed log message:
Notice: Undefined variable: displayNumber in Drupal\weather\Form\WeatherDisplayForm->buildForm(), line 213and successful update table after adding new location.
Please review
Comment #7
akyrylenko commentedComment #8
ysamoylenko commentedThe patch looks good for me and it solves the issue well. Happy to RTBC!
Comment #9
tarasichLooks awesome! Thank you guys!)
@ysamoylenko lets commit
Comment #11
ysamoylenko commentedThe changes have been committed. Thanks, everyone for your participation in module development.