Welcome Guest, Not a member yet? Register   Sign In
Language Class problem
#1

[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>
    &lt;?php echo $this->lang->line('bascet_name');   ?&gt;
</strong>
<br />
&lt;?php //  echo $carttotal."<br>";
if ($cartitems==0) {   echo $this->lang->line('bascet_empty');  }
else {
echo "$cartitems ".$this->lang->line('bascet_pr').", ".$carttotal."€";
}
?&gt;<br />
&lt;?php echo anchor("glasses/cardShow",$this->lang->line('bascet_view')); ?&gt;
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?


Messages In This Thread
Language Class problem - by El Forum - 12-17-2008, 05:37 AM
Language Class problem - by El Forum - 12-17-2008, 05:45 AM
Language Class problem - by El Forum - 12-18-2008, 07:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB