Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th May 2007, 03:49
danf.1979 danf.1979 is offline
Senior Member
 
Join Date: Dec 2005
Location: Chile
Posts: 247
Thanks: 4
Thanked 3 Times in 2 Posts
Send a message via MSN to danf.1979
Default Parsing various .htm templates at once

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 by danf.1979; 24th May 2007 at 03:55.
Reply With Quote
Sponsored Links
  #2  
Old 24th May 2007, 09:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,757
Thanks: 840
Thanked 5,603 Times in 4,414 Posts
 
Default

As far as I know, the templating library used in ISPConfig does not support this.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18
Modified templates saved on upgrade rbartz Feature Requests 0 2nd May 2007 11:39
Templates or Skel For ISPConfig asyadiqin Installation/Configuration 2 4th August 2006 22:16
parse php with .htm extension simplyworks Installation/Configuration 7 14th July 2006 12:42
Config file templates till Developers' Forum 0 31st July 2005 00:10


All times are GMT +2. The time now is 03:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.