Hi Guys.
I would like to use a language string in the promo so i could use my languages and of course to put the promo html in the different language
How do i do that.. i mean the html syntex?
Tnx
/Yaya
Hi Guys. I would like to use a language string in the promo so i could use my languages and of course to put the promo html in the different language How do i do that.. i mean the html syntex?
Tnx /Yaya |
Use custom HTML block with language string Open file inc/design.inc.php and find -> function getPromoCode() and this line: if( getParam( 'enable_flash_promo' ) != 'on' ) $sCode = '' . getParam( 'custom_promo_code' ) . '';
chang it to: if( getParam( 'enable_flash_promo' ) != 'on' ) //$sCode = '' . getParam( 'custom_promo_code' ) . ''; $sCode = ''._t( '_my_promo_code').''; Add a new language streng with name: _my_promo_code (On Category I used System) |
Tnx for your reply. i did that.. not working .. it is showing the string. Just to make sure i will tell you what i did:
Not working. Now what? Tnx for your help |
I think there is a error in the code provided for inc/design.inc.php. Maybe depends on dolphin version. $sCode = '<div class="promo_code_wrapper">' . _t( '_my_promo_code') . '</div>';
https://www.deanbassett.com |