Skip to content

Instantly share code, notes, and snippets.

@alehandrof
Last active April 9, 2024 12:12
Show Gist options
  • Save alehandrof/9f083aa03c287931d9f0 to your computer and use it in GitHub Desktop.
Save alehandrof/9f083aa03c287931d9f0 to your computer and use it in GitHub Desktop.
LibGuides v2 Notes
LibGuides v2 Notes
* {
font-family: sans-serif;
font-size: 1em;
color: #333;
}
#canvas {
padding: 0 !important;
}
#canvas-header {
display: none;
}
<!-- Header -->
<div id="s-lg-guide-header-search"></div>
<div id="s-lg-guide-desc-container"></div>
<div id="s-lg-guide-tabs-title-bar"></div>
<!-- Footer -->
<div id="s-lib-alert" title=""><div id="s-lib-alert-content"></div></div>
<!--
I think that's everything
-->
Title Relative URL
Homepage /
Search page /srch.php
Subject page /sb.php
Profile page /prf.php
A-Z page /az.php
<body>
{{ADMIN_CMD_BAR}}
{{public_header}}
<div class="guide-header">
<div class="container">
<div class="row">
<div class="col-md-12">
<div id="s-lg-guide-header-search"></div>
<h1><a href="{{guide_url}}">{{guide_title}}</a></h1>
<p id="s-lg-guide-desc-container"><span id="s-lg-guide-description">{{guide_description}}</span></p>
<div id="s-lg-guide-tabs-title-bar"></div>
</div>
</div>
</div>
</div> <!--/.guide-header-->
<div class="guide-content">
<div class="container">
<div class="row layout-two-thirds">
<div class="left-column">
<main role="main">
{{content}}
{{page_prev_next_links}}
</main><!--/ @main -->
<aside role="complementary">
{{side_nav_boxes}}
</aside><!--/ @complementary -->
</div><!--/ .left-column -->
<div class="right-column">
<ul class="sidenav">
{{guide_nav}}
</ul><!--/ .sidenav -->
</div><!--/ .right-column -->
</div><!--/ .row .grid-two-thirds -->
</div><!--/ .container -->
</div><!--/ .page-content-->
<footer class="site-footer" role="contentinfo">
<div class="container">
<div class="row">
<!-- ... -->
</div>
</div>
</footer><!--/@contentinfo-->
{{public_footer}}
<div id="s-lib-alert" title=""><div id="s-lib-alert-content"></div></div>
</body>

Guide pages

Default

{{ADMIN_CMD_BAR}}
{{breadcrumbs}}
{{content}}
{{guide_description}}
{{guide_nav}}
{{guide_print_url}}
{{guide_search}}
{{guide_subjects}}
{{guide_tags}}
{{guide_title}}
{{guide_updated}}
{{guide_url}}
{{login_url}}
{{page_prev_next_links}}
{{page_title}}
{{public_footer}}
{{public_header}}
{{side_nav_boxes}}

Optional

{{content_box_<id>}}
{{content_box_profile_<id>}}
{{content_box_profile}}
{{guide_owner_profile_url}}

Homepage

{{breadcrumbs}}
{{button_all_guides}}
{{button_by_group}}
{{button_by_owner}}
{{button_by_subject}}
{{button_by_type}}
{{content_boxes}}
{{content}}
{{guide_list_controls}}
{{login_url}}
{{page_nav}}
{{public_footer}}
{{public_header}}
{{search_guides}}
{{system_intro}}
{{title}}

Search page

{{breadcrumbs}}
{{content_box_search}}
{{login_url}}
{{more_options}}
{{page_description}}
{{page_nav}}
{{page_title}}
{{public_footer}}
{{public_header}}
{{search_filters}}
{{search_results}}

Subject page

{{breadcrumbs}}
{{content_box_experts}}
{{content_box_search}}
{{login_url}}
{{navbar}}
{{page_description}}
{{page_nav}}
{{page_title}}
{{public_footer}}
{{public_header}}

Profile page

{{breadcrumbs}}
{{content_box_specialties}}
{{guide_list}}
{{login_url}}
{{page_description}}
{{page_nav}}
{{page_title}}
{{personal_statement}}
{{profile_box}}
{{public_footer}}
{{public_header}}

A-Z page

{{alpha_list}}
{{breadcrumbs}}
{{content_box_experts}}
{{content_box_guides}}
{{login_url}}
{{navbar}}
{{page_description}}
{{page_nav}}
{{page_title}}
{{public_footer}}
{{public_header}}
{{search_reset}}
{{subject_list}}
{{trials_box}}
{{type_list}}
{{vendor_list}}

Old (obsolete?)

{{content_col_<x>}}
{{description}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment