-
AuthorPosts
-
angie00 Friend
angie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
June 3, 2013 at 12:58 pm #187932We 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 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
June 4, 2013 at 4:01 am #494654Hi 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 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
June 4, 2013 at 3:46 pm #494719Thanks 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 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
June 5, 2013 at 4:44 am #494792Hi 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 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
June 5, 2013 at 2:17 pm #494873Thank you for your quick response Hero. One question, we cannot have option of 2 columns on right or left?
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
June 6, 2013 at 2:12 am #494935Hi,
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
Regards1 user says Thank You to HeR0 for this useful post
-
AuthorPosts
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