Yes/No button do not work in front

  • Posts: 49
  • Thank you received: 0
9 years 7 months ago #202378

-- HikaShop version -- : 2.4.0
-- HikaMarket version -- : 1.6.2
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.5.9
-- Error-message(debug-mod must be tuned on) -- : Yes/No button do not work and the calendar displays wrong word in front

Hi

The Yes/No button do not work in front, It just look like a image.

and the calendar displays wrong word in front,





but they all work good in backend

Attachments:
Last edit: 9 years 7 months ago by likunzhou.

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
9 years 7 months ago #202422

Hi,

With just an image I won't be able to help you.
About the calendar, it looks like you have something wrong in your translations, the Joomla "html behavior" translations file might be broken, incompleted or not loaded correctly.

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.

  • Posts: 49
  • Thank you received: 0
9 years 7 months ago #202450

Hi,
If it's due to the broken file or some load wrongly, why they all works well in the back-end? They are using the same translation files right?
here is the test Id of a vendor, please help me solve the issue.

credentials removed

you will see the issue what I said
thank you~
Regards,

Last edit: 9 years 7 months ago by Jerome.

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
9 years 7 months ago #202466

Hi,

Your template is "bootstrap 3" and not "bootstrap 2", so the "yes/no" buttons are not working properly because there is an issue with the bootstrap 3 javascript.
So the best will be to deactivate the "bootstrap design" in your HikaShop configuration.

About the calendar ; please check that your "lib_joomla.ini" is loaded and completed ; you can use the "debug language" setting in your global Joomla configuration to have more details.
Here the original Joomla lib language file where you can find the translations :
github.com/joomla/joomla-cms/blob/stagin....lib_joomla.ini#L366

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.
Last edit: 9 years 7 months ago by Jerome.

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

  • Posts: 49
  • Thank you received: 0
9 years 7 months ago #202520

Hi,

I found that the lib_joomla.ini did not be loaded in front, however It works well in my local test server before.
I don't know what happened here and how to fix it.
How could let the lib_joomla.ini language file auto load with the page?

thank you~

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
9 years 7 months ago #202549

Hi,

So the best will be to force the loading of the lib_joomla language file
www.hikashop.com/forum/checkout/870639-l...-problem.html#169046

In your case, you can see to add the two lines

$language = JFactory::getLanguage();
$language->load('lib_joomla', JPATH_SITE);
directly in the hikamarket.php file (near the beginning).
But the problem is not related to HikaShop or HikaMarket ; that language file should be loaded by Joomla itself.
So if you have further issue with the loading of that language file, I recommend you to use the Joomla support forum in order to know more about the language loading 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.

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