- Posts: 324
- Thank you received: 4
Plugin names showing at top of payment and shipping pages on Vendor frontend
6 years 4 months ago #321932
by DogPeople
Plugin names showing at top of payment and shipping pages on Vendor frontend was created 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!
-- 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
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Plugin names showing at top of payment and shipping pages on Vendor frontend
Hello,
In the view "pluginmarket / form", please replace
By
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,
In the view "pluginmarket / form", please replace
Code:
<h1><?php echo JText::_('HIKA_PLUGIN') . JText::_('PLG_HIKASHOP'.strtoupper($this->type).'_'.strtoupper($this->name)); ?></h1>
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>
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
Replied by DogPeople on topic Plugin names showing at top of payment and shipping pages on Vendor frontend
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