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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st August 2011, 18:45
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default Where to add 'order by' for client templates

Hi, I need to add "order by" in sql query for Client Templates, Additional Templates dropdown and Additional templates list.

Could someone guide me to which files do I need to modify?

Thanks in advance.-
Reply With Quote
Sponsored Links
  #2  
Old 2nd August 2011, 10:33
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,794
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Take a look at the files interface/web/client/client_edit.php and the file interface/web/client/client_templatre_list.php

You have to add the orderby clause in the list file like it is done in the client_list.php file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
erosbk (2nd August 2011)
  #3  
Old 2nd August 2011, 14:33
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
 
Default

Perfect! thank you very much xD
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
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 17:54
All Client Websites redirecting to single Client Mosquito General 20 26th January 2010 20:29
FTP cannot open remote folder!?! andysm849 Server Operation 23 17th October 2008 00:34
Advice on how to setup Lintrack As A LAN Gateway And An OpenVPN Bridge eddiequek HOWTO-Related Questions 0 12th July 2007 11:38
Have to manually add virtual server without WWW? lipp9000 Installation/Configuration 8 21st July 2006 16:54


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


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