Progress has been made on some types of pages. Templates are saved in the /templates/ folder.
So far, these templates have been completed:
- Dir-template-2cols.php
- FAQ-Template.php
- GenInfo-template.php
- ls-accordion-base.txt
In general, the template is comprised of the code for the general structure of the page with
example php includes where
page specific data is to be pulled in. Example {Gen-Info Template}:
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>General Information Template</title>
<link rel="stylesheet" href="http://library.austincc.edu/css/app-LS.css" />
<link rel="stylesheet" href="http://library.austincc.edu/css/extra-LS.css">
<script src="http://library.austincc.edu/bower_components/modernizr/modernizr.js"></script>
<script language="javascript" type="text/javascript"
src="http://library.austincc.edu/scripts/dynacrumbs-love.js">
</script>
</head>
<body>
<header>
<!-- This next section contains header for next tier pages. -->
<?php include("http://library.austincc.edu/includes/header-next.php"); ?>
</header>
<!-- This next section contains top navigation bar. -->
<?php include("http://library.austincc.edu/includes/navBar.htm"); ?>
<section class="content" id="LScontent">
<!-- two columns -->
<div class="row">
<div class="large-12 columns"><span class="crumbs"><script type="text/javascript">createBreadcrumbs()</script></span></div> <!-- end of crumbs -->
</div> <!-- end of row -->
<!-- two columns -->
<div class="row">
<div class="large-3 columns">
<h2 style="font-size: 100%;">See Additional Resources:</h2>
<!-- This section includes the specific see additional resources file. Use the "base" as a template to save with specific name.-->
<?php include("includes-GenInfo/SeeAddResources-base.txt"); ?>
<!-- This section includes the Read Thumbs file. -->
<?php include("http://library.austincc.edu/includes/ReadThumbs.php"); ?>
</div>
<div class="large-9 columns">
<!-- This section includes the file for this particular page. -->
<?php include("includes-GenInfo/whateverGenInfo.php"); ?>
</div> <!-- end of big column -->
</div> <!-- end of row -->
</section>
<!-- This section includes the LS footer -->
<?php include("http://library.austincc.edu/includes/footer-LS.php"); ?>