120

Product support

Visit this product's website for support.

Categories

This plugin registers the following variables for use in CMS Layouts, Partials, & Pages as well as for use in Mail Templates:

Name Description
app_url: The URL to the home page of the application
app_logo: The URL to the backend application logo, defaults to the OctoberCMS logo if not set
app_favicon: The URL to the backend application favicon, defaults to the OctoberCMS logo if not set
app_name: The Application Name from the backend BrandSettings
app_debug: The state of the application debug flag
app_description: The Application Tagline from the backend BrandSettings

Twig Examples:

As filters:

{% if app_debug %}
    <a href="{{ app_url }}">
        <img src="{{ app_logo }}" alt="{{ app_name }} Logo" />
    </a>
    <strong>{{ app_description }}</strong>
{% endif %}
  • Found the plugin useful on 4 Jun, 2019

    Easiest solution for getting the app name in a template. Also means I can now easily manage the favicon. Thank you for doing this!

  • author

    Replied on 4 Jun, 2019

    Happy to help!

  • Found the plugin useful on 15 Mar, 2019

    PERFECT! Was hoping this plugin exists. Thank you!

  • author

    Replied on 4 Jun, 2019

    No problem! I always end up needing for it my own projects so I made it available for everyone else to use too.

1.0.5

Added app_favicon

May 20, 2019

1.0.4

Retrieve variables only when necessary

May 20, 2019

1.0.3

Fixed race condition that caused system module translations to break

May 20, 2019

1.0.2

Added plugin information

Jul 06, 2018

1.0.1

Initial version, app_[url|logo|name|debug|description]

Jul 06, 2018