• 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

Composer: avoid redirect after submit

Scheduled Pinned Locked Moved NodeBB Plugins
6 Posts 2 Posters 561 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.
  • bonaccorsopB Offline
    bonaccorsopB Offline
    bonaccorsop
    wrote on last edited by
    #1

    I wish to avoid redirects after writing new topics or replies.
    Is there any option of the composer JS module to set this behavior?

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #2

    In user settings, there's an option "After posting a reply, show the new post".

    1 Reply Last reply
    0
  • bonaccorsopB Offline
    bonaccorsopB Offline
    bonaccorsop
    wrote on last edited by bonaccorsop
    #3

    Ok thanks @PitaJ,
    but I need a different behavior in another custom page.
    In particular, in my custom page I need no redirects and in other sections redirects should remain.
    Can I use a Javascript API in my custom page to do this?

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to bonaccorsop on last edited by
    #4

    @bonaccorsop can you explain exactly where you want this behavior? Are there certain topics or categories you wish to redirect on, and others not? Or what exactly is your desire.

    1 Reply Last reply
    0
  • bonaccorsopB Offline
    bonaccorsopB Offline
    bonaccorsop
    wrote on last edited by
    #5

    Okay, I created a custom theme based on Persona.
    There's a custom page that shows all user's subscribed topics and he can quickly reply and write new Topics for a certain category. After user write using composer, his post automatically renders in the custom page and redirect is annoying in this case. So i wish to disable it.

    1 Reply Last reply
    0
  • bonaccorsopB Offline
    bonaccorsopB Offline
    bonaccorsop
    wrote on last edited by
    #6

    SO @PitaJ, is there a solution for this?

    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