I need to modify button labels

  • Posts: 88
  • Thank you received: 0
8 years 2 weeks ago #254971

-- url of the page with the problem -- :

This message contains confidential information

-- HikaShop version -- : 2.6.4
-- Error-message(debug-mod must be tuned on) -- : NA

Hello,

I need to modify two button labels :
1.- Add new address

2.- continue shopping


What files do I need to modify ?

Thanks in advance for your help and advise,
Best regards,
Stéphane

Attachments:
Last edit: 8 years 2 weeks ago by Jerome.

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 2 weeks ago #254976

Hi,

1. As this is a generic text, and you don't want to change the "new" text everywhere in HikaShop, you'll have to edit the file "address_select" via the menu Display>Views and replace the code:

<?php echo JText::_('HIKA_NEW'); ?>
by your text.

2. This is an easy one as you can use the standard translation override system of HikaShop to change that text, like any other text in the HikaShop interface:
www.hikashop.com/download/languages.html#modify

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

  • Posts: 88
  • Thank you received: 0
8 years 2 weeks ago #255050

Hi Nicolas,

This message contains confidential information


I have tried your solution in replacing the php string by my own text having then :
<a href="....>Nouvelle adresse</a>

"Nouvelle adresse" replacing the php variable, but it does not work.:(

The whole address block disappears...:( when I save the changes the edit windows is totally empty... normal ?
When I reset it to the original, it works again but with the "nouveau" button..

What am I doing wrong ?
thanks for your help and advise

Last edit: 8 years 2 weeks ago by Jerome. Reason: removing credentials

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 2 weeks ago #255088

Hi,

Then you likely have a problem with your hosting server blocking the saving of the view override as a false positive for security reason.
You could instead do the view override through the Joomla template manager:
docs.joomla.org/J3.x:How_to_use_the_Temp...r#Customisation_View

The following user(s) said Thank You: steph3838

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

  • Posts: 88
  • Thank you received: 0
8 years 1 week ago #255221

nicolas wrote: Hi,

Then you likely have a problem with your hosting server blocking the saving of the view override as a false positive for security reason.
You could instead do the view override through the Joomla template manager:
docs.joomla.org/J3.x:How_to_use_the_Temp...r#Customisation_View


Nicolas you were right !
A Siteground protection plugin was the faulty one : jHackguard

Just disabled it and all is fine !
Thanks a lot !
Best regards
Stéphane

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

Time to create page: 0.063 seconds
Powered by Kunena Forum