4images Forum & Community
4images Help / Hilfe => Bug Fixes & Patches => Topic started by: V@no on March 12, 2005, 10:48:09 PM
-
If your subcategories shown something like this:
(http://img156.exs.cx/img156/1851/subcat26eq.gif)
Then remove from includes/functions.php this block of 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;
}
}
MAKE SURE U DIDNT LEAVE OR REMOVE ANY EXTRA BRACKETS!
-
Thanks, works perfectly. ^_^
-
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
-
I see no problem on your gallery...
-
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?
-
the category IDs have nothing to do with this issue.