Advertisement
Guest User

system.xml

a guest
Oct 16th, 2012
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.11 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <config>
  3.     <tabs>
  4.         <v1 translate="label">
  5.             <label>v1 Extensions</label>
  6.             <sort_order>200</sort_order>
  7.         </v1>
  8.     </tabs>
  9.     <sections>
  10.         <brands translate="label">
  11.             <label>Brands</label>
  12.             <tab>v1</tab>
  13.             <frontend_type>text</frontend_type>
  14.             <sort_order>300</sort_order>
  15.             <show_in_default>1</show_in_default>
  16.             <show_in_website>1</show_in_website>
  17.             <show_in_store>1</show_in_store>
  18.             <groups>
  19.                 <general translate="label">
  20.                     <label>General</label>
  21.                     <frontend_type>text</frontend_type>
  22.                     <sort_order>10</sort_order>
  23.                     <show_in_default>1</show_in_default>
  24.                     <show_in_website>1</show_in_website>
  25.                     <show_in_store>1</show_in_store>
  26.                     <fields>
  27.                         <product_view_enabled translate="label">
  28.                             <label>Show Brand on Product Page</label>
  29.                             <frontend_type>select</frontend_type>
  30.                             <source_model>adminhtml/system_config_source_yesno</source_model>
  31.                             <sort_order>10</sort_order>
  32.                             <show_in_default>1</show_in_default>
  33.                             <show_in_website>1</show_in_website>
  34.                             <show_in_store>1</show_in_store>
  35.                         </product_view_enabled>
  36.                         <attr_id translate="label">
  37.                             <label>Brand Attribute Code</label>
  38.                             <comment>
  39.                                 <![CDATA[Text string with no spaces. Search for that code in Catalog -> Attributes -> Manage Attributes]]>
  40.                             </comment>
  41.                             <frontend_type>text</frontend_type>
  42.                             <sort_order>30</sort_order>
  43.                             <show_in_default>1</show_in_default>
  44.                             <show_in_website>1</show_in_website>
  45.                             <show_in_store>1</show_in_store>
  46.                         </attr_id>
  47.                         <image_extension translate="label">
  48.                             <label>Brand Image File Extension</label>
  49.                             <comment>Without the leading dot.</comment>
  50.                             <frontend_type>text</frontend_type>
  51.                             <sort_order>40</sort_order>
  52.                             <show_in_default>1</show_in_default>
  53.                             <show_in_website>1</show_in_website>
  54.                             <show_in_store>1</show_in_store>
  55.                         </image_extension>
  56.                         <link_search_enabled translate="label">
  57.                             <label>Brand Logo is a Link to Search Results</label>
  58.                             <comment>
  59.                                 <![CDATA[E.g. Microsoft logo will be a link to <strong>catalogsearch/result/?q=microsoft</strong>]]>
  60.                             </comment>
  61.                             <frontend_type>select</frontend_type>
  62.                             <source_model>adminhtml/system_config_source_yesno</source_model>
  63.                             <sort_order>50</sort_order>
  64.                             <show_in_default>1</show_in_default>
  65.                             <show_in_website>1</show_in_website>
  66.                             <show_in_store>1</show_in_store>
  67.                         </link_search_enabled>
  68.                         <page_base_path translate="label">
  69.                             <label>Base Path to Brand's Pages</label>
  70.                             <comment>
  71.                                 <![CDATA[To use this path disable <strong>Brand Logo is a Link to Search Results</strong> option. Path will be appended with the brand's name to create a link to that brand's page.<br/>
  72.                                 - Path is relative to the store root.<br/>
  73.                                 - No leading or trailing slashes.<br/>
  74.                                 - Enter "/" (single slash, without brackets), if no base path is needed.<br/>
  75.                                 - Leave empty if you don't need a link for brand logo.<br/>
  76.                                 - For more details please refer to the user guide.]]>
  77.                             </comment>
  78.                             <frontend_type>text</frontend_type>
  79.                             <sort_order>60</sort_order>
  80.                             <show_in_default>1</show_in_default>
  81.                             <show_in_website>1</show_in_website>
  82.                             <show_in_store>1</show_in_store>
  83.                         </page_base_path>
  84.                         <append_category_suffix translate="label">
  85.                             <label>Append Category URL Suffix</label>
  86.                             <comment>
  87.                                 <![CDATA[If <strong>Category URL Suffix</strong> exists (in System > Configuration > Catalog), it can be appended at the end of the URL of the brand's page. For example: www.example.com/brands/apple<strong style="color:green">.html</strong>]]>
  88.                             </comment>
  89.                             <frontend_type>select</frontend_type>
  90.                             <source_model>adminhtml/system_config_source_yesno</source_model>
  91.                             <sort_order>70</sort_order>
  92.                             <show_in_default>1</show_in_default>
  93.                             <show_in_website>1</show_in_website>
  94.                             <show_in_store>1</show_in_store>
  95.                         </append_category_suffix>
  96.                     </fields>
  97.                 </general>
  98.             </groups>
  99.         </brands>
  100.     </sections>
  101. </config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement