Home arrow Downloads arrow ISPConfig arrow Patch : Make ISPConfig tree sticky between refreshes
Patch : Make ISPConfig tree sticky between refreshes PDF Print E-mail
Written by DjTremors   
Saturday, 03 March 2007
treehack.gif

Tree hack has been provided by djTremors as is and holds no responsibility due to loss of information or data. Use at own risk.

 

One thing that irritates me when using ISPConfig is when clicking on Save here and Cancel there and find that the tree on the left has collapsed and i have to navigate through to where i was before.

 

This hack uses a cookie to remember where you are when redrawing the tree. It only does it on a per session so when you close the page it forget it all and you have to nagivate again.

Version 2.2.10 (right click the Download and Save As)

Download isp_manager patch

Download isp_manager file

 

Version 2.2.9 (right click the Download and Save As)

Download isp_manager patch

Download isp_manager file

 

The "file" version is a direct file copy over the original from verison 2.X (backup your original first)

The "patch" version uses the patch command and could possibly work with future versions depending on their changes.

 

:To use the patch:

# patch /home/admispconfig/ispconfig/web/isp_manager/inhalt_tree.php isp_manager.inhalt_tree-2.2.9.patch

 

You may receive messages as below which are ok.

patching file /home/admispconfig/ispconfig/web/isp_manager/inhalt_tree.php
Hunk #1 succeeded at 1266 (offset 19 lines).
Hunk #2 succeeded at 1403 (offset 3 lines).
Hunk #5 succeeded at 2508 (offset 39 lines).

 

If you get Hunk errors as below, you may need to get the correct full file version already patched from my site or manually patch it yourself by adding the <patch> parts in.

patching file /home/admispconfig/ispconfig/web/isp_manager/inhalt_tree.php
Hunk #1 FAILED at 56.
Hunk #2 FAILED at 117.
Hunk #3 FAILED at 176.
3 out of 3 hunks FAILED

 

If there's a version of ISPC not patched here, let me know if you need help with it.

Last Updated ( Monday, 05 March 2007 )
 
< Prev   Next >

Buy great gadgets at

GetDigital