Configuration

invenio module for I-Form theme.

invenio_theme_iform.config.DEPOSITS_HEADER_TEMPLATE = 'invenio_theme_iform/header.html'

Deposits header page’s template.

invenio_theme_iform.config.INVENIO_THEME_IFORM_ACCOUNT_BASE = 'invenio_theme_iform/accounts/accounts_base.html'

I-Form Default account base template

invenio_theme_iform.config.INVENIO_THEME_IFORM_BASE_TEMPLATE = 'invenio_theme_iform/base.html'

I-Form Default base template

invenio_theme_iform.config.INVENIO_THEME_IFORM_DEFAULT_VALUE = 'I-Form Repository'

Default value for the application.

invenio_theme_iform.config.INVENIO_THEME_IFORM_ICON = 'images/icon_use.png'

icon used in login page

invenio_theme_iform.config.INVENIO_THEME_IFORM_LOGIN_IMG = 'images/login_logo.png'

I-Form Logo for forms

invenio_theme_iform.config.SEARCH_UI_HEADER_TEMPLATE = 'invenio_theme_iform/header.html'

Search page’s header template.

invenio_theme_iform.config.SECURITY_LOGIN_USER_TEMPLATE = 'invenio_theme_iform/accounts/login_user.html'

Login template

invenio_theme_iform.config.SECURITY_REGISTER_USER_TEMPLATE = 'invenio_theme_iform/accounts/register_user.html'

Sigup template

invenio_theme_iform.config.THEME_500_TEMPLATE = 'invenio_theme_iform/default_error.html'

Used for any internal server errors and uncaught exceptions.

footer template

invenio_theme_iform.config.THEME_FRONTPAGE = False

Use default frontpage.

invenio_theme_iform.config.THEME_FRONTPAGE_TITLE = 'I-Form Repository'

Frontpage title.

invenio_theme_iform.config.THEME_HEADER_LOGIN_TEMPLATE = 'invenio_theme_iform/accounts/header_login.html'

login page header

invenio_theme_iform.config.THEME_HEADER_TEMPLATE = 'invenio_theme_iform/header.html'

I-Form header template

invenio_theme_iform.config.THEME_IFORM_CONTACT_FORM = False

Enable/Disable Contact form.

invenio_theme_iform.config.THEME_IFORM_PRODUCTION = False

Production environment.

Can also be set as an environment variable in a .env file. Then the name has to be ‘INVENIO_THEME_IFORM_PRODUCTION’.

invenio_theme_iform.config.THEME_IFORM_SUPPORT_EMAIL = ''

Shown as contact-info on default error-page.

I-Form logo

Enable or disable the header search bar.

invenio_theme_iform.config.THEME_SITENAME = 'Repository'

Site name.