PDA

View Full Version : MamCom: New images for cat en subcat


Xirtam
12.05.2004, 14:30
How do I install new other images for the gategories and subcategories?
I uploaded some into components/com_trade/images but they don't appear in the administration area.

When I try to edit a category or suc category I get an error and pics are not shown
Error:
Warning: array_pop(): The argument should be an array in /home/ummagumma/www/www/administrator/components/com_catalog/admin.catalog.php on line 195


Line 195 shows:
Code:
$cat_id = array_pop($_POST['cat_list']);

sokratex
22.05.2004, 13:35
I am not sure but if you upload new category images directly to the image folder - compnents/com_trade/images then you shold only need to write down the image name i.e image.gif and it should show.

Also remeber that image settings in the mamcom backend will override hight and width of the image.

the errors that occurs should be avoided by first clicking the folder image and then subfolder image instead of selecting the checkbox and click edit.

Hope this helps.. Might be smart to post this at mamcom.org