4images Help / Hilfe > Bug Fixes & Patches
[1.7] Subcategories columns not shown proportionaly
V@no:
If your subcategories shown something like this:
Then remove from includes/functions.php this block of code:
--- Code: --- if ($total <= $table_columns && $table_columns > 1) {
$table_rows = 1;
}
else {
$table_rows = $total / $table_columns;
if ($total >= $table_columns && !is_integer($table_rows)) {
$table_rows = intval($table_rows) + 1;
}
}
--- End code ---
MAKE SURE U DIDNT LEAVE OR REMOVE ANY EXTRA BRACKETS!
agasonex:
Thanks, works perfectly. ^_^
JensF:
When i do this i canīt change the categories cells in the settings......
I change it to 3 but it listed the categories as 1
V@no:
I see no problem on your gallery...
salimiali:
sorry, this number: 1 2 3 4 5 6 7 8 9 ... on subcategori is ID of Categories?
for example:
before:
AFJ (ID:10)
CMN (ID:5)
PZK (ID:1)
after:
PZK (ID:1)
CMN (ID:5)
AFJ (ID:10)
yes? run like this?
Navigation
[0] Message Index
[#] Next page
Go to full version