• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. William Haskell
    • Profile
    • Following 0
    • Followers 1
    • Topics 1
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    William Haskell

    @William Haskell

    0
    Reputation
    312
    Profile views
    5
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    William Haskell Unfollow Follow

    Latest posts made by William Haskell

    • RE: Getting current URL in templates.

      Yep, that works, but there's also another pages using the menu at the top that I've just noticed.

      Is there a way to check if the page is just settings or edit?

      These seem to be the only ones that need the button.

      posted in NodeBB Development
      William Haskell
      William Haskell
    • RE: Getting current URL in templates.

      If I use that, it displays only on followers/following page.

      !followers.length doesn't seem to work and edit.length doesn't work either so I'm not sure how to do this :s

      posted in NodeBB Development
      William Haskell
      William Haskell
    • RE: Getting current URL in templates.

      Thanks 😛

      posted in NodeBB Development
      William Haskell
      William Haskell
    • RE: Getting current URL in templates.

      Thanks for that, so in the template how can I use the IF functions, I'm not too sure on this stuff..

      <!-- IF location.pathname IS "/followers" --> ?
      or = or something else?

      posted in NodeBB Development
      William Haskell
      William Haskell
    • Getting current URL in templates.

      Hey guys, I'm toying around with the lavender theme and I've moved the save changes button on the settings pages to the top, in the same bar as the "Edit, Settings, Profile" links.

      The problem with this is that it will appear even on /followers and /following.

      Is there a way to check if the current URL is /followers or /following in the template file?

      Thanks.

      posted in NodeBB Development
      William Haskell
      William Haskell

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact