Parsing various .htm templates at once

Discussion in 'Developers' Forum' started by danf.1979, May 24, 2007.

  1. danf.1979

    danf.1979 Member

    Hi, is there any way to parse various .html template files at once?
    This just doesn't work
    Code:
    $go_api->content->define(array(
      "main" => "main.htm",
      "table1" => "template1.htm",
      "table2" => "template2.htm",
    ));
    
    $go_api->content->parse("MAIN", array("table1","table2","main"));
    $go_api->content->FastPrint();
    
    That code only shows table2.htm in main.htm. table1 is lost. Any way to accomplish this?

    I would like this result:

    Code:
    <main>
      <table1>
      <table2>
    </main>
    
     
    Last edited: May 24, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    As far as I know, the templating library used in ISPConfig does not support this.
     

Share This Page