Skip to main content

Plugin names showing at top of payment and shipping pages on Vendor frontend

6 years 4 months ago #321932 by DogPeople
-- HikaShop version -- : 4.3.0
-- HikaMarket version -- : 3.1.0
-- Joomla version -- : 3.9.19

Hi,

Just started setting this up, but when I login and look at the frontend vendor dashboard, the names of the plugins are showing as headers above the options when you open them up.

See example attached.

How do I fix this before the site goes live? Looks REALLY crappy!

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

6 years 4 months ago #321968 by Jerome
Hello,

In the view "pluginmarket / form", please replace
Code:
<h1><?php echo JText::_('HIKA_PLUGIN') . JText::_('PLG_HIKASHOP'.strtoupper($this->type).'_'.strtoupper($this->name)); ?></h1>
By
Code:
<h1><?php echo JText::_('HIKA_PLUGIN'); $key = 'PLG_HIKASHOP'.strtoupper($this->type).'_'.strtoupper($this->name); if(JText::_($key) != $key) echo JText::_($key); else echo $this->name; ?></h1>
It will allow you to have specific translations for the plugin ; but it will fallback on the plugin default name if there is no translation.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

6 years 4 months ago #321972 by DogPeople
Thank you. That worked. Please see my new queries.

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

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