Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • angie00 Friend
    #187932

    We are getting a Warning: Division by zero in (template)plugins/system/jat3/jat3/core/template.php on line 1117.

    Here is the code from this line:
    [PHP]$this->_colwidth[‘i2’] = round($i2 * 100 / $m, 2);[/PHP]

    Right now we are on just a local host.

    HeR0 Friend
    #494654

    Hi Angie,

    Did you set width of Left and Right colum is 50% or LEFT+RIGHT = 100% in the xml layout file ? If yes, please reduce value to resolve that issue.

    Regards

    angie00 Friend
    #494719

    Thanks for your reply Hero. Is this the .xml you are speaking of? And how do I modify it if so?

    <blocks name=”middle” colwidth=”25″>
    <block name=”content-mass-top”>content-mass-top</block><block name=”left-mass-top”>position-1</block><block name=”left1″>position-2</block><block name=”left2″>position-3</block><block name=”left-mass-bottom”>position-4</block>
    <block name=”right-mass-top”>position-6</block>
    <block name=”right1″>position-7</block>
    <block name=”right2″>position-5</block>
    <block name=”right-mass-bottom”>position-8</block>
    </blocks>

    HeR0 Friend
    #494792

    Hi Angie,

    Please try remove left2 and right2 block as the below

    <blocks name="middle" colwidth="25">
    <block name="content-mass-top">content-mass-top</block>
    <block name="left-mass-top">position-1</block>
    <block name="left1">position-2</block>
    <block name="left-mass-bottom">position-4</block>
    <block name="right-mass-top">position-6</block>
    <block name="right1">position-7</block>
    <block name="right-mass-bottom">position-8</block>
    </blocks>

    If the issue persists. PM me super admin account for further checking.

    angie00 Friend
    #494873

    Thank you for your quick response Hero. One question, we cannot have option of 2 columns on right or left?

    HeR0 Friend
    #494935

    Hi,

    You could reference with JA Teline template http://joomla25-templates.joomlart.com/ja_teline_iv/?tp=1

    <blocks name="middle" main-inner="1" colwidth="17">
    <block name="content-top" style="raw">content-top</block>
    <block name="content-bottom" style="raw">content-bot</block>
    <block name="content-mass-top" style="raw" type="tabs">ja-news-1,ja-news-2,ja-news-3</block>
    <block name="content-mass-bottom">content-mass-bot</block>
    <block name="right-mass-top">col-mass-top</block>
    <block name="right-mass-bottom">col-mass-bot</block>
    <block name="inset1">left</block>
    <block name="right1">right1</block>
    <block name="right2">right2</block>
    </blocks>

    If you want to display 2 columns in LEFT and RIGHT block, please note that the width should not be 25 (%), it should be smaller.
    Please look the document to get more http://wiki.joomlart.com/wiki/JA_T3_Framework_2/Guides#Layouts
    Regards

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  HeR0 11 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum