The Basic Page - Colorado College

Section Links

Other Links


Basic Page Layout

All pages that have the Colorado College layout start from the same template:

<%
dim depth,top_id,left_id,left_id_2
depth=3
top_id="aboutcc"
left_id="about_college"
left_id_2="foundation"
%>
<!-- #include virtual="/include/header.asp" --> 
<!--START content area-->



<!--END content area-->
<!-- #include virtual="/include/footer.asp" --> 

All content that will be displayed between these two lines of code:
<!--START content area-->
<!--END content area-->

 

How to set the depth, top_id, left_id and left_id_2 variables

depth: This variable corresponds to how "deep" you are in the website.

  • If the page that you are editing appears on the top gold navigation bar (Academics home, Athletics home etc) then depth=1.
  • If the page that you are editing is on the side navigation bar (the big blue buttons) then depth=2.
  • If the page that you are editing appears on a submenu on the side navigation bar then depth=3.

top_id: Is the top gold navigation category id that the page you are editing falls under. Many top_id's do not fall under a category on the top navigation bar (such as Alumni). For the full list of top_id's open the /include/leftnavData.asp file. Every case "SOMETEXT" represents a top_id.

left_id: Is the blue button on the left side navigation that your page falls under. For the full list of left_id's open the file in /include/leftnavData/ that corresponds to your top_id. If your depth is 1 then then delete this line.

left_id_2: Is the sub menu on the left side navigation that your page is located in. For the full list of left_id_2's open the file in /include/leftnavData/ that corresponds to your top_id. If your depth is LESS THAN 3 then delete this line.

How to hide the navigation bars: To hide the the top navigation bar, set top_id="none". To hide the left navigation bar, set left_id="none". To hide the left navigation small links at the bottom ("Contact Us", "Search", "Email", etc) set left_links="none".

If you would like to have the breadcrumb line display a sentence or two in small text (like it does at the Athletics Home) set top_text="TEXT" where TEXT is the text you want to display.

 

Continue on to The Standard Page Layout »