1
Lemernis
after editing post return to same post?
  • 2007/2/2 0:37

  • Lemernis

  • Just popping in

  • Posts: 10

  • Since: 2006/2/16


For XOOPS 2.2.3, I've noticed that when I edit a post and submit the change, I get taken to the first page of the thread instead of the post. Or come to think of it, IIRC this happens every time after making a very first edit, i.e., all subsequent edits take me back to the topic starter of the thread. Is there a way to set things up so that after editing (more than once) you're returned directly to the post you just edited? (Hope this makes sense.)

2
TheFinni
Re: after editing post return to same post?
  • 2007/2/6 21:47

  • TheFinni

  • Just popping in

  • Posts: 75

  • Since: 2003/11/25


Hi Lemernis,

Yes it makes sense. Unfortunately not all modules have logical re-directs after user actions.

Depending on the module you are using you can try to find the place where the re-direct occurs and edit to your own preferences.

In XOOPS the re-direct usually happend with the following function:

redirect_header(XOOPS_URL.'/modules/news/index.php'3'Re-direct message to user');


The first in the parenthesis is the URL where the re-direct after post goes. 2nd is time waiting for re-direct and 3rd the message to show the user.

If you can pinpoint the place you should be able to change it so it the re-direct goes where you want it.

Login

Who's Online

213 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 213


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits