Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
rbbrioso28 committed Nov 19, 2020
2 parents 2672847 + 624da58 commit 0d2a33f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Listener/MelisFrontLayoutListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function(MvcEvent $e){

// Including the plugins menu by getting the view
$pluginsMenuView = $forwardPlugin->dispatch('MelisCms\Controller\FrontPlugins',
array('action' => 'renderPluginsMenu', 'siteModule' => $siteModule));
array('action' => 'renderPluginsMenu', 'siteModule' => $siteModule, 'pageId' => $idpage));

$viewRender = $this->getServiceManager()->get('ViewRenderer');

Expand Down
2 changes: 1 addition & 1 deletion src/Listener/MelisFrontMiniTemplateConfigListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function onLoadModulesPost(ModuleEvent $e, $priority = 1)
*/
public function prepareMiniTemplateConfig($miniTplPath)
{
$image_ext = ['PNG', 'png', 'JPG', 'jpg', 'JPEG', 'jpeg'];
$image_ext = ['PNG', 'png', 'JPG', 'jpg', 'JPEG', 'jpeg', 'gif', 'GIF'];
$pluginsFormat = array();
foreach($miniTplPath as $siteName => $path) {
if (file_exists($path) && is_dir($path)) {
Expand Down

0 comments on commit 0d2a33f

Please sign in to comment.