• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Clear Template Cache?

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 1.7k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • medwardsM Offline
    medwardsM Offline
    medwards
    wrote on last edited by
    #1

    Are templates cached in some special way that doesn't get cleared on a standard browser refresh? Local storage or something?

    I've tried refreshing and restarting the server and the admin cog is still showing up for every user. I can see that I'm loading a stale version of header.tpl because the cog <li> looks like:

    <li class="{adminDisplay}">
    

    And I can see the commit that removed that.

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #2

    Hey @medwards, what theme are you using?

    Lavender, in particular, overrides some templates in vanilla, so editing those templates means they won't show up, since NodeBB doesn't look for that template any longer.

    You'll have to edit the .tpl files in the /templates folder in the Lavender theme instead.

    1 Reply Last reply
    0
  • medwardsM Offline
    medwardsM Offline
    medwards
    wrote on last edited by
    #3

    @julian That was it.

    I had an older version of the Lavender theme with the old style admin template.

    Thanks!

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development