94 lines
11 KiB
HTML
94 lines
11 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" lang="en-us" xml:lang="en-us" data-mc-search-type="Stem" data-mc-help-system-file-name="Default.xml" data-mc-path-to-help-system="../../../" data-mc-toc-path="PAC Customization" data-mc-target-type="WebHelp2" data-mc-runtime-file-type="Topic" data-mc-preload-images="false" data-mc-in-preview-mode="false">
|
||
<head>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<meta charset="utf-8" />
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
<meta name="search-keywords" content="circulation, public services, DQ2407050, Polaris user guide" /><title>Customizing Pages</title>
|
||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||
<link href="../../../Skins/Default/Stylesheets/Slideshow.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
|
||
<link href="../../../Skins/Default/Stylesheets/TextEffects.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
|
||
<link href="../../../Skins/Default/Stylesheets/Topic.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
|
||
<link href="../../../Skins/Default/Stylesheets/Components/Styles.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
|
||
<link href="../../../Skins/Default/Stylesheets/Components/Tablet.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
|
||
<link href="../../../Skins/Default/Stylesheets/Components/Mobile.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
|
||
<link href="../../../Skins/Default/Stylesheets/Components/Print.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
|
||
<link href="../../../Resources/Stylesheets/BookStyles.css" rel="stylesheet" type="text/css" />
|
||
<script src="../../../Resources/Scripts/jquery.min.js" type="text/javascript">
|
||
</script>
|
||
<script src="../../../Resources/Scripts/purify.min.js" type="text/javascript" defer="defer">
|
||
</script>
|
||
<script src="../../../Resources/Scripts/require.min.js" type="text/javascript" defer="defer">
|
||
</script>
|
||
<script src="../../../Resources/Scripts/require.config.js" type="text/javascript" defer="defer">
|
||
</script>
|
||
<script src="../../../Resources/Scripts/foundation.min.js" type="text/javascript" defer="defer">
|
||
</script>
|
||
<script src="../../../Resources/Scripts/plugins.min.js" type="text/javascript" defer="defer">
|
||
</script>
|
||
<script src="../../../Resources/Scripts/MadCapAll.js" type="text/javascript" defer="defer">
|
||
</script>
|
||
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-CFH4DBPHLD">
|
||
</script>
|
||
<script>/* <![CDATA[ */
|
||
window.dataLayer = window.dataLayer || [];
|
||
function gtag(){dataLayer.push(arguments);}
|
||
gtag('js', new Date());
|
||
|
||
gtag('config', 'G-CFH4DBPHLD');
|
||
/* ]]> */</script>
|
||
</head>
|
||
<body>
|
||
<p class="MCWebHelpFramesetLink MCWebHelpFramesetLinkTop"><a href="../../../Default.htm#PolarisStaffHelp/PAC Customization/PACCustom/Customizing_Pages.htm">Open topic with navigation</a>
|
||
</p>
|
||
<div class="nocontent">
|
||
<div class="MCBreadcrumbsBox_0 breadcrumbs" role="navigation" aria-label="Breadcrumbs" data-mc-breadcrumbs-divider=" > " data-mc-breadcrumbs-count="3" data-mc-toc="True"><span class="MCBreadcrumbsPrefix">You are here: </span>
|
||
</div>
|
||
</div>
|
||
<div class="content">
|
||
<div role="main" id="mc-main-content">
|
||
<h1>Customizing Pages</h1>
|
||
<p>Polaris <a name="kanchor2663"></a>PowerPAC and Polaris PowerPAC Children’s Edition are based on ASP.NET programming. All .aspx and .ascx files are directly editable, but you should back up your changes to preserve them from being overwritten when the application is updated and reinstalled. You should be familiar with and have coded ASP.NET in C#.</p>
|
||
<p>For Polaris PowerPAC, the files are located in <b>Polaris/PowerPAC/library</b>. See <a href="../../Public_Access_Admin/PDOPacProfs/Polaris_PowerPAC_Pages_Reference.htm" class="MCXref xref" xrefformat="{color blue}{paratext}{/color}"><span style="color: Blue;" class="mcFormatColor">Polaris PowerPAC Pages Reference</span></a> for a list of pages and how they are used.</p>
|
||
<p>For Polaris PowerPAC Children’s Edition, the files are located in <b>Polaris/PowerPAC/children</b>. See <a href="../../Public_Access_Admin/PDOPacProfs/Polaris_PowerPAC_Childrens_Pages_Reference.htm" class="MCXref xref" xrefformat="{color blue}{paratext}{/color}"><span style="color: Blue;" class="mcFormatColor">Polaris PowerPAC Children's Edition Pages Reference</span></a> for a list of pages and how they are used.</p>
|
||
<p class="NoteShade"><b>Important:</b>
|
||
<br />Back up your changes to preserve them from being overwritten when the application is reinstalled or upgraded.</p>
|
||
<h2><a name="Site"></a>Site Master Page</h2>
|
||
<p>Beginning with Polaris 5.2, PowerPAC uses an ASP.NET master page called <b>site.master</b> which resides in the PowerPAC application root directory. All common <HEAD> elements from the individual *.ASPX PowerPAC pages are now in this shared master page. This shared master page ensures consistency in style and layout across pages, and prepares PowerPAC for future updates. You do not need to customize the <HEAD> element on individual pages.</p>
|
||
<p class="NoteShade"><b>Note:</b>
|
||
<br />You can include a custom version of <b>site.master</b> in the <b>/custom directory</b>. See <a href="Customizing_Layouts.htm" title="Customizing Layouts" alt="Customizing Layouts">Customizing Layouts</a>.</p>
|
||
<h2>CSS and JavaScript References</h2>
|
||
<p> Beginning with Polaris 5.2, all references to external style sheet and static JavaScript files are located in user control files called <b>/usercontrols/headassets.ascx</b> and <b>/usercontrols/footerassets.ascx</b>. Alternate versions of these files are used by pages associated with PowerPAC Community features; they are called <b>/usercontrols/headassetscommunity.ascx</b> and <b>/usercontrols/footerassetscommunity.ascx</b>The list of style sheets and JavaScript files can be edited in place.</p>
|
||
<h2>Polaris PowerPAC Accessibility Tags</h2>
|
||
<p>Polaris<a name="kanchor2664"></a> PowerPAC pages include tags to improve accessibility in the following ways:</p>
|
||
<ul>
|
||
<li>ALT tags provide text equivalents for inline images.</li>
|
||
<li>“Skip navigation” links are included at the top of each PowerPAC page.</li>
|
||
<li>Table header <TH> tags distinguish column headers for data tables, such as those displayed on patron account pages.</li>
|
||
</ul>
|
||
<p>Although these features are not generally visible when the pages are displayed, they improve the experience of patrons who use screen readers. If you customize PowerPAC pages, you will likely want to retain these features.</p>
|
||
<h2>User-Defined Templates</h2>
|
||
<p>For Polaris<a name="kanchor2665"></a> PowerPAC, you can use a template to construct your custom pages. Custom pages based on the template can reside in any PowerPAC folder, and the page directive (first line of the custom ASPX page) does not need to be updated whenever PowerPAC is upgraded.</p>
|
||
<p>To create a custom PowerPAC page from the template, copy<b> /Custom/CustomPage-template.aspx</b> to any file name with an *.aspx extension in any folder within PowerPAC, typically in the<b> /Custom/</b> folder. Then add any custom HTML in the commented area of the page.</p>
|
||
<p class="NoteShade"><b>Note:</b>
|
||
<br />Beginning with Polaris 5.2, the <b>CustomPage-template.aspx</b> file uses the master page design. If you have created custom *ASPX files in previous version of Polaris, they should still work as is, but Polaris encourages you to switch to the master page design. See <a href="Customizing_Layouts.htm" title="Customizing Layouts" alt="Customizing Layouts">Customizing Layouts</a>. When you upgrade to Polaris 5.5, update your custom pages to follow the Polaris 5.5 version of the template.</p>
|
||
<p class="NoteShade"><b>Note:</b>
|
||
<br />Certain pages in <b>the library\userdef </b>directory are intended for direct editing so that you can easily insert your library’s custom information. These include<b> ud_events.ascx</b> and<b> ud_policies.ascx</b>. You can add upcoming events and library policies to these pages just by inserting the appropriate text and formatting your text with basic HTML tags. Be sure your additions are responsive. <a href="../../Polaris_Basics/PIfindrec/Doing_a_Keyword_Search.htm" data-mc-conditions="Primary.Online,Primary.Hidden">Add text to the Events page</a> <MadCap:conditionalText data-mc-conditions="Primary.Online,Primary.Hidden"><a href="../../Public_Access_Admin/PDOpower/Set_up_Polaris_PowerPAC.htm" class="MCXref xref" xrefformat="{color blue}{paratext}{/color}"><span style="color: Blue;" class="mcFormatColor">Set up basic operating features for Polaris PowerPAC</span></a>.</MadCap:conditionalText></p>
|
||
<h2>Adding Web Parts to Custom Pages</h2>
|
||
<p>If you create a custom page from the template, you may want to set the PageID value so that the appropriate web parts are displayed in the dashboard. For a list of PageID values, see <a href="../../Public_Access_Admin/PDOPacProfs/Standard_PAC_Pages_Reference.htm" class="MCXref xref" xrefformat="{color blue}{paratext}{/color}"><span style="color: Blue;" class="mcFormatColor">Standard PAC Pages Reference</span></a>.</p>
|
||
</div>
|
||
</div>
|
||
<div id="footer">
|
||
<div id="copyright"><a href="../../../FrontMatter/LegalNotices.htm">© 2023 Innovative (Part of Clarivate)</a><![CDATA[
|
||
]]></div>
|
||
<div>Polaris Version <span class="mc-variable III_Variables.VersionNumber variable">7.5</span></div>
|
||
<div>
|
||
<p align="center">
|
||
<script type="text/javascript">/*<![CDATA[*/document.write("<a href='mailto:doccust@iii.com?subject=documentation%20feedback%20(Polaris staff client): "+document.title+"&body=Topic%20reference%20(for%20Innovative%20use%20only):%20"+location.pathname+"%0A%0APlease provide comments, report discrepancies, or suggest improvements for Innovative documentation. Your suggestions and corrections will be emailed to Innovative staff, who review them for future versions of the documentation. Thank you for your feedback.%0A%0APlease do not report technical or software issues here. Authorized staff at your organization should submit a service request for those issues.%0A%0AEnter%20your%20comments%20below:%0A%0A'>Send documentation feedback to Innovative</a>");
|
||
/*]]>*/</script>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</body>
|
||
</html> |