1 / 20

Customizing your own SENSORS (site)

Customizing your own SENSORS (site). Ethan Danahy Tufts University June 7 th , 2001. Overview. What the site is How the site works Easy changes Admin settings (schedule, users) Colors and look Content changes Advanced changes Content setup/organization Add/Change images

mali
Download Presentation

Customizing your own SENSORS (site)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Customizing your own SENSORS (site) Ethan Danahy Tufts University June 7th, 2001

  2. Overview • What the site is • How the site works • Easy changes • Admin settings (schedule, users) • Colors and look • Content changes • Advanced changes • Content setup/organization • Add/Change images • Major page changes • Modify table of contents

  3. What The Site Is • Portal connecting users with remote moonscape • Manager of accounts, files, data, etc. • Allows users to: • Maintain accounts • View moon • Submit files/View results

  4. How The Site Works Visitor to site clicks on a link, requesting page Server at NASA site dynamically compiles page from variety of sources (files, code, database) Request travels over internet Completed page sent back Visitor’s web-browser displays the page

  5. The Folder Structure

  6. … Or If You Do Care … Used for debugging and development. Not used in final site… This folder contains all the “included” files. These files hold various functions and variables for working the DB and displaying pages. Here are all user files (submitted & returned), separated into unique subfolders (for security). Also, folders for interacting with LabView are kept here. The variables file contains admin preferences. It can be changed by hand, or with the admin tool. These files actually start the process for constructing the pages. These are the ones the user ultimately views.

  7. Easy Changes • Several changes to the site are simple • Done through Admin tools provided • Search & edit users profiles • Edit the schedule of mission times • Edit basic preferences (ie. color and wording)

  8. Search & Edit Users • Under admin tools, choose “Search Users” • Enter info into options & click search • With results, you can: • View • Edit • Delete • To promote (or demote) someone to admin status, choose “Edit”

  9. Edit Schedule • To add new times to the mission schedule, choose “Edit Schedule” • Two parts to the page • Add new schedule time • Delete old NOTE: deleting will delete everything associated with it, including submitted programs, etc.

  10. Edit Basic Preferences • Possible to change color scheme and some text on the site • Choose “Edit Site” from Admin menu • Each parameter has comment and function name associated with it • Changing values will effect entire site • These preferences mirror the options found in the /pages/variables.asp file

  11. Content Changes • More difficult • Tools needed: • FTP program • Text editor • Internet connection • Find matching file (on the server) to one you are changing (in /pages, ends w/ .htm) • Edit the contents to what you want

  12. Content Changes • Format of file is very important: • Must start with “<% sub FUNCTION %>” • Must end with “<% end sub %>” • Text between these two is what is put into the main content portion of the page • After making any changes upload the file to the server and check to make sure it is what you want • Making backups is advisable

  13. Content Setup/Organization • Within each page are generic function calls • These will insert needed text into your page • “Error” messages • Forms, tables, results, etc. • All take the form: <% FUNCTION %> • Place these functions in page • Function call will be replaced by text

  14. Add/Change Images • All images stored in /images folder • All images starting with “menu_…” are images for the left-hand menu • The site title is: sitetitle.gif • The top left icon is: toplefticon.gif • Edit these images to change look • Add new images to this folder and reference them with: “images/name.gif”

  15. Major Site Changes • All files are accessible • top.htm, bottom.htm, menu.htm, etc: These edit the overall look/setup of the page • This is an “advanced topic” – not recommended unless HTML/ASP expert • “Guess & Test” is possible, but make sure to have a backup of original ready • Example: “Changing The Menu”

  16. Changing The Menu • 3 types of menus: • Login (allows user to log in & create new user) • User (for the general user) • Admin (for a user with admin privileges) • /pages/menu.htm sets up general menu, then calls the different menu functions: • /pages/menu_login.htm • /pages/menu_user.htm • /pages/menu_admin.htm

  17. Changing The Menu • For example: /pages/menu_user.htm • This file has 6 similar lines, each representing a menu option • Switching the order of each of these lines changes the order of the menu • However, be careful when switching, as a small change to contents can change menu dramatically

  18. Helpful Links • Tufts SENSORS site: http://www.ceeo.tufts.edu/sensors • SENSORS/Moon Site support: http://www.ceeo.tufts.edu/sensors/support • Tufts Moon Site: http://www.ceeo.tufts.edu/Moon

  19. Problems/More Info • Director of Project: Chris Rogers – crogers@emerald.tufts.edu • Tufts SENSORS: Phillip Lau – plau@emerald.tufts.edu • Tufts SENSORS Programmer: Ethan Danahy – edanahy@emerald.tufts.edu • Tufts SENSORS Admin: Merredith Portsmore - merredith.portsmore@tufts.edu

  20. THE END

More Related