Skip to main content

Error when translating a category

More
13 years 10 months ago #75140 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

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

More
13 years 10 months ago #75218 by Xavier
Hi,

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.

More
13 years 10 months ago #75230 by cmlux
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

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

More
13 years 10 months ago #75264 by Xavier
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.201 seconds
Powered by Kunena Forum