The ILLiad Web Previewer is here!
The ILLiad Web Previewer allows you to view, edit, and generate ILLiad 7.2 specific web pages without using a web server. The application replaces all the ILLiad specific tags with plain HTML on a page by page basis so that you can edit the pages and the CSS files and view the results without having to replace pages on the ILLiad web server.
The Web Previewer includes the pages for ILLiad 7.2 in the DefaultBorrowing and DefaultLending folders. You can also choose a custom folder and select a separate set of ILLiad web pages (including prior version of ILLiad pages).
NOTE: The ILLiad Web Previewer has been updated with all the latest files for ILLiad Version 7.3 as of July 23, 2008.You can download the ILLiad Web Previewer here:
http://www.atlas-sys.com/communityfiles/ILLiadWebPreviewer20080723.exeThis is a self-extracting zip file. Download it and run it to expand the files (which defaults to c:\illiad\web previewer\).
The following readme file is included with the ILLiad Web Previewer as well.
Using the Web Previewer
-----------------------
Once you extract the application and its files into a directory, simply run the application by double-clicking the IWP.exe file. You should leave this file in the directory. If you want to run it from your desktop, simply create a shortcut to it instead of moving the file.
When you open the ILLiad Web Previewer, you will see a folder menu and several tabs. The Folder menu allows you to select either the Default Borrowing or Default Lending folders with the 7.2 sample pages in them - or you can select the Custom option to choose a folder elsewhere. By default, the Default Borrowing folder is selected.
The HTML tab shows the currently selected HTML file. You can choose the file from the HTML File dropdown box. A good example to start with is one of the request pages - like ArticleRequest.html.
Once you select a file, the tabs are activated and show the current HTML code, the current related CSS code, and options and log tabs. The HTML can be edited and saved directly in the window. You can choose to edit with Notepad or your default editor by clicking the menu option at the top.
Once you edit a file to your liking, you can choose the Preview option to generate the ILLiad page and send it to your default browser (also by pressing F12) or you can choose a specific browser from the Preview menu. The page is displayed in your browser and saved as a temporary file.
Setup Options
-------------
The Options tab allows you to configure different ILLiad data to show up in the different fields for testing purposes. The Parameters section includes a list of sample tags along with data that you can modify/remove/etc.
The Errors section shows what an example error will look like on your finished page (for example, a required field is not filled out). The included example is the Loan Title field which you can see when previewing LoanRequest.html, but you can replace/add/delete any error tag from the ILLiad pages.
The Status Message section shows the 3 types of possible status messages that ILLiad will display. You can modify these as you see fit as well. Editing the text in the Options tab will only change the sample text for the Previewer and not affect your production ILLiad system. Changing status line text for your production pages would still need to edited in the Customization Manager under Web Interface .. Status Lines.
The last section affects the number of random data table rows that appear in the web pages for testing purposes (for example, the default 20 rows shows up as 20 outstanding items on the ILLiad Main Menu screen). And the 4 alert types that ILLiad supports can be edited to be shown or not as well.
Notes
-----
The folder structures for the ILLiad files inside the extracted directory need to remain as they are. Do not delete the folders inside the temporary folder or the images and CSS won't display correctly in the generated pages.
The default HTML editor for Windows can be changed from the Internet Explorer Tools -> Internet Options menu on the Programs tab. The HTML editor selected there will be the Windows default editor.
Layout for ILLiad Pages
-----------------------
The new ILLiad 7.2 web pages included with the ILLiad Web Previewer are based on a CSS template. In most WYSIWYG HTML editors (like Dreamweaver), the tags that ILLiad includes will not show up correctly - hence the need for the Previewer. Some additional information about the page structures for the default borrowing pages follows.
The ILLiadMainMenu.html page html code is very small:
BEGIN ILLiadMainMenu.HTML +++++++++++++++++++++++++++++++++++
<html>
<head>
<title>ILLiad Main Menu</title>
<link rel="stylesheet" type="text/css" href="css/main.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="css/ie6_or_less.css" />
<![endif]-->
<link href="<#ACTION action="2" type="40" value="RSSID" valueType="lookup" absolutePath="true" includeSessionID="false">" rel="alternate" type="application/rss+xml" title="ILLiad Alerts" />
<link href="<#ACTION action="2" type="41" value="RSSID" valueType="lookup" absolutePath="true" includeSessionID="false">" rel="alternate" type="application/rss+xml" title="ILLiad Notifications" />
</head>
<body id="type-c">
<div id="wrap">
<#INCLUDE filename="include_header.html">
<div id="content-wrap">
<#INCLUDE filename="include_menu.html">
<div id="content">
<div class="default-table">
<#TABLE name="ViewOutstandingRequests" headerText="Outstanding Requests" noDataAction="ShowMessageRow" noDataMessage="No Requests" column="TransactionNumber:Transaction" column="DocumentType:Type" column="Title" column="Author" column="TransactionStatus:Status">
</div>
<#INCLUDE filename="include_footer.html">
</div>
<div id="sidebar">
<a href="<#ACTION action="2" type="40" value="RSSID" valueType="lookup" absolutePath="true" includeSessionID="false">">Subscribe to Alerts Feed</a>
<br />
<#ALERTS> </div>
</div>
</body>
</html>
END ILLiadMainMenu.HTML +++++++++++++++++++++++++++++++++++
The page includes several other referenced HTML pages:
include_header.html: this page includes the ILLiad title as well as the default status messages and the search box for ILLiad.
include_menu.html: this page is the menu that shows up for navigation along the left-hand side of the different pages for ILLiad.
include_footer.html: this page shows the copyright for the ILLiad system
Since each include page is referenced in multiple ILLiad pages, if you want to change a link for the left-hand menu, simply changing the include_menu.html page will accomplish the change.
Formatting Changes with CSS
---------------------------
The included CSS files control all of the style formatting for the ILLiad pages. Making changes to the CSS styles will affect all of the ILLiad pages at the same time and can be reviewed using the ILLiad Web Previewer. Opening any ILLiad webpage will also open the CSS tab, which will show the CSS used for that page (which is the same CSS used by all ILLiad pages for the default included pages).
The Main.css page is used for the majority of formatting for all browsers.
The ie6_or_less.css page is used for a few corrections to formatting in IE browsers.
The Print.css page is used for having a different print style than the display style.
An example from the include_header.html page:
BEGIN include_header.HTML +++++++++++++++++++++++++++++++++++
<div id="header">
<div id="title-name">ILLiad</div>
<div id="status"><#STATUS></div>
<div id="search">
<form action="illiad.dll" name="Search" method="post">
<input type="hidden" name="IlliadForm" value="Search" />
<input id="SessionID" name="SessionID" type="hidden" value="<#PARAM name="SessionID">" />
<label for="SearchCriteria">
<input id="SearchCriteria" name="SearchCriteria" type="text" class="f-criteria" />
</label>
<input type="submit" name="SubmitButton" value="Search" class="f-submit" />
<div id="searchType">
<input name="SearchType" type="radio" id="SearchTypeActive" value="Active" checked class="f-searchType" /><label for="SearchTypeActive">Active</label>
<input name="SearchType" type="radio" id="SearchTypeAll" value="All" class="f-searchType" /><label for="SearchTypeAll">All</label>
</div>
</form>
</div>
</div>
END include_header.HTML +++++++++++++++++++++++++++++++++++
In our example, we'll review how to change the formatting for the word ILLiad to be different. In the HTML, the <div id> tag shows the CSS style associated with the word ILLiad is "title-name". Looking in the main.css file you can see that title-name is:
#header #title-name {font: 265% arial;letter-spacing: -.05em;margin:0px 0 0 40px;padding:3px;color:#000066;border:none}
Replacing the appropriate tag will change the ILLiad title-name and any other instances of the title-name <div id> in the ILLiad Web Pages. Note that this changes the format of the ILLiad title-name but not the word itself. If you are renaming ILLiad to another name on your web site, you would need to replace the text in the pages.
Editing the CSS in Dreamweaver
------------------------------
(This document assumes a basic knowledge of Dreamweaver.)
When opening a main page for editing in Dreamweaver, the CSS is displayed as a drop-down box in the Properties box at the bottom of the default screen layout. For example, we'll look at changing the Note style on the ArticleRequest page. If you preview that page, a note is the smaller text underneath the different Field names: "Please do not abbreviate unless your citation is abbreviated".
- Open Dreamweaver
- Open the ArticleRequest.html page
- In the Design View, click the note from the above example under the Title field.
- In the properties view at the bottom, the style should be "note".
- Under the Window menu at the top, select CSS Styles (or hit Shift-F11). The CSS Styles show appear on the right hand side.
- For our example, we'll change the note style to be red. Click beside the color property in the CSS Styles tab and choose red. When you do this, Dreamweaver automatically opens the main.css sheet that is attached to the ArticleRequest.html page in a new tab. After the change, it will show that it needs saving.
- Click to the main.css tab and save the document.
- Switch back to the ILLiad Web Previewer and preview any page that uses the Note style and the notes will now be in red.
Getting Help
------------
The ILLiad Web Previewer will be supported through the Atlas Community Portal. If you have questions about how it works, visit:
http://www.atlas-sys.com/community/