Log in to deploy new versions or manage existing ones.
This page is the documentation and demo of the common branding for the EurActiv Symfony Apps based on the VGMHCommonBundle.
Add the following lines to config.yml:
vgmh_common:
stylesheet: '//assets.euractiv.com/symfony/v2/style-min.css'
javascript: '//assets.euractiv.com/symfony/v2/script-min.js'
favicon: '//assets.euractiv.com/symfony/v2/favicon.ico'
If the app is being shown on a very small screen or if it is inside of an IFRAME, only the top navbar coloring is applied.
File | Description | Preview |
---|---|---|
favicon.ico | a common favicon //assets.euractiv.com/symfony/v2/favicon.ico | - |
icon.png | a company icon //assets.euractiv.com/symfony/v2/icon.png | - |
logo.png | the company logo //assets.euractiv.com/symfony/v2/logo.png | - |
script-min.js | the common javascript, minified //assets.euractiv.com/symfony/v2/script-min.js | - |
script.js | the common javascript //assets.euractiv.com/symfony/v2/script.js | - |
style-min.css | the common stylesheet, minified //assets.euractiv.com/symfony/v2/style-min.css | - |
style.css | the common stylesheet //assets.euractiv.com/symfony/v2/style.css | - |
Configuration is located in the file /config/symfony.php
.
If you do not have the ability to modify this file, contact your
administrator to have options changed. The configuration file should
contain an array with the name $config
containing the
following offsets:
Name | Type | Description | Current Setting |
---|---|---|---|
callmap_driver | string | The callmap driver to use, either "sqlite", "fsstore" or "noop" | noop |
callmap_labels | array | Labels for the callmap, where the key is the regular expression to match and the value is the label to use | Login to view this setting |
callmap_visualize_default | array | Nodes to visualize by default | Login to view this setting |
callmap_probability | integer | Probability that a given hit will log. Important for high traffic sites. Set higher for lower probability. | 1000 |
http_allowed_domains | array | Allowed domains for fetching assets or generating URLs | Login to view this setting |
http_allowed_urls | array | Specified URLs or regular expressions of specified URLs match for fetching assets or generating URLs | Login to view this setting |
http_connect_timeout | integer | The amount of time, in seconds, that cURL should wait before returning an error status. 15 is a good value for most cases. | 15 |