#1  
Old 20th June 2010, 00:48
hcliff hcliff is offline
Junior Member
 
Join Date: Jun 2010
Posts: 15
Thanks: 6
Thanked 2 Times in 2 Posts
Default template auto generation?

So, I've been tooling about trying to make my own template.

I've found the functions in searchform_tpl_generator.php and tform_tpl_generator.php (interface/lib/classes for both)

I'm guessing these were used to create the default templates for each module? If so, could I get the script to look through all the modules and generate these?

If not, I'll roll my own and submit it to flyspray, but I figure this already exists somewhere?

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 20th June 2010, 18:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

The templates are created automatically when you view a list or form the first time or when a template is missing for a form or list.

Please take a lok at the development tutorial, it is explained there:

http://docs.ispconfig.org/en-sandbox...e=isp-config-3
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 20th June 2010 at 19:03.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
hcliff (20th June 2010)
  #3  
Old 20th June 2010, 18:56
hcliff hcliff is offline
Junior Member
 
Join Date: Jun 2010
Posts: 15
Thanks: 6
Thanked 2 Times in 2 Posts
 
Default

brilliant, thanks
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
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 22:41
Update mail box quota on Main template Defined by Admin federico General 3 22nd February 2010 10:10
template variables, main.tpl.htm weezul General 5 4th January 2010 11:09
No additional template selected ArnOS Installation/Configuration 2 23rd November 2009 18:41
PDA suitable template comedit Feature Requests 0 21st May 2007 21:24


All times are GMT +2. The time now is 09:04.


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