Home » Categories » Multiple Categories

Room Reserve Header/Logo on public Room Request page

Evanced Room Reserve application allows for insertion of a simple header code/logo into their source code for the purpose of personalizing the library's room request page. Please note that there are limitations to the type of code that can be used. Evanced support department might request modifications to be made to the supplied header code, when known issues are expected to affect the system's performance.

 
General tips:
    • If you need to use CSS code, please make sure you create unique class definitions for your Evanced header to avoid any style conflicts with existing code used on that page.
    • HTML's Form tags are not allowed.
    • Minimal JavaScript, Flash, other (if any)
    • Recommended logo image size is 150px*150Ppx 
    • Other limitations might apply.
 

For customers whose sites are hosted on Evanced servers:

Hosted customers can send their header code to Evanced Support for inclusion into their site. Simply save your code as a text file, include any image files that you cannot host yourself and email all of it to support@evancedsolutions.com. We'll add it to your site and let you know when it has been updated.

For customers whose sites are installed on their own server:

Installed customers can edit the "defines.inc" file directly. Be sure to create a copy of the original file before editing. Mistakes made while editing this file can cause unexpected results. This file is typically located under "c:\inetpub\wwwroot\evanced\lib\common\".

See 'Editing' below for locations where code can be added.

Editing:

Below is the code for the DisplayHeader routine found in the "defines.inc" file.

Use Notepad or another text editor to modify the code. Make a copy of the original before making changes to the code. Some versions of Dreamweaver have caused problems with the file so that is not a recommended editor to use.

There a couple of options for adding images, and associated HTML if needed.

1) If the image is smaller and is to appear in the upper left corner then see the Option 1 label below. Simply add your image tag information there; within <td width="10%"></td>.

2) If the image is to be centered at the top then the image tag and associated HTML can be inserted above the <table> or within the <td width="80%" align="center">, before the HeaderTextStr. See Option 2 and Option 3

 

'******************************************************
'Common Header Routine For Patron Pages
'******************************************************
Sub DisplayHeader(TitleText, HeaderText, LibNameFlag)

If LibNameFlag = LIBHEADER Then
            HeaderTextStr = LIBNAME & "<BR>" & HeaderText

Else
            HeaderTextStr = HeaderText
End If
%>

<html>
<head>
<title><%=TitleText%></title>
<%       If WRITESTYLES = "1" Then%>
                        <link rel="stylesheet" type="text/css" href="niftyCorners.css">
                        <link rel="stylesheet" type="text/css" href="niftyPrint.css" media="print">
                        <script type="text/javascript" src="nifty.js"></script>
                        <style type="text/css">
<%                   ShowStyle "public"%>
                        </style>
<%       Else%>
                        <link rel="stylesheet" type="text/css" href="dynamicsheet.asp?st=public">
<%       End If%>
</head>
<body>
<div id="header">
                                                ?Option 2
<table border="0" width="100%">
  <tr>
    <td width="10%">                            ?Option 1

    </td>                      
    
    <td width="80%" align="center">
                                                ?Option 3
         <div class="title"><%=HeaderTextStr%></div>
    </td>
    
    <td width="10%">
         <!--#include FILE="textadjust.asp"-->
    </td>
  </tr>
</table>
</div>
<%
End Sub
Custom Fields
  • Applicable To: All Users
  • Attachments: No
  • Summary: How to add a header or logo to your Room Reserve, public room request page using the defines.inc file.
0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Comments Comments
There are no comments for this article. Be the first to post a comment.
Related Articles
Adding Non-library or External Sites in Room Reserve/Events
Viewed 2194 times since Tue, Nov 6, 2012
Staff-side Session Timeout in Events, Room Reserve, and Summer Reader
Viewed 6614 times since Wed, Sep 28, 2011
How To Reserve A Room Patron Side
Viewed 1363 times since Tue, Sep 27, 2011
Everything You Need to Configure Email in Events and Room Reserve
Viewed 9593 times since Tue, Apr 3, 2012
Amazon SES Events and Room Reserve Best Practices
Viewed 2386 times since Mon, Apr 18, 2016
Data Migration from Room Reserve to Spaces
Viewed 3034 times since Tue, Jan 27, 2015
Setting up Authorize.net for Credit Card Processing
Viewed 12818 times since Wed, Sep 28, 2011
Room Reserve - Credit Card Processing
Viewed 1638 times since Wed, Sep 28, 2011
Events and Room Reserve Scheduled Task Setup for Email Notifications
Viewed 9765 times since Tue, Nov 8, 2011
Evanced Application Hosting FAQ
Viewed 3671 times since Mon, Jun 8, 2015