Youjoomla Support Forums (http://www.youjoomla.com/joomla_support/index.php)
-   YouGrids (http://www.youjoomla.com/joomla_support/forumdisplay.php?f=171)
-   -   YouGrids template small bug fixes , current version 1.0.6 (http://www.youjoomla.com/joomla_support/showthread.php?t=6832)

neo 09-21-2010 12:51 PM

YouGrids template small bug fixes , current version 1.0.6
 
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 */
  1. yjsg-pagination clear both bug
  2. category unclosed a tag fix /*thnx Duke40*/
  3. 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;


All times are GMT -4. The time now is 09:55 PM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.