LIBSAFE OPENACCESS - EN
  • LIBSAFE OPENACCESS
  • INTRODUCTION
  • FRONT END
    • INTERFACE
      • HOME AND BROWSE
        • General Aspects to Consider
        • List View
        • Timeline View
        • Gallery View
        • Map View
        • Other
      • SEARCH
        • BASIC SEARCH
        • ADVANCED SEARCH
        • FULL-TEXT SEARCH AND HIGHLIGHTING
        • No search results
    • CONTENT VIEWERS
      • Universal Viewer
        • Document viewer
        • Audio
        • Video
      • 3D
      • Virtual reality
      • Video with transcription and index
      • Website snapshots (WARC)
    • INTERFACE LOGIN
  • BACKOFFICE AND MANAGEMENT
    • INTRODUCTION
    • BACKOFFICE LOGIN
    • DASHBOARD
    • COLLECTIONS MANAGEMENT
      • Add a new collection
      • Bulk action
      • Modifying a collection
    • RECORDS MANAGEMENT
      • Add a new record
      • Import
      • Export all/selected
      • Export Assets
      • Bulk action
      • Modifying a record
      • Delete record
    • STATIC CONTENT MANAGEMENT
      • PAGES
        • Create a new page
        • Modify a page
      • SHORTCODES
        • Creating a new Shortcode
        • Modifying a Shortcode
        • How to use a Shortcode
      • MENU
        • Adding a new item to the Menu
        • Modifying an item
      • EDITOR
        • Modifying a template file
        • Modifying a CSS Style
    • TASKS
      • Task Details
      • Common mistakes
      • Available tasks
    • CONFIGURATIONS AND SETTINGS
      • METADATA
        • METADATA DESCRIPTORS
          • Add a New Metadata Descriptor
          • Modifying a Metadata Descriptor
        • METADATA SCHEMAS
          • Add a new Metadata Schema
          • Modifying a Metadata Schema
      • USERS, GROUPS AND ACCESS LEVEL CONFIGURATION
        • USERS
          • Add a new User
          • Modifying a User
        • ROLES
          • Add a new Role
          • Modify a Role
          • Examples
        • ACCESS LEVEL
          • Add a new Access level
          • Modify an Access Level
      • LANGUAGE CONFIGURATION
        • General
        • Modify language
        • Import/Export
      • DEVELOPER OPTIONS
        • Index
        • Services
      • OAI-PMH CONFIGURATION
        • Schemas
        • Config
      • FACETS
        • Aggregation
          • Add a new aggregation
          • Modifying an Aggregation
        • Template
          • Add a new template
          • Modify a template
      • SITE AND SYSTEM CONFIGURATION
      • STORAGE MANAGEMENT
        • Add a new storage
        • Modify a storage
      • LICENSE
Powered by GitBook
On this page

Was this helpful?

  1. BACKOFFICE AND MANAGEMENT
  2. STATIC CONTENT MANAGEMENT
  3. SHORTCODES

Creating a new Shortcode

PreviousSHORTCODESNextModifying a Shortcode

Last updated 3 years ago

Was this helpful?

In this view a new shortcode can be created (with the following):

  • Name: Name of the shortcode.

    • Up to 50 characters are allowed.

    • No empty value.

  • HTML: Code of the shortcode.

    • No empty value.

Shortcode type:

Type: Choosing a type will help adding records or collections to the code.

Empty:

With this option selected, not only the records and categories are available but also a shortcode can be created to show for example: Contact form, information tables, etc.

Records by collections:

Gets all the records of a collection. It can select one or more collections. Then with the variables it can be added to the HTML.

Records:

Gets all the records. It can select one or more records and with the upper options can filter the results and finally with the variables it can be added to the HTML.

Collections:

Gets all the collections. It can select one or more collections and with the variables can be added to the HTML.

Records by query:

Gets all the records and, with the advanced search, can do a specific search for the records to add in the HTML. (See Advanced search)

After choosing the records or collections, you can add them to the HTML code, all you have to do is add the variables according to what you need.

If a shortcode is chosen from Collections, then the following variables will be available:

  • ID Collection: It will show the id of the selected collection(s).

  • Name: Name of the selected collection(s).

  • Description: Long Description of the selected collection(s).

  • URL image: URL Image of the selected collection(s).

  • Short Description: Excerpt from the description of the selected collection(s).

If a shortcode is chosen from Records, then the following variables will be available:

  • ID Record: This allows displaying the unique identification of the selected record(s).

  • Title: Name of the selected record(s).

  • Description: Description of the selected record(s).

  • Short Description: Excerpt from the description of the selected record(s).

  • URL image: Url Image of the selected record(s).

If the empty option is not chosen, then it is possible to choose how many results to Display per page.