#016659: ezcomments: redirect to commented object page on success

Description:

It would be more friendly to be redirected back to the current object page, showing the added comment, instead of having to click OK on a page that says "success" (it should say success on the original page)


Environment:

Operating System:
PHP Version: (please be specific, like '4.4.3' or '5.1.5')
Database and version:
Browser (and version):


- Attachments

No attachments for this issue.


- Comments

@gg, do you think returning to object page should be the default behavior or there should be a setting option to enable/disable the behavior? Not so sure about the actual case.

There are two place for adding comment one in object view, one in comment list view with pagination. For the second one, after commenting, it should return to the first page, right?

Thanks

Cheers
XC

#267091 by Chen Xiongjie on August 24th, 2010 [Permanent Link]

Another possibility: like some websites, give a message which says 'jumping to the object/comment list in 3 seconds'. In this way we could give a ini setting for waiting seconds, 0 means redirecting immediately.

-
XC

#267092 by Chen Xiongjie on August 24th, 2010 [Permanent Link]

Implemented in ezcomments trunk(1.1) revr 327. Don't want to set this as default for 1.0 since it's a new feature, so didn't back port.

Note: Redirect to the object page only when there is subscription request on the comment(because the user needs to be informed that the subscription is successful/failed).

A new setting in ezcomment.ini

RedirectAfterCommenting=true (will be documented)

#267143 by Chen Xiongjie on August 26th, 2010 [Permanent Link]

The enhancement is implemented. I move it to closed.

The new setting in ezcomment.ini
RedirectAfterCommenting=true (will be documented)

Geir Arne Waaler
ez Documentation

#271690 by Geir Arne Waaler on October 21st, 2011 [Permanent Link]

- History
Properties
Type Enhancement
Priority Medium
Component Extensions » eZ Comments
Affects 4.3.0
Fix Version 4.4.0beta2
Reporter Gaetano Giunta
Responsible Chen Xiongjie
Status 0 Closed
Resolution Implemented
Created April 15th, 2010
Updated October 21st, 2011
Resolved August 26th, 2010
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #018871
  when removing an object with two locations, ez does not ask to send to trash but always does real deletion