Welcome Guest, Not a member yet? Register   Sign In
Templated printed twice
#2

[eluser]Colin Williams[/eluser]
You are consistently sending $this->parser->parse() a FOURTH parameter of TRUE. It's the THIRD parameter that needs to be TRUE (as in, === TRUE). It looks like you are trying to send a $data array second and another array of data third. You need to combine $data and $this->cond. Actually, in your constructor just do $this->load->vars($this->cond) and then you don't need to pass it to every parse method (unless this is only true for regular views. I'm not super knowledgeable in regards to the Template Parser class).


Messages In This Thread
Templated printed twice - by El Forum - 07-25-2009, 07:10 PM
Templated printed twice - by El Forum - 07-25-2009, 08:23 PM
Templated printed twice - by El Forum - 07-26-2009, 05:00 AM
Templated printed twice - by El Forum - 07-26-2009, 12:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB