You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The portal plugin is a content management system plugin included with Blesta. It may be installed under [Settings] > [Company] > Plugins and is installed by default.


Index Template

The plugin comes default with one page, the index page. This is the page displayed when visiting the location of your Blesta installation in your browser. The content of this page can be updated under [Settings] -> [Company] -> [Plugins] -> [Installed] by clicking "Manage" next to the plugin.

Tags

The index page supports the following tags: {base_url} {blesta_url} {admin_url} {client_url} {plugins}

TagsDescriptionNotes
{base_url}This is the company hostnamee.g. https://yourdomain.com/
{blesta_url}This is the URL to your Blesta installatione.g. https://yourdomain.com/billing/
{admin_url}This is the URL to the admin interface of your Blesta installatione.g. https://yourdomain.com/billing/admin/
{client_url}This is the URL to the client interface of your Blesta installatione.g. https://yourdomain.com/billing/client/
{plugins}This is an array of installed plugins with several other propertiesThis tag should not be used directly. Only use properties of this tag, e.g. "{plugins.billing_overview.name}" Each key in the array is the plugin directory location, e.g. "billing_overview"

The {plugins} tag contains a list of installed plugins where each key in the array is the plugin directory of a unique plugin installed for this company, such as "billing_overview", "feed_reader", "download_manager", etc.

The following is dump of the fields the {plugins} tag may contain:

{plugins} contents
Array
(
    [billing_overview] => stdClass Object
        (
            [id] => 13
            [dir] => billing_overview
            [company_id] => 1
            [name] => Billing at a Glance
            [version] => 1.0.0
            [installed_version] => 1.0.0
            [authors] => Array
                (
                    [0] => Array
                        (
                            [name] => Phillips Data, Inc.
                            [url] => http://www.blesta.com
                        )
                )
            [logo] => /plugins/billing_overview/views/default/images/logo.png
            [installed] => 1
            [manageable] => 
        )
	[feed_reader] => stdClass Object
        (
            [id] => 56
            [dir] => feed_reader
            [company_id] => 1
            [name] => Feed Reader
            [version] => 1.0.1
            [installed_version] => 1.0.0
            [authors] => Array
                (
                    [0] => Array
                        (
                            [name] => Phillips Data, Inc.
                            [url] => http://www.blesta.com
                        )
                )
            [logo] => /plugins/feed_reader/views/default/images/logo.png
            [installed] => 1
            [manageable] => 1
        )
)


  • No labels