Skip to main content

Logo image won't upload or show

More
12 years 6 months ago #148798 by Dibben
Hi Jerome,

That's the one!

Kind regards

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #161090 by Dibben
Hi Jerome,

A small bug has shown up on this one, for some reason I have been in Vendors Control Panel as a Vendor. I added the Logo and the main vendor image. When I delete the main vendor image, the logo image also gets deleted. I have attached a screen shot to show you the two affected fields. They will both upload and show just fine it is only on deletion of the vendor image that the logo image also gets removed.

Thanks

Alex

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #161107 by Jerome
Hi,

In fact, that is not the real problem.
You can just re-save the vendor and the classical upload custom field won't keep the value.
Changing/removing the vendor image is not the trigger of the problem.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #161116 by Dibben
I would use the ajax image upload but the last time we did that the ajax wouldnt actually upload the image at all... Would you recommend a better combination you know of?

Thanks
Alex

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #161125 by Jerome
Hi,

In the file "administrator/components/com_hikamarket/classes/vendor.php", please replace in the function "frontSaveForm":
Code:
$status = true; $oldVendor = null; $fieldsClass = hikamarket::get('shop.class.field'); $vendor = $fieldsClass->getInput(array('vendor','plg.hikamarket.vendor'), $oldVendor);
By:
Code:
$fieldsClass = hikamarket::get('shop.class.field'); $vendorClass = hikamarket::get('class.vendor'); $status = true; $oldVendor = $vendorClass->get($vendor_id); $vendor = $fieldsClass->getInput(array('vendor','plg.hikamarket.vendor'), $oldVendor);
It will fix the problem with the classical file custom field.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: Dibben

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #161608 by Dibben
This works great thanks.

Let me know one day when we can use two ajax fields as they look much slicker.

Kind regards

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #161609 by Jerome
Hi,

The ajax upload fields should work quite better now in HikaMarket+HikaShop.
I know that I made some recent modifications in order to manage new cases (that I didn't imagined when I implemented the ajax custom fields).

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.205 seconds
Powered by Kunena Forum