• 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

Page loads content only when i refresh it

Scheduled Pinned Locked Moved NodeBB Development
6 Posts 4 Posters 2.3k 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.
  • J Offline
    J Offline
    Jelena
    wrote on last edited by
    #1

    My theme is acting weird for some reason. When i click on menu to go to recent posts for example, it shows only header and sidebar i made and no content. Then I refresh page and it shows. Does anyone have an idea what can that be? @psychobunny @julian @trevor @a_5mith

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

    What does the /api/recent route show? What version of templates.js are you running? Can you try v0.0.8?

    J 1 Reply Last reply
    0
  • J Offline
    J Offline
    Jelena
    replied to julian on last edited by Jelena
    #3

    @julian /api/recent route shows this http://screencast.com/t/juIfZXPC and I am using templates.js 0.0.10 .
    I just tried with templates.js 0.0.8 and it still happens the same thing.

    1 Reply Last reply
    0
  • A Offline
    A Offline
    a_5mith
    wrote on last edited by a_5mith
    #4

    Strange, you have a few console errors that I'm noticing, but they don't mean much to me.

    Untitled.png

    When did you notice it wasn't working? If you've changed something recently, maybe try looking there for any errors in your code? Alternatively, run ./nodebb dev and check the logs.

    1 Reply Last reply
    2
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #5

    That error means that you've tried to include a lib that needs require.js, have a look here: https://community.nodebb.org/topic/2235/using-a-script-with-require-js-support/2

    1 Reply Last reply
    3
  • J Offline
    J Offline
    Jelena
    wrote on last edited by
    #6

    @a_5mith @psychobunny Thank you both. 🙂 So the error is removed and cache is cleared, so now it works like it should. ^^

    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