[3.2][DEV] Dark Mode

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Aurelienazerty
Registered User
Posts: 158
Joined: Sat Jan 08, 2005 8:21 pm
Contact:

Re: [3.2][DEV] Dark Mode

Post by Aurelienazerty » Mon Aug 12, 2019 9:56 pm

Yes maybe, and do a F5 for reload the CSS (to be sure)

User avatar
3Di
Former Team Member
Posts: 13916
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][DEV] Dark Mode

Post by 3Di » Mon Aug 12, 2019 11:46 pm

Aurelienazerty wrote:
Mon Aug 12, 2019 9:56 pm
Yes maybe, and do a F5 for reload the CSS (to be sure)
I mean, in your code.

Try calling the $this->cache->purge(); method at every switch.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

User avatar
Aurelienazerty
Registered User
Posts: 158
Joined: Sat Jan 08, 2005 8:21 pm
Contact:

Re: [3.2][DEV] Dark Mode

Post by Aurelienazerty » Tue Aug 13, 2019 9:16 pm

Ok, but the switch (Dark / Light mode) doesn't need a cache purge : Javascript put a class on top element (body tag) that's apply CSS.

The purge is for seing the hot fix discribed here.

Post Reply

Return to “Extensions in Development”