Username Password
Bookmark and Share
Gallery: Allow return from photo edit view to gallery edit view  (#11571)

It would be a great improvement if there was a mechanism that would allow redirection of users from a photo edit view to the edit view of the parent album. That way thumbnails in the gallery edit view could be linked to respective photo edit views. After having edited the photo, the user could proceed editing the album. Currently, the user is always redirected to the photo edit view.

One possible implementation would be to allow the value "editParent" for the "proceed" form variable. The photo edit view could then be linked in via "<photo_url>?func=edit;proceed=editParent".

6/8/2010 4:02 pm
Done. I have added necessary code to www_editSave in WebGUI::Asset and www_edit in WebGUI::Asset::File::GalleryFile::Photo. The "Default Gallery Album Edit" template and "admin.css" stylesheet have been updated as well.

Note that this implementation also fixes a problem with the edit view of the photo asset. Users are no longer allowed to create photos without selecting an image file to be uploaded. I ran into this problem when writing the testing code.

Please, pull in commit c0d2c913b9085f38fcfa from my personal fork of webgui ( A pull request was sent to pearlDreamer, preaction and haarg.
Ticket Status Acknowledged  
Submitted By kimd  
Date Submitted2010-05-15 
Assigned To unassigned  
Date Assigned 2019-08-22  
Assigned By  
What to improve? WebGUI Beta  
Difficulty 1  
Karma So Far0
Karma Rank0.00
Ticket History
7:48 PM
Acknowledged DBell
2:42 PM
Ticket created kimd
© 2019 Plain Black Corporation | All Rights Reserved