23 March 2015

Post-captcha forms


Progress on implementing new php email forms:
  • In the context of simple captcha going away, I consulted with ACC Web and IRT Web about how we might handle the issue of bots and our email forms.
  • IRT responded that they had a script that would thwart the bots embedded within their forms and shared that information with me.
  • I have begun work on a template for our email forms with some success.  
    • One issue remains -- I am unable to make the "required" field input work beyond the first two required fields.
  • I think that I will continue with the existing LS forms and try to solve this problem later.  UPDATE: solved the problem 
  • Continuing with the Transition.

05 December 2014

Instructions for LS Web Intersession files

From LS Wiki 

Web Pages - Intersession


These are the pages to change:

1 Hours & Locations
1.1 Create an intersession "includes file" appropriate to the particular intersession.
Example: /loc/intersession/Aug2014.txt
1.2 Amend /loc/intersession.php to reflect the correct includes file.
Example: <?php include("intersession/Aug2014.txt"); ?>
1.3 Rename (reverse after the break) /loc/index.php to /loc/index[HOLD].php
1.4 Rename (reverse after the break) a copy of /loc/intersession.php to /loc/index.php


2 Ask a Librarian
2.1 Create or revise a page to substitute for the regular /help/ask.php
Example: /help/ask-Aug.php
2.2 At the appropriate time
2.2.1 Rename (reverse after the break) /help/ask.php to /help/ask[HOLD].php
2.2.2 Rename (reverse after the break) substitute file to ask.php

3 Home Page
3.1 Rename (reverse after the break) the home page (index.php) to index[HOLD].php.
3.2 Rename (reverse after the break) index-LSHome-Intersess.php to index.php
3.2.1 Note: has the Limited Hours announcement in top left column


HeaderNav-Intersession.php
          4.1 Changes the NavBar code to point to the correct pages.
                    4.1.1 /includes/navbar-interess.php
                    4.1.2 /includes/nav-minimal-intersession.php
          4.2 Rename (reverse after the break) HeaderNav.php to HeaderNav[HOLD].php
          4.3 Rename (reverse after the break) HeaderNav-Intersession.php to HeaderNav.php.


Campus Guides "Get Help!" tab
5.1 Correct intersession hours info on the "Ask examples for breaks" tab on the AAA Storage Info Campus guide
5.2 To deploy to all guides with a Get Help! tab, add and reuse this box on the Get Help! tab of these pages:  (reverse after the break)
5.2.1 Creating Research Guides (http://researchguides.austincc.edu/createguide)
5.2.2 Help for Library Guides (http://researchguides.austincc.edu/genericSG)


01 December 2014

Update on Small Screen Banner/Nav Bar


 Get rid of any navbar.htm
 Use Textcrawler to replace "navbar.htm" with "navbar.php"


 Finish pages for nav-minimal.htm
About Us
 /gen-info/about-Nav.php
Locations & Hours
 /loc/LocHours-Nav.php
Services & Programs
 /gen-info/Services/SvcProg-Nav.php
Books, Articles, Videos
 /eresources/searchall.php
Get Help / Chat
 /help/getHelp-Nav.php
Your Library Record
 /eresources/YourRecord-Nav.php
Quick Links
 /eresources/Qlinks-Nav.php


 Explore sample files for exact lines of code
Note any groups of exact code.
   

   
    




 Use Textcrawler to replace exact lines of code with HeaderNav php include.


25 November 2014

Small Screens Banner & Navigation Bar Fix

Banner & Nav Bar For Small Screens

Minimal Nav Bar

  • Parse navbar.php
    • Create individual files ( in includes/NavPages)
      • AboutUs
      • LocHours
      • SvcProg
      • BksArt
      • GetHelp
      • YrRecord
      • QLinks
    •  Create sub Includes (includes/NavPages)
  • Create pages in appropriate folders
    • example page: About-Nav.php in /Gen-Info/ folder
    • Use only minimal info
    • Include appropriate includes/NavPages file
  • Create nav-minimal.php
    • no drop menu
    • link to new minimal pages
    • may need to reduces font size
    • See also: Script that works

Banner: header-minimal.php
  • =    Smaller ACC Logo
  • =    Reduce space over LS logo
  • =    Modify ACC Links
  • =    Delete ACC Links
  • =    See also: Script that works

Script that works
    <header2 class="show-for-small">
<!-- This next section contains header for small screens. -->
<?php include("http://library.austincc.edu/includes/header-minimal.php"); ?>
    </header2> <!-- end of minimal header -->

    <header class="show-for-medium-up">
<!-- This next section contains header for medium up screens. -->
<?php include("http://library.austincc.edu/includes/header.php"); ?>
    </header>
 
 <topnav2 class="show-for-small">
<!-- This next section contains top navigation bar for small screens. -->
<?php include("http://library.austincc.edu/includes/nav-minimal.htm"); ?>
</topnav2> <!-- end of minimal nav -->

 <topnav class="show-for-medium-up">
<!-- This next section contains top navigation bar for small screens. -->
<?php include("http://library.austincc.edu/includes/navbar.php"); ?>
</topnav> <!-- end of drop menu nav -->

  • Gather into one file (HeaderNav.php)
  • Replace current separate lines of code with HeaderNav php include

13 November 2014

Minimal Nav Bar Menus

Things that would  make the smaller screens look and work better, maybe: