Ask AI
Hi! Ask me anything

Repository

Repositories are spaces where you upload documents. Documents include also images. Elephant provides different types of repositories, each independent and structured. Repositories are attached to some Elephant entity, including contexts (web pages).

Context repository

Each context has its own repository. Admins can access any repository while editing a context, but by default Elephant will point to the current context's repository.

While editing a context, current repository can be addressed with the shortcut repository(/filename.ext). When using the Wiki editor, the shortcut is used by default.

Context global repository

Global repository is the website's root repository. For all purposes, the global repository is a normal repository, worth mentioning because it has its own shortcut grepository(/filename.ext).

The main intention for having a global repository is to have often used images collected in a single place. For example, logos, icons (services/products) and others.

Since repositories can have a folder structure, different images/documents usages can have their own directory. For example:
  • Root context repository
    • logos
    • icons

With this structure, a logo could be easily referenced with grepository(/logos/logo.png).

Entity repositories

Elephant entities have their own repositories. When writing context for an entity, the default repository will the entity repository, and referenced the same way as in contexts. These repositories ares publishable.

Elephant entities also have private repositories. Private repositories can only be accessed by admins, and their purpose is completely different.

English06/08/11 17:57Lluís Turró Cutiller
English04/09/18 12:02Lluís Turró Cutiller
English07/27/26 10:35Lluís Turró Cutiller