Welcome Guest, Not a member yet? Register   Sign In
Question about the template logic (Phil's template library)
#3

[eluser]clip[/eluser]
Ive not personally used this library but I think this will work based on what I have read about it. You can try something like this:

Code:
//in your controller set the variable
$this->data['nav_menu'] = $this->my_model->get_stuff_from_db();

//in your partial template add your variable
{nav_menu}
//the library might use a $
{$nav_menu}

Link I said, I "think" this will work but I'm not 100% sure. Just thought I would throw you a bone.


Messages In This Thread
Question about the template logic (Phil's template library) - by El Forum - 07-30-2010, 08:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB