eZ Community » Forums » Developer » One Step custom edit for different tasks
expandshrink

One Step custom edit for different tasks

One Step custom edit for different tasks

Wednesday 27 June 2012 12:57:28 pm - 6 replies

Hey Developer,

I want to create a one step custom edit for a frontend administration. The customer should be able to add a music album, during the creation he should be able to manage (add/remove) a author class which is connected as object relation list to the music album class. Furthermore some other classes in the same way and he also should be able to manage child objects in one step.

Please give me some input and hints for best practise to do this =)

beste regards, scrieler

Wednesday 27 June 2012 1:14:00 pm

Hi scrieler _, could you provide a more detailed description of the use-case & an ordered list of the tasks what the user should be able to perform and the steps to achieve this?  I can't visualise the process from your current description.

Cheers,
Geoff 

Wednesday 27 June 2012 1:57:45 pm

Hi Geoff,

my classes:

- audio album
- audio single
- author profile
- download file
- audio sample

currently I can add a audio album and add the uploaded download files to an objectrelation list, I can add created author profiles like this too. Now I have to add audio singles as child (the samples will created automaticly).

It's my goal to do all this in one edit process in easiest way for the customer.

Modified on Wednesday 27 June 2012 1:58:08 pm by scrieler _

Wednesday 27 June 2012 3:23:19 pm

Hi scrieler,

Maybe you can use a content edit handler. After publishing an item you can run custom actions, for example setting permissions, creating child objects, etc. Take a look at: http://serwatka.net/blog/ez_publish_3_8_new_custom_edit_handler. The documentation is based on ezp 3.8, but I have also used it in version 4.5.

Thursday 28 June 2012 8:29:36 am

Is it possible with a custom edit handler? It's not necessary to use custom datatypes too, if I go this way?
Or is it possible/better/easier to use a custom action handler with complete own logic?

Friday 29 June 2012 11:49:43 am

Hi,

You can use the custom edit handler to automatically create new objects - you don't need a custom datatype for this. Since this is part of the edit process I wouldn't go for the custom action handler.

Friday 29 June 2012 2:23:34 pm

ok, but I need to manage new authors and download files in this process. I have no idea how to do this with a custom edit handler.

I want to create a album, in this process I want to be able to add/create author profiles and link download files, best practise would be to multiupload this files. After uploading this, the singles with samples should be created.

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from