Share » Forums » Developer » Module work but title error

Module work but title error

Module work but title error

Thursday 07 October 2010 8:52:36 am - 2 replies

Author Message

Christian Rößler

Thursday 07 October 2010 9:09:03 am

Hy Mathieu,

consider using the path-arraykey in your module Result:

// some module code here
...
...
// Process template and set path data    
$Result = array();    
$Result['content'] = $tpl->fetch( 'design:foo/bar/blaa.tpl' );    
$Result['path'] = array( array( 'url' => false,                                    
                                'text' => 'YOUR NEW PAGE TITLE HERE' ) );

Or take a look in extension/ezfind/modules/ezfind/elevate.php . This is a nice example...

cheers,

Chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Mathieu Pisonero

Thursday 07 October 2010 9:46:24 am

helle Christain,

Thanks for the response! But I alleready use the path-arraykey.

For be more precise :

1-I never did this module (...but I have to know why this probleme.)

2-A first module is call by a form action. In this form, a hidden input ''RedirectURI" with the path of the second module.

3- So I think ez past by the first module (without result param), and they have a redirection in the second (with the path-arraykey).

Maybe somme one, can give me a idea!

Thank a lot!

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

36 542 Users on board!

Forums menu