-
AuthorPosts
-
xiondesigns Friend
xiondesigns
- Join date:
- May 2010
- Posts:
- 70
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
June 14, 2010 at 4:20 pm #151788Hi, im creating a new website here:
http://www.iguazuviajes.com/15/Its a modified version from Ja Norite.
In internal pages like:
http://www.iguazuviajes.com/15/index.php?option=com_zoo&task=item&item_id=1The right column goes down. I have modified the layout to add those rounded backgrounds but i see the difference beetween frontpage and internal pages is this:
In frontpage:
In internal pages:
I mean, the ja-right goes inside another div, And this happens in most of the template. could it be something i have modified?.
Thanks
xiondesigns Friendxiondesigns
- Join date:
- May 2010
- Posts:
- 70
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
June 14, 2010 at 5:58 pm #347025SOLVED.
I was just forgetting to start a div inside the PHP IF condition.. so if there where no modules published that starting div was braking the whole website.
Thanks anyway xD
riteshdalal Friendriteshdalal
- Join date:
- March 2007
- Posts:
- 4
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 3 times in 3 posts
xiondesigns Friendxiondesigns
- Join date:
- May 2010
- Posts:
- 70
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
June 14, 2010 at 9:41 pm #347035That was another problem i had!… thanks đŸ˜€
June 15, 2010 at 8:24 am #347100specificlly in regard of K2 category – what DIV should I add and where to add it to???
xiondesigns Friendxiondesigns
- Join date:
- May 2010
- Posts:
- 70
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
June 15, 2010 at 11:07 am #347124<em>@riteshdalal 182796 wrote:</em><blockquote>This also happens when a K2 category is supposed to show 2 columns but has an odd number of items to go in that layout</blockquote>
If you discover how yo solve this, please post it.
I had that problem on some websites, but now i have a similar problem on two categories:
http://www.jpfeinmann.com/?option=com_k2&view=itemlist&task=category&id=29:2008&Itemid=10
http://www.jpfeinmann.com/?option=com_k2&view=itemlist&task=category&id=30:2009&Itemid=10The footer gets broken.
riteshdalal Friendriteshdalal
- Join date:
- March 2007
- Posts:
- 4
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 3 times in 3 posts
June 15, 2010 at 4:39 pm #347143So the issue is in the category.php file under /templates/ja_norite/html/com_k2/category.php
On line 146
<?php if(($key+1)%($this->params->get(‘num_leading_columns’))==0): ?>On line 171
<?php if(($key+1)%($this->params->get(‘num_primary_columns’))==0): ?>On line 196
<?php if(($key+1)%($this->params->get(‘num_secondary_columns’))==0): ?>These if conditions are not satisfied when the number of articles is not an exact multiple of the number of columns
The fix would be to add a check to see if we have iterated through all the items already by adding a check as follows
On line 146
<?php if(($key+1)%($this->params->get(‘num_leading_columns’))==0 || ($key+1)==count($this->leading)): ?>On line 171
<?php if(($key+1)%($this->params->get(‘num_primary_columns’))==0 || ($key+1)==count($this->primary)): ?>On line 196
<?php if(($key+1)%($this->params->get(‘num_secondary_columns’))==0 || ($key+1)==count($this->secondary)): ?>2 users say Thank You to riteshdalal for this useful post
David Porré FriendDavid Porré
- Join date:
- September 2014
- Posts:
- 194
- Downloads:
- 44
- Uploads:
- 5
- Thanks:
- 23
- Thanked:
- 9 times in 1 posts
June 29, 2010 at 10:54 am #348391Hello riteshdalal,
Thanks for your fix, works perfectly ! ;p
Best regards,
David aka ShapesPeter Konstantakos FriendPeter Konstantakos
- Join date:
- September 2014
- Posts:
- 108
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 10
- Thanked:
- 6 times in 1 posts
October 7, 2010 at 5:07 pm #358088Great fix dude. I would have never figured that out. Is this issue addressed in the template upgrade?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 8, 2010 at 6:57 am #358159<em>@Konstantakos 197361 wrote:</em><blockquote>Great fix dude. I would have never figured that out. Is this issue addressed in the template upgrade?</blockquote>
Please try to check again, the problem is fixed, because i have checked this, i could not found the issue as you mentioned đŸ™‚ -
AuthorPosts
This topic contains 10 replies, has 6 voices, and was last updated by Saguaros 14 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum