[eluser]dimis[/eluser]
I have a multilanguage site and I make use of Language Class.
So I have a subview and I have to write some $lang[] variables.
So ia have this code.
Code:
<strong>
<?php echo $this->lang->line('bascet_name'); ?>
</strong>
<br />
<?php // echo $carttotal."<br>";
if ($cartitems==0) { echo $this->lang->line('bascet_empty'); }
else {
echo "$cartitems ".$this->lang->line('bascet_pr').", ".$carttotal."€";
}
?><br />
<?php echo anchor("glasses/cardShow",$this->lang->line('bascet_view')); ?>
My problem is that The lang variables are not there!I use the some code also at other subviews and all is ok.
I have done a my_controller and this view appears at my_controller contructor but also I have there the footer view with some other lang variables but there all is ok.
What is wrong?