Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
iguess committed May 21, 2014
1 parent 5b4f803 commit 0592cf9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ Adding a new instance to an existing iGUESS installation
2. Add a record to the sites table, which maps in incoming URL with a title to be displayed and the site_details_id for the record created in the previous step. Note that if you have multiple incoming URLs for the instance, you will need to create one record for each.

3. Create a new stylesheet in the public/site_styles folder, using the name specified in the site_details table. The easiest way is to copy an existing stylesheet for another instance.

You can customize this stylesheet as needed, and the styles will only apply to the relevant instance. If you need to modifiy a style that is not included in the stylesheet, find where that is defined, and move it to the new stylesheet. Also be sure to copy that style to any other custom stylesheets referred to in the site_details table.

4. The body_html_file and footer_html_file contain HTML specific to each instance. body_html_file is used for the main body on the starting page, and footer_html_file is appended to the bottom of every page except the mapping screen. Those files are currently located in app/views/home folder, and the actual file should have the same name as specified in the database, but with a "_" prepended to the name. The "_" requirement is due to the way Rails loads included content files. If either file contains any Rails directives, it should have a .erb extension.
Expand Down

0 comments on commit 0592cf9

Please sign in to comment.