Download the PHP package docono/company-bundle without Composer
On this page you can find all versions of the php package docono/company-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download docono/company-bundle
More information about docono/company-bundle
Files in docono/company-bundle
Package company-bundle
Short Description Pimcore 11.x company information management
License GPL-3.0+
Homepage https://github.com/docono/CompanyBundle
Informations about the package company-bundle
DOCONO.io Company Bundle
- Description
- Configuration File
- Configuration Helper
- Example
Description
The Company Bundle provides to the backend user a simplified management panel to edit all important company information such as:
- address details
- opening hours
- social media links
- Schema.org details
- business location coordinates
included translations
- German (v1.0.0)
- English (v1.0.0)
- Ukrainian (v1.0.1) thanks to Olya Batyr
- Russian (v1.0.1) thanks to Olya Batyr
new in v3.0.1
- site id bugfix for main site
new in v3
- Pimcore 11 ready
new in v2
- Pimcore 10 ready
- removed templates
- removed the document tag
new in v1.4
- document tag adjustment for the latest Pimcore version
new in v1.3
- Pimcore 6 ready
new in v1.2.2
- removed Google+ from socialmedias
- added Metatag accounts (Twitter & Facebook)
new in v1.2.1
- opening times bugfix (closing times)
- opening times UX improvements
DO CHECK YOUR TIMES AFTER UPDATE!
new in v1.2.0
- replaced Twig templates with PHP templates
- caching
new in v1.1.1
- added VAT number field
- added company founding information fields
- added VKontakte, Medium & Reddit to the social media channels
- translation fixes
- style fixes
new in v1.1.0
- new tab organisation
- add holidays to the opening hours
- edit site description & keywords based on the site language
- new template handling
Getting Started
- download bundle with Composer
- register the Bundle in the
- install the Bundle in the console
- make sure the cache is flushed and Pimcore reloaded
- open the "Company Information" panel and fill in the company details
- assign data to the view in your controller
Configuration File
Each site has its own YAML configuration file which is located in the app config folder /var/config
.
site ids
The Bundle uses the Pimcore site ids:
- site_0: the main site
- site_1: site with the id 1
- site_2: site with the id 2
- etc
example
/var/config/docono_company.site_0.yml
/var/config/docono_company.site_1.yml
config YAML
Configuration Helper
If you want to access any of the company information data, simply use the STATIC config helper to access them.
CompanyBundle\Helper\Config
Name | Return | Description |
---|---|---|
getFile() |
string | get YAML config file for current site |
getFileForSite(String $site) |
string | get YAML config file for given site id |
getData(String $site=null) |
array | array of all data |
getCompany() |
array | array of the 'company' namespace |
getSocialmedia() |
array | array of the 'socialmedia' namespace |
getOpeningtimes() |
array | array of the 'times' namespace |
getHolidays() |
array | array of the 'holiday' namespace |
getSEO(string $language='en') |
array | array of the 'seo' namespace |
getSchema() |
array | array of the 'schema' namespace |
getLocation() |
array | array of the 'location' namespace |
getAccounts() |
array | array of the 'accounts' namespace |