lemoynelibrary / lemoyne

Files used in setting up new web design in LibGuides v2 and elsewhere
5 stars 1 forks source link

Reinstate Type tab on the system "homepage" template #76

Closed tomkeays closed 4 years ago

tomkeays commented 4 years ago

We needed a way to identify and group guides that were being used as tutorials, especially those with videos. Doing this a Group was not going to work, since some tutorials were for staff only. However, it was easy to determine that the guide Type of "Topic Guide" was not being used.

In LibGuides Admin > Look & Feel > Language Options > Language Customization > Global, I was able to rename "Topic Guide" to "Library Tutorial".

However, the "Type" option needed to be exposed in the homepage (sitemap) template.

These are the default template options for the homepage navigation. You do that by going to LibGuides Admin > Look & Feel > Page Layout > Homepage and then editing the Homepage - All Library Guides (Fluid) template.

This is the change that is needed is this section:

<ul class="nav nav-pills">
  {{button_by_subject}}
  {{button_all_guides}}
  {{button_by_owner}}
  {{button_by_type}}
</ul>

Note: the full list of options from the default template is:

<ul class="nav nav-pills">
    {{button_all_guides}}
    {{button_by_group}}
    {{button_by_subject}}
    {{button_by_type}}
    {{button_by_owner}}
</ul>