Don't try this unless you really know what you are doing.
While Frontier's admin tools provide most of what you need to keep Manila happy and functioning, there are some things that require direct access to the server. For example, if you want to install tools, plugins, or themes on your server, you need to place those files in the correct location in Frontier's directory structure.
This is easy to do if you have phyisical or remote access (ie Timbuktu or PCAnywhere) to the server. But what do you do if remote access isn't allowed and physical access is difficult?
You can create, move, and delete files on your server by using webEdit and accessing a script generated webpage on your server. The process is tedious and potentially dangerous (and points out why you don't want to give webEdit access to anyone).
The basic procedure is to upload files via gems, move them to the correct location, and run any install scripts. To do this, you need to know where gems are stored and the directory path of where your files need to be stored.
For example if I wanted to install a new theme, here are the basic steps to follow:
1) Upload the theme as a gem to a site and figure out the path to the gem. This is the path to the gems directory, plus the canonical site name.
2) Move the file to the themes directory. This is the tricky step and done by using webEdit to check out a script that generates a webpage ( I usually use the default page of a manila site). Then add a call to file.copy to copy the file from the gems directory to the themes directory. Check the script back into the server and then load the page. As the page is built file.copy is called and the theme file is moved to the correct directory.
3) Clean up your mess, by checking out the page again and deleting (or commenting out) the file.copy call. Check the cleaned script back in and your done.
10:25:57 PM
|