- Posts: 13
- Thank you received: 2
Error when translating a category
13 years 10 months ago #75140
by cmlux
Error when translating a category was created by cmlux
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
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.
13 years 10 months ago #75218
by Xavier
Replied by Xavier on topic Re: Error when translating a category
Hi,
How do you add a translation ? just using the text "HIKASHOP_HELP" ?
To add a text you have to write:
How do you add a translation ? just using the text "HIKASHOP_HELP" ?
To add a text you have to write:
Code:
<?php echo JText::_('HIKASHOP_HELP'); ?>
Please Log in or Create an account to join the conversation.
13 years 10 months ago #75230
by cmlux
Replied by cmlux on topic Re: Error when translating a category
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
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
Please Log in or Create an account to join the conversation.
13 years 10 months ago #75264
by Xavier
Replied by Xavier on topic Re: Error when translating a category
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');".
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.201 seconds