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

Compare with Current View Page History

« Previous Version 8 Next »


Table of Contents

The Portal plugin is installed by default, but may need to be installed for addon companies.

Installing Portal

  1. Visit [Settings] > [Company] > [Plugins] > Available.
  2.  Click the "Install" button within the Portal plugin listing.

Changing the Portal

 To change the portal content, visit [Settings] > [Company] > Plugins and click the "Manage" button for the Portal plugin.

 

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 within your browser. 

Tags

The index page supports the following tags:

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}"

 

 

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 a dump detailing the structure 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