Jump to content
TNG Community

Record of Site Maintenance


Kenn

Recommended Posts

Site Maintenance Record

For others who are not programmers, what I recommend that you track in a txt file is the following:

  • purpose - add 4th pull down menu
  • script being changed
  • code being added or changed, including lines numbers so you know where

for example

Add 4th menu pull down to genlib.php - Site Menu mod

  1. Add following before line 472 - closing parenthesis for if( $tngconfig[menu]


            @include ("user/sitemenu.php"); // 4th menu additions KCR
  2. Replace line 73 echo "<style type=\"text/css\">#mnav li:hover #third, #mnav li.sfhover #third {right: 0px;}</style>\n"; with -->

                echo "<style type=\"text/css\">#mnav li:hover #fourth, #mnav li.sfhover #fourth {right: 40px;}</style>\n"; // change from #third to #fourth  when adding 4th menu pull down and from right: 0px to 40px to allow language pull down to be visible in FireFox by KCR

so that you know what TNG files you have made changes to and what lines of code you have modified. As show above your lines of code should also include comments so that a later comparison with WinMerge or TextWrangler will show which changes were yours.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...