<?xml version="1.0"?>
<!--
/**
* system.xml
*
* Configuration for backend integrated forms.
*
* License: GNU General Public License
*
* Copyright (c) 2016 Cartware GmbH. All rights reserved.
* Note: Original work copyright to respective authors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category Cartware
* @package Cartware_ContentBridge
* @subpackage Config
* @copyright Copyright (c) 2016 Cartware GmbH (http://www.cartware.com)
* @license http://www.gnu.org/licenses/gpl.html GPL, version 3
* @version $Id:$
* @link http://www.cartware.com
* @since File available since Release 0.1.0
* @author Cartware Core Team <info@cartware.com>
*/
/**
* system.xml
*
* Configuration for backend integrated forms.
*
* @category Cartware
* @package Cartware_ContentBridge
* @subpackage Config
* @copyright Copyright (c) 2016 Cartware GmbH (http://www.cartware.com)
* @license http://www.gnu.org/licenses/gpl.html GPL, version 3
* @version Release: @package_version@
* @since Class available since Release 0.1.0
* @author Cartware Core Team <info@cartware.com>
*/
-->
<config>
<tabs>
<cartware>
<label>Cartware</label>
<sort_order>301</sort_order>
</cartware>
</tabs>
<sections>
<cartware_contentbridge translate="label" module="cartware_contentbridge">
<label>ContentBridge</label>
<tab>cartware</tab>
<sort_order>130</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<groups>
<general translate="label">
<label>General</label>
<frontend_type>text</frontend_type>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<active translate="label">
<label>Enable ContentBridge</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>100</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</active>
<base_url translate="label">
<label>CMS base-URL</label>
<frontend_type>text</frontend_type>
<sort_order>200</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<depends><active>1</active></depends>
</base_url>
<page_suffix translate="label comment">
<label>CMS page suffix</label>
<comment><![CDATA[The suffix of pages on the remote site. E.g. "/" or ".html"]]></comment>
<frontend_type>text</frontend_type>
<sort_order>300</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<depends><active>1</active></depends>
</page_suffix>
<api_suffix translate="label comment">
<label>API suffix</label>
<comment><![CDATA[Remote API suffix such as /, .json or .xml]]></comment>
<frontend_type>text</frontend_type>
<sort_order>310</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<depends><active>1</active></depends>
</api_suffix>
<site_identifier translate="label">
<label>TYPO3 Site identifier</label>
<frontend_type>text</frontend_type>
<sort_order>400</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<depends><active>1</active></depends>
<validate>validate-identifier</validate>
</site_identifier>
</fields>
</general>
<locale translate="label">
<label>Locale</label>
<frontend_type>text</frontend_type>
<sort_order>15</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<fallback translate="label comment">
<label>Fallback</label>
<comment>A locale as fallback if the store's locale doesn't match any TYPO3 site locales. E.g. "en_US.UTF-8".</comment>
<frontend_type>text</frontend_type>
<sort_order>100</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</fallback>
</fields>
</locale>
<auth translate="label">
<label>Authentication</label>
<frontend_type>text</frontend_type>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<active translate="label">
<label>Enable HTTP-Basic authentication</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>100</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</active>
<user translate="label">
<label>Username</label>
<frontend_type>text</frontend_type>
<sort_order>200</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<depends><active>1</active></depends>
</user>
<password translate="label">
<label>Password</label>
<frontend_type>text</frontend_type>
<sort_order>210</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<depends><active>1</active></depends>
</password>
<use_digest translate="label">
<label>Use digest</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>220</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<depends><active>1</active></depends>
</use_digest>
<key translate="label">
<label>Auth-Key</label>
<frontend_type>text</frontend_type>
<sort_order>1000</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</key>
<salt translate="label">
<label>Salt</label>
<frontend_type>text</frontend_type>
<sort_order>1010</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<validate>validate-data</validate>
</salt>
</fields>
</auth>
<url>
<label>URL</label>
<frontend_type>text</frontend_type>
<sort_order>25</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<segment translate="label comment">
<label>Segment</label>
<comment><![CDATA[The segment used within URLs leading to CMS pages]]></comment>
<frontend_type>text</frontend_type>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</segment>
<assets translate="label comment">
<label>Assets path</label>
<comment><![CDATA[An optional, relative path leading to the remote assets. Can be media/cms for example in combination with a proxy. Can be empty to fallback to remote base-url.]]></comment>
<frontend_type>text</frontend_type>
<sort_order>210</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</assets>
<rewrite_pagetype translate="label comment">
<label>Rewrite pagetype</label>
<comment><![CDATA[Add pagetype to url with given identifier instead of using a query parameter.]]></comment>
<frontend_type>text</frontend_type>
<sort_order>410</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</rewrite_pagetype>
</fields>
</url>
<navigation>
<label>Navigation</label>
<frontend_type>text</frontend_type>
<sort_order>30</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<append translate="label">
<label>Append pages to main navigation</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>5</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</append>
<depth translate="label">
<label>Depth</label>
<frontend_type>text</frontend_type>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<depends><append>1</append></depends>
</depth>
<breadcrumb_nav_hide translate="label">
<label>Hide breadcrumb if hide in navigation is checked</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>15</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</breadcrumb_nav_hide>
</fields>
</navigation>
<feature_flags>
<label>Feature flags</label>
<frontend_type>text</frontend_type>
<sort_order>40</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<product_description translate="label comment">
<label>Add product description</label>
<comment>When enabled, this will try to fetch enriched product data from TYPO3 and add it to the products description.</comment>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>100</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</product_description>
</fields>
</feature_flags>
<rewrites translate="label">
<label>Rewrites</label>
<frontend_type>text</frontend_type>
<sort_order>50</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<block_category_view translate="label comment">
<label>Rewrite Category-View block</label>
<comment>Rewrites the category view block to a ContentBridge-specific block</comment>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</block_category_view>
<block_page_switch translate="label comment">
<label>Rewrite Page-Switch block</label>
<comment>Rewrites the page switcher block to a ContentBridge-specific block</comment>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>20</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</block_page_switch>
</fields>
</rewrites>
<loadbalancer translate="label">
<label>Loadbalancer</label>
<frontend_type>text</frontend_type>
<sort_order>60</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<active translate="label">
<label>Enable Loadbalancing</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>100</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</active>
<strategy translate="label">
<label>Loadbalancer strategy</label>
<frontend_type>select</frontend_type>
<source_model>cartware_contentbridge/system_config_loadbalancer_strategy</source_model>
<sort_order>100</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</strategy>
<hosts translate="label">
<label>Username</label>
<frontend_model>cartware_contentbridge/adminhtml_system_config_form_field_loadbalancer_hosts</frontend_model>
<backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
<sort_order>300</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</hosts>
<debug_backend_header translate="label comment">
<label>Add backend header to response</label>
<comment>This will add the used backend server as header X-ContentBridge-Backend to the response</comment>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>1000</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</debug_backend_header>
</fields>
</loadbalancer>
</groups>
</cartware_contentbridge>
</sections>
</config>