| 89 | |
| 90 | === Changing team logo |
| 91 | |
| 92 | '''Trac.ini''' (mentioned previously) contains a section which describes how the logo of the website is displayed. Specifically: |
| 93 | |
| 94 | {{{ |
| 95 | [header_logo] |
| 96 | alt = RAID 2537 - Software Development #The alt text for the logo |
| 97 | height = 100 #The logo's height in pixels |
| 98 | link = #An optional link to go to if the logo is clicked |
| 99 | src = site/RAIDLogo.jpg #The location of the image |
| 100 | width = 80 #The logo's width in pixels |
| 101 | }}} |
| 102 | |
| 103 | Descriptions of these properties are listed in the code above. A few things to remember about all this: |
| 104 | * When placing the logo into the filesystem, anything listed as being in the "site" file is actually listed under /var/local/trac/htdocs |
| 105 | * The "alt text" mentioned above is just some text that is shown when someone hovers their mouse over the logo |
| 106 | |
| 107 | === Moving a logo onto the server |
| 108 | In order to get a logo onto the server, you will have to use the linux command {{{scp}}} (if you're using linux or mac) or a SCP windows client, [[http://winscp.net/eng/download.php|WinSCP]] being a notable one for its PuTTY integration. The syntax for the SCP command will be |
| 109 | |
| 110 | {{{ |
| 111 | scp <file location on your local disk> <username>@jupiter2.raidtech.net:/home/<username>/ |
| 112 | }}} |
| 113 | |
| 114 | After moving the file to your local account, you will have to {{{mv}}} the file into '''/var/local/trac/htdocs'''. After doing, this, you should change the permissions on the file. |
| 115 | |
| 116 | {{{ |
| 117 | sudo chown root:www-data <your image name> |
| 118 | sudo chmod a=r <your image name> |
| 119 | }}} |
| 120 | |
| 121 | Make sure you update the file name of your image in '''trac.ini''' after adding the image to the server, and if you need to delete the old one remember to use {{{rm}}} to delete the old file. |