3 small bugs fund and fixed
NOTE: If you have kept the default YouGrids style no need to uninstall template , simply install new one and the files will be upgraded to latest 1.0.6 version ,
/* 1.0.6 Changelog */
- yjsg-pagination clear both bug
- category unclosed a tag fix /*thnx Duke40*/
- column width fix for case left and right
Manual fixes :
1. yjsg-pagination clear both bug
Open , site_name/templates/yougrids/css/newsitems.css file
line 190
Code:
div.yjsg-pagination {
text-align: center;
}
change to :
Code:
div.yjsg-pagination {
text-align: center;
clear:both;
}
2.category unclosed a tag fix
open following files
site_name/templates/yougrids/html/com_content/article/default.php
line#89
site_name/templates/yougrids/html/com_content/category/default.php
line#80
site_name/templates/yougrids/html/com_content/frontpage/default_item/php
line#86
change :
Code:
<?php if ($this->item->params->get('link_section')) : ?>
to:
Code:
<?php if ($this->params->get('link_category')) : ?>
3.column width fix for case left and right
open
yjsgcore/yjsg_mgwidths.php
line #45
Code:
$midblock = $maincolumn + $leftcolumn+ $insetcolumn.$widthdefined;
replace with
Code:
$midblock = $maincolumn + $rightcolumn + $insetcolumn.$widthdefined;
line #50
Code:
$midblock = $maincolumn + $rightcolumn+ $insetcolumn.$widthdefined;
with this
Code:
$midblock = $maincolumn + $leftcolumn + $insetcolumn.$widthdefined;
yjsgcore/yjsg_mgwidthsitem.php
replace
line 43
Code:
$midblock = $maincolumn_itmid + $leftcolumn_itmid + $insetcolumn_itmid.$widthdefined_itmid;
with this:
Code:
$midblock = $maincolumn_itmid + $rightcolumn_itmid + $insetcolumn_itmid.$widthdefined_itmid;
line 48
Code:
$midblock = $maincolumn_itmid + $rightcolumn_itmid + $insetcolumn_itmid.$widthdefined_itmid;
with this:
Code:
$midblock = $maincolumn_itmid + $leftcolumn_itmid + $insetcolumn_itmid.$widthdefined_itmid;