Welcome Guest, Not a member yet? Register   Sign In
Problem with parser
#10

(09-01-2018, 07:44 AM)ciadmin Wrote: The template parser is not recursive. You will have to use it once to substitute for site_name, and then again for tha main template, for instance something like...

Code:
$data = ...;
$data['seo_book_title'] = $this->parser->parse($SeoBooks->title,$data,true);
$this->parser->parse(('template/default/libreria_head', $data);

It's still not working. I don't know how to get out of this, I'm thinking of having 2 different views and directly pass the values of parse hay, so as not to have to save anything in the database, Since I think it'll be easier and this is taking up a lot of my time.

Thanks to all for the help.
Reply


Messages In This Thread
Problem with parser - by Decibel150 - 08-31-2018, 08:11 AM
RE: Problem with parser - by Pertti - 08-31-2018, 08:57 AM
RE: Problem with parser - by Decibel150 - 08-31-2018, 09:50 AM
RE: Problem with parser - by ciadmin - 08-31-2018, 10:51 AM
RE: Problem with parser - by Decibel150 - 08-31-2018, 12:53 PM
RE: Problem with parser - by ciadmin - 08-31-2018, 03:03 PM
RE: Problem with parser - by John_Betong - 08-31-2018, 08:42 PM
RE: Problem with parser - by Decibel150 - 09-01-2018, 07:09 AM
RE: Problem with parser - by ciadmin - 09-01-2018, 07:44 AM
RE: Problem with parser - by Decibel150 - 09-01-2018, 08:41 AM
RE: Problem with parser - by John_Betong - 09-01-2018, 11:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB