This is the patch file (diff) which adds view parameter support to ezmodule rerun calls including layout/set module view. This solution is also provided as a kernel override extension class. https://gist.github.com/1651245
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1072a1073,1087 | |
> // START EDIT BC: Add view parameter support | |
> $viewParameters = array(); | |
> $uriUserParameters = $uri->userParameters(); | |
> | |
> foreach( $uriUserParameters as $key => $param ) | |
> { | |
> if( $param != '' ) | |
> { | |
> $viewParameters = array_merge( $viewParameters, array( $key => $param ) ); | |
> } | |
> } | |
> | |
> $tpl->setVariable( 'view_parameters', $viewParameters ); | |
> // END EDIT BC: Add view parameter support | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment