Hell, I tried to echo new Varible to opencart footer.tpl at my template but fail. I did the following: 1.insert text_facebook into catalog/controller/common/footer.php after:
$this->data['text_newsletter'] = $this->language->get('text_newsletter');
like this:
$this->data['text_facebook'] = $this->language->get('facebook');
and added same line for Arabic lang.
2.Added the the:
$_['text_facebook'] = 'facebook';
before end of file:
/catalog/language/english/common/footer.php
3.print out put to user like this:
<li><a href="https://www.facebook.com/muhamedauda"><?php echo $text_facebook; ?></a> <span class="facebook-icon"></span> </li>
I get only : facebook echoed to user(web page). how can i echo text i defined it into language file?
thanks for your help