SproutCMS

This is the code documentation for the SproutCMS project

source of /skin/default/config/sprout.php

Configuration for Sprout
  1. <?php
  2. /**
  3.  * Configuration for Sprout
  4.  * @package Kohana
  5.  */
  6.  
  7. /**
  8.  * The site title
  9.  */
  10. $config['site_title'] = 'Sprout3 test';
  11.  
  12.  
  13. /**
  14.  * The email address that emails are sent from.
  15.  * Default is no-reply @ the server name with any www part removed.
  16.  */
  17. $config['site_email'] = 'no-reply@' . str_replace('www.', '', $_SERVER['SERVER_NAME']);
  18.  
  19.  
  20. /**
  21.  * The site ABN number. Exclude the leading ABN text
  22.  * Eg. "12 345 678 910", not ABN 12 345 678 910.  
  23.  */
  24. $config['site_abn'] = '';
  25.  
  26. /**
  27.  * Twitter account name, used in social meta data.
  28.  * Don't include the leading @
  29.  * Example: 'KarmabunnyWeb'
  30.  */
  31. $config['site_twitter'] = '';
  32.  
  33.  
  34. /**
  35.  * Image gallery widget
  36.  */
  37. $config['image_gallery'] = array(
  38. 'thumb_size_2' => 'c600x600',
  39. 'thumb_size_3' => 'c400x400',
  40. 'thumb_size_4' => 'c300x300',
  41. 'thumb_size_5' => 'c220x220',
  42. 'full_size' => 'm800x600',
  43. 'slider_size' => 'c800x450'
  44. );
  45.  
  46.  
  47. /**
  48.  * Social media page links
  49.  * Example format:
  50.  * 'facebook' => 'https://www.facebook.com/KarmabunnyWebDesign'
  51.  * Example usage:
  52.  * <?php echo SocialNetworking::pageLink('facebook'); ?>Facebook</a>
  53.  */
  54. $config['social_media'] = array(
  55. 'facebook' => '',
  56. 'twitter' => '',
  57. 'youtube' => '',
  58. 'instagram' => '',
  59. 'pinterest' => '',
  60. );
  61.  
  62.  
  63. /**
  64.  * The format string which builds the browser title.
  65.  * Coders may recognise the use of sprintf style foratting, and they would be correct.
  66.  *
  67.  * Replacements:
  68.  * %1$s - The page title
  69.  * %2$s - The site title
  70.  *
  71.  * The default results in something like "About us | Karmabunny"
  72.  */
  73. $config['browser_title'] = '%1$s | %2$s';
  74.  
  75.  
  76. /**
  77.  * Whether the navigation should show a 'home' link at the start or not
  78.  */
  79. $config['nav_home'] = true;
  80.  
  81.  
  82. /**
  83.  * The maximum number of top-level navigation items to show
  84.  */
  85. $config['nav_limit'] = 7;
  86.  
  87.  
  88. /**
  89.  * Specify the number of nav groups for each top-level page id
  90.  * The actual group *names* are managed in the admin
  91.  * Syntax is page_id => num_groups / columns
  92.  * Example:
  93.  *
  94.  * $config['nav_groups'] = array(
  95.  * '2' => 3,
  96.  * '3' => 2,
  97.  * );
  98.  */
  99. $config['nav_groups'] = null;
  100.  
  101.  
  102. /**
  103.  * Which of the "extra" fields to show when managing menu groups
  104.  */
  105. $config['nav_extras'] = array(
  106. 'text' => false,
  107. 'image' => true,
  108. );
  109.  
  110.  
  111. /**
  112. * Override the dropdown logic for a given top-level page in the mega menu
  113. * Format:
  114. * Key Top-level page id
  115. * Val Callable method (cannot be inline)
  116. * Example:
  117. * 2 => 'specials::menu_dropdown',
  118. * The callback method should have the same signature as {@see navigation_menu::sub_menu}
  119. **/
  120. $config['nav_custom_dropdown'] = array(
  121. );
  122.  
  123.  
  124. /**
  125.  * Allows the top-level nav to be re-ordered.
  126.  * Remote logins can always do re-ordering.
  127.  */
  128. $config['nav_reorder'] = false;
  129.  
  130.  
  131. /**
  132.  * The size, in pixels, to show the richtext area in the admin.
  133.  * Only applies to pages.
  134.  */
  135. $config['admin_richtext_width'] = 700;
  136. $config['admin_richtext_height'] = 500;
  137.  
  138.  
  139. /**
  140.  * The maximum menu depth of the PMM2 menu
  141.  * 1 - no slideout
  142.  * 2 - single level of slideout
  143.  * 3 - two levels of slideout
  144.  * etc
  145.  **/
  146. $config['pmm2_depth'] = 2;
  147.  
  148.  
  149. /**
  150.  * Sets the heading to be above related links.
  151.  * This heading can contain HTML - typically H2 tags, but other HTML is legal too.
  152.  * Anywhere where the string SECTION is found, it will be replaced with the top-parent name.
  153.  */
  154. $config['related_heading'] = '<h3 class="widget-title">SECTION</h3>';
  155.  
  156.  
  157. /**
  158. * Widget heading/title
  159. * This heading can contain HTML - typically H2 tags, but other HTML is legal too.
  160. * Anywhere where the string TITLE is found, it will be replaced with the user given widget heading
  161. */
  162. $config['widget_title'] = '<h2 class="widget-title">TITLE</h2>';
  163.  
  164.  
  165. /**
  166.  * Whether the top-parent should be shown in the related links
  167.  * TRUE for page name, A string for something else, or FALSE to not show at all
  168.  */
  169. $config['related_top'] = true;
  170.  
  171.  
  172. /**
  173.  * Max depth of related links
  174.  */
  175. $config['related_max_depth'] = 2;
  176.  
  177.  
  178. /**
  179.  * Front-end site search - the number of results to show per page
  180.  **/
  181. $config['search_per_page'] = 10;
  182.  
  183.  
  184. /**
  185.  * The profile id of this site in Google Analytics
  186.  * Example 'UA-6624788-6'
  187.  **/
  188. $config['google_analytics_id'] = '';
  189.  
  190.  
  191. /**
  192.  * Default locale for currency, address display, etc
  193.  */
  194. $config['locale'] = 'AUS';
  195.  
  196.  
  197. /**
  198.  * Any libaries which should be ignored by Needs::fileGroup
  199.  * Only actually useful if you are using mediamush
  200.  */
  201. $config['dont_need'] = array();
  202.  
  203.  
  204. /**
  205.  * Available skin views for pages.
  206.  */
  207. $config['skin_views'] = array(
  208. 'skin/inner' => 'Standard',
  209. 'skin/wide' => 'Full-width',
  210. );
  211.  
  212.  
  213. /**
  214.  * View type - PHP or Twig.
  215.  */
  216. $config['skin_views_type'] = 'php';
  217.  
  218.  
  219. /**
  220.  * Widget wrapper templates
  221.  * Eg: 'skin/partials/demo_wrap' => 'Demo wrap'
  222.  * Your partial must contain HTML with the merge tag: {{widget}}
  223.  * to be replaced with the actual widget's HTML
  224.  */
  225. $config['widget_templates'] = array(
  226. );
  227.