Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. Tags
    3. routes
    Log in to post
    • All categories
    • K

      UNSOLVED Issue on reaching out to new routes established using the WriteAPI
      NodeBB Plugins • routes write-api • • KnickKnack

      6
      1
      Votes
      6
      Posts
      99
      Views

      K

      @julian that's awesome thanks a lot!

    • Doppy

      Error: Route.get() requires callback functions but got a [object Undefined]
      Plugin Development • plugin plugin error routes • • Doppy

      1
      0
      Votes
      1
      Posts
      3249
      Views

      Doppy

      In my library.js I need to create a custom route so I do:

      params.router.get('/admin/test/:nameTest', params.middleware.admin.buildHeader, controllers.renderTest);

      But I obtain "Error executing 'static:app.load' in plugin 'nodebb-plugin----". Anyone can help me to resolve this problem?

    • Doppy

      how specify in router any value
      Plugin Development • plugin plugin error routes • • Doppy

      3
      0
      Votes
      3
      Posts
      1633
      Views

      baris

      Do this

      router.get('/user/:username', controllers.red); controllers.red = function(req, res, next) { console.log(req.params.username); }
    • henrywright

      Feature request: Ability to rename routes
      Feature Requests • localisation routes • • Henry Wright

      6
      1
      Votes
      6
      Posts
      2119
      Views

      henrywright

      @pitaj that's true but if not done properly, aliasing links could be very dangerous for a site's search engine ranking. Personally, I wouldn't go down that route (no pun intended ha).

    • henrywright

      SOLVED Is it possible to rename routes?
      NodeBB Development • language localisation routes • • Henry Wright

      5
      0
      Votes
      5
      Posts
      2143
      Views

      henrywright

      @julian thanks. I'll give it a try!

    • X

      How to create a new route for a new custom page
      NodeBB Development • custom page question routes • • xuso

      7
      2
      Votes
      7
      Posts
      4875
      Views

      X

      @psychobunny 🙂

    • Rahil Wazir Ali

      Redirect sso plugins to custom route
      NodeBB Development • plugin routes • • Rahil Wazir Ali

      2
      0
      Votes
      2
      Posts
      2124
      Views

      K

      This is an old post, but have you found a solution? I have the exact same problem. I need a new user to be redirected to profile edit page to enter the email address.

      Thanks!

    • A

      Renaming certain routes.
      NodeBB Development • changing routes tags • • a_5mith

      3
      1
      Votes
      3
      Posts
      2164
      Views

      yeelan0319

      @psychobunny

      May I know where I can get a general picture for the ACP overhaul? And I really appreciate if there is a timeline for the release.

      I really like if the above feature for customize route will be included in the ACP overhaul. Then I guess we will be able to edit the route for each category through manage->categories, if I am getting it correctly?

      Just cannot wait to see the next release and thanks for so many wonderful works you all have done so far. It is fantastic!