- Posts: 377
- Thank you received: 7
Logo image won't upload or show
12 years 6 months ago #148798
by Dibben
Replied by Dibben on topic Logo image won't upload or show
Hi Jerome,
That's the one!
Kind regards
That's the one!
Kind regards
Please Log in or Create an account to join the conversation.
12 years 3 months ago #161090
by Dibben
Replied by Dibben on topic Logo image won't upload or show
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
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.
12 years 3 months ago #161107
by Jerome
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.
Replied by Jerome on topic Logo image won't upload or show
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,
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.
12 years 3 months ago #161116
by Dibben
Replied by Dibben on topic Logo image won't upload or show
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
Thanks
Alex
Please Log in or Create an account to join the conversation.
12 years 3 months ago #161125
by Jerome
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.
Replied by Jerome on topic Logo image won't upload or show
Hi,
In the file "administrator/components/com_hikamarket/classes/vendor.php", please replace in the function "frontSaveForm":
By:
It will fix the problem with the classical file custom field.
Regards,
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);
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);
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.
12 years 3 months ago #161608
by Dibben
Replied by Dibben on topic Logo image won't upload or show
This works great thanks.
Let me know one day when we can use two ajax fields as they look much slicker.
Kind regards
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.
12 years 3 months ago #161609
by Jerome
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.
Replied by Jerome on topic Logo image won't upload or show
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,
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