Error when translating a category

  • Posts: 13
  • Thank you received: 2
9 years 7 months ago #75140

Hi,

when I want to add a Translation to a category, I get the following errors:

Warning: constant(): Couldn't find constant HIKASHOP_HELP in /var/www/vhosts/print.lu/httpdocs/new/administrator/components/com_hikashop/helpers/helper.php on line 852

Fatal error: Call to a member function startPane() on a non-object in /var/www/vhosts/print.lu/httpdocs/new/administrator/components/com_hikashop/views/category/tmpl/edit_translation.php on line 19

Translations of products still works.

Thank you in advanced
With best Regards
Claude Mangen

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

  • Posts: 13201
  • Thank you received: 2320
  • Hikashop Business
9 years 7 months ago #75218

Hi,

How do you add a translation ? just using the text "HIKASHOP_HELP" ?

To add a text you have to write:

<?php echo JText::_('HIKASHOP_HELP'); ?>

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

  • Posts: 13
  • Thank you received: 2
9 years 7 months ago #75230

Hi,

I add translation of a category in the shop administration page with Falang. Sorry, I do not understand exactly where I should add this.

(I go to Components -> HikaShop -> Categories -> chose my category -> click on the flag -> then the error eppear)

With best Regards
Claude Mangen

Attachments:

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

  • Posts: 13201
  • Thank you received: 2320
  • Hikashop Business
9 years 7 months ago #75264

Hi,

Thanks for the report, we have corrected it on our end.
You can edit the file "administrator/components/com_hikashop/views/category/view.html.php" and change "$tabs = hikashop_get('help.tabs');" to "$tabs = hikashop_get('helper.tabs');".

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

Time to create page: 0.072 seconds
Powered by Kunena Forum