Welcome Guest, Not a member yet? Register   Sign In
2 templates are interfering
#1

(This post was last modified: 07-31-2020, 06:31 AM by richb201.)

I have used ci_synchronicity for a few years on my web app and it works well. I am now using AmazingTemplate which is part of Koolreport and there seems to be a "collision" between the two templates. This is how I am trying to get them both to appear in the same html page:
public function report_generator_amazing()
{
    $this->output->set_template('amazing');   <<this is for amazing
    $this->output->set_template('default2');    <<this is synchronicity

  $report= new MyDashboard;
  $report->run()->render();
}

 This causes both the banner from synchronicity and the dashboard icons from amazing to not appear correctly.  I use xdebug pretty extensively. I'd like to create an extra template called default2_amazing that plays nicely with Amazing. 

I know nothing about templates.  Is there any document which describes how templates work?
proof that an old dog can learn new tricks
Reply


Messages In This Thread
2 templates are interfering - by richb201 - 07-31-2020, 06:29 AM
RE: 2 templates are interfering - by InsiteFX - 07-31-2020, 08:31 AM
RE: 2 templates are interfering - by richb201 - 07-31-2020, 08:52 AM
RE: 2 templates are interfering - by richb201 - 07-31-2020, 02:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB