Welcome Guest, Not a member yet? Register   Sign In
need help in template parser
#1

[eluser]Mistry007[/eluser]
hi i am using this library
Template Parser

I have implemented it. but some how my if condition in template file is not working.

here are my code of controller

Code:
$viewdata = array(
       'lang_data' => $this->lang->language,
     'permission' => $permission
        );
        $this->parser->append('viewdata',$viewdata);
$this->parser->parse('adduser');

and here are my view code

Code:
<div class="grid-title">
{viewdata:lang_data->Manage_user}
</div>
<div class="custom-grid-btn-wrapper">
&lt;!-- IF viewdata:permission --&gt;
{viewdata:permission}
&lt;!-- END --&gt;
</div>
but my if condition is not working.
any help will be appreciated
Thanks

#2

[eluser]Tominator[/eluser]
This problem has been solved. For everybody, please wait for next update, or write to helpdesk for newer (beta) version.
#3

[eluser]Mistry007[/eluser]
Thanks for update... but can you tell me how much time it will take to sloved. If possible provide me latest version of this library.
Thanks.
#4

[eluser]Tominator[/eluser]
Well, I don't understand you Smile I have send you the latest version, that is solving this problem.




Theme © iAndrew 2016 - Forum software by © MyBB