Share » Forums » Developer » Redirect after removing Image

Redirect after removing Image

Redirect after removing Image

Tuesday 30 November 2010 7:44:00 am - 2 replies

Author Message

Magnus Hellman

Wednesday 01 December 2010 2:30:09 am

Does anyone have a hint for me, where in the kernel the functionality for removing the users image ist stored?

Have a look at kernel/classes/datatype/ezimage/ezimagetype.php and the method customObjectAttributeHTTPAction().

Note: It's used for all images, not only user images and it doesn't store anything.

Also you may want to take a look inside kernel/content/edit.php for the redirects.

Although I would recommend another way of extending the core functionallity, simply becuase it'll cause less headache when you upgrade.

Without knowing anything details about your custom user edit page I don't really know what's suitable. Perhaps a module or a custom action?

Christoph S.

Thursday 09 December 2010 7:35:12 am

Does anyone have a hint for me, where in the kernel the functionality for removing the users image ist stored?

Have a look at kernel/classes/datatype/ezimage/ezimagetype.php and the method customObjectAttributeHTTPAction().

Note: It's used for all images, not only user images and it doesn't store anything.

Also you may want to take a look inside kernel/content/edit.php for the redirects.

Although I would recommend another way of extending the core functionallity, simply becuase it'll cause less headache when you upgrade.

Without knowing anything details about your custom user edit page I don't really know what's suitable. Perhaps a module or a custom action?

Thanks for the hints!

My problem was, that I wanted to display the standard user/edit pages in the third level, like Main Menu -> Sub Menu -> 3rd Level -> My profile. All went fine, except when the button "remove image" was clicked. Then ezp switches from user/edit to content/edit and my Submenus disappeared. I solved that with a little frontend hack and without touching the core functionallity.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu