By Norman Wensky on Thursday, 18 January 2018
Replies 0
Likes 0
Views 665
Votes 0
Hi,

you have implemented a backward compatible fix for the layout selection in mod_easyblocklatestblogs.php / line 48 which only allows vertical or horizontal as options. It would be great if you could implement a sidebar layout option and / or 2-3 custom layout options which could be overwritten via template/html.

sidebar
custom_layout_1
custom_layout_2

Hotfix for other users:

// just check for the current module position to override the $layout var
// templates/your_template/html/mod_easybloglatestblogs/default.php
//
// add the following code to the top of the file, after "defined('JEXEC_')"
if( $module->position == 'right' ){
$layout = 'your_layout_file';
}

// add your layoutfile to the same folder



Dennis Heiden
Stackexchange Profile
View Full Post