Difference between revisions of "Extensions:LiveClock"
m (Updated to 2.1.0) Tag: 2017 source edit |
m (Wiki editing is not my forte.) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
− | {{Extensioninfobox|title=LiveClock|desc=Adds a working clock to the site!|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD|branch=extension/LiveClock}}|LKVer=2. | + | {{Extensioninfobox|title=LiveClock|desc=Adds a working clock to the site!|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD|branch=extension/LiveClock}}|LKVer=2.0.0 2022|migration=no|package=no}} |
{{Extensioninfobox|title=LiveClock Develop|desc=Adds a working clock to the site!|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD|branch=extension/LiveClock-develop}}|LKVer=3.0.0 dev|migration=no|package=no}} | {{Extensioninfobox|title=LiveClock Develop|desc=Adds a working clock to the site!|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD|branch=extension/LiveClock-develop}}|LKVer=3.0.0 dev|migration=no|package=no}} | ||
Adds a working clock to the site! | Adds a working clock to the site! | ||
+ | |||
By default, this will ONLY replace the static clock on the dashboard.. | By default, this will ONLY replace the static clock on the dashboard.. | ||
Line 13: | Line 14: | ||
'''UPDATE:''' | '''UPDATE:''' | ||
There is now a develop branch version available for those running ahead of the curve. | There is now a develop branch version available for those running ahead of the curve. | ||
+ | |||
You can find it on my [https://github.com/SpeedyD/lorekeeper/tree/extension/LiveClock-develop LiveClock-develop] branch. | You can find it on my [https://github.com/SpeedyD/lorekeeper/tree/extension/LiveClock-develop LiveClock-develop] branch. | ||
Line 31: | Line 33: | ||
== Troubleshooting == | == Troubleshooting == | ||
I'm Speedy#4060 on Discord, but please do not contact me directly. | I'm Speedy#4060 on Discord, but please do not contact me directly. | ||
+ | |||
Instead, please tag me in the Lorekeeper server if you need my help. | Instead, please tag me in the Lorekeeper server if you need my help. | ||
+ | |||
I am not a regular there, so asking something without a tag might not get a response. | I am not a regular there, so asking something without a tag might not get a response. | ||
Revision as of 14:58, 17 January 2023
Description | Adds a working clock to the site! |
---|---|
Author(s) | Speedy |
Status | stable |
Github | extension/LiveClock |
LK Version | 2.0.0 2022 |
Description | Adds a working clock to the site! |
---|---|
Author(s) | Speedy |
Status | stable |
Github | extension/LiveClock-develop |
LK Version | 3.0.0 dev |
Adds a working clock to the site!
By default, this will ONLY replace the static clock on the dashboard..
But you can add clocks wherever you want! Highly suggested to put it on the footer.
This extension uses Javascript and JQuery for it's live updates.
Thanks, as always, to Mercury!
UPDATE: There is now a develop branch version available for those running ahead of the curve.
You can find it on my LiveClock-develop branch.
Installation
Pull the extension branch and push to your site.
Will replace the default clock on the dashboard, so be wary of conflicts if your dashboard is modified.
Don't forget to run php artisan update-extension-tracker
!
Configuration
No configuration necessary. LiveClock bases the time on your Lorekeeper timezone.
Usage
Simply put the following in any location you want a clock: {!! LiveClock() !!}
Optionally, add the following in front of the LiveClock line to get a little clock icon in front:
<i class="far fa-clock"></i>
Troubleshooting
I'm Speedy#4060 on Discord, but please do not contact me directly.
Instead, please tag me in the Lorekeeper server if you need my help.
I am not a regular there, so asking something without a tag might not get a response.
Images
See Also
Alternatively, you could try Newt's Mini Clock extension, which was in fact the inspiration for this little project.