Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2012, 03:29 PM
Humaniversity's Avatar
Humaniversity Humaniversity is offline
 
Join Date: Jan 2012
Posts: 40
Default Changing text in RokEcwid

I see in the documentation how to change the text file, but how do I do this when I use RokEcwid for Joomla?

RokEcwid doesn't place a language file in Joomla, and I don't see I have access to the Ecwid integration code where I can add a JavaScript code with the updated labels.
Reply With Quote
  #2  
Old 02-22-2012, 05:26 AM
Matt K's Avatar
Matt K Matt K is offline
Ecwid Team
 
Join Date: Oct 2011
Posts: 4,878
Default

Quote:
Originally Posted by Humaniversity View Post
I see in the documentation how to change the text file, but how do I do this when I use RokEcwid for Joomla?

RokEcwid doesn't place a language file in Joomla, and I don't see I have access to the Ecwid integration code where I can add a JavaScript code with the updated labels.
Hello,

Please refer to this article:
http://kb.ecwid.com/w/page/22978888/...

It says:
How do I apply a custom translation in Joomla?
Ecwid allows for custom changes to the built-in translations by using a special piece of JavaScript in the source code of your shop page, as described above. If you embed Ecwid manually, by copying and pasting the code from the Dashboard page of your Ecwid control panel to the HTML source of your page, then the translation code needs to be inserted likewise into the HTML source code of that same page.

However, when you use a plugin to embed Ecwid into Joomla, you cannot just edit the source code of your shop page, because it is fully generated by the plugin and the template of your Joomla. In this case you need to put the custom translation code into a new 'Custom HTML' module in your Joomla and then publish that module in any position on the shop page or even on all pages of the site (it will not harm anything). This way the custom translation code will get into the shop page source code and your custom labels will work.
__________________
Matt K
Ecwid Team

Ecwid Guide for Beginners

Ecwid Help Center

Ecwid video tutorials
Reply With Quote
  #3  
Old 02-22-2012, 07:02 AM
Humaniversity's Avatar
Humaniversity Humaniversity is offline
 
Join Date: Jan 2012
Posts: 40
Default

Wow, sweet workaround

Thanks a lot!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:28 AM.
Powered by vBulletin® Version 3.8.6. Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.