Share » Forums » Developer » ezdesign

ezdesign

ezdesign

Tuesday 29 May 2007 5:48:04 am - 2 replies

Author Message

Fabien Mas

Wednesday 06 June 2007 5:56:31 am

Nobody knows?

I tried to understand the ezdesign operator (in kernel/common/ezurloperator.php) but with no succes...

Eric Bourgain

Wednesday 06 June 2007 9:38:48 am

Some more precision about what happens.
The template is called in the 'execute' method of a workflow eventtype, as follows:

         $process->Template
           = array('templateName' =>
                   'design:workflow/eventtype/select_approver.tpl',
                   'templateVars' =>
                   array('approve_user_list' => $preselection,
                         'warning' => false,
                         'submit_uri' =>false,
                         'cancel_uri' =>false,                      
                         'request_uri' => '/approve/select_approver',
                         'version' => $versionID,
                         'object_id' => $parameters['object_id'],
                         'redirect_uri' => $this->redirect_uri));
           
         return EZ_WORKFLOW_TYPE_STATUS_FETCH_TEMPLATE_REPEAT;

This occurs in the front site. I don't know for the back
When seen, the url is a /content/edit/... as stated by fabien
When we add trace in ezurloperator.php, we see that the first time, we have a bunch of matchkeys, but just one when we refresh (i.e. when it works)
We really need help!

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

36 542 Users on board!

Forums menu