Only the first two categories show up in one row 7 Months, 3 Weeks ago
Karma: 0
Ok, so this is officially my first bug report ever. Please forgive if it's not done correctly.
I installed the component and found that it worked but it was not displaying the categories in successive columns like this:
Category A - Category B
Category C - Category D
Category E - Category F
Instead it was doing this:
Category A - Category B
Category C -
Category D -
Category E -
Category F -
So I figured it out, here's the code:
lines 81 - 84 in views/shortlook/tmpl/default.php
if(($currentcolumn >= $ar_no_of_columns)||($col==$no_of_collections-1)){
echo "</tr>";
$currentcolumn = 0; // THIS IS WHAT I ADDED TO MAKE IT WORK
}
Basically without that after in there, when $currentcolumn reaches the number of columns set in the component parameters it just keeps going each successive iteration through the main for loop. So the </tr> is printed each time after and all collections are put into their own row.
Re:Only the first two categories show up in one row 7 Months, 3 Weeks ago
Karma: 0
Actually that's what I did do. It's in the first post.
I noticed another issue. I don't think the "Show Article Count" is working, i just need a quick fix so just removed it from line 55. Would be cool if that worked.
Thanks for such quick responses. Love the component.