four_4x25.inc

  1. cis7 sites/all/themes/ulmus/adaptivetheme/at_core/layouts/panels/four_4x25/four_4x25.inc
  2. cle7 sites/all/themes/ulmus/adaptivetheme/at_core/layouts/panels/four_4x25/four_4x25.inc
  3. ecd7 sites/all/themes/ulmus/adaptivetheme/at_core/layouts/panels/four_4x25/four_4x25.inc
  4. elmsmedia7 sites/all/themes/ulmus/adaptivetheme/at_core/layouts/panels/four_4x25/four_4x25.inc
  5. harmony7 sites/all/themes/ulmus/adaptivetheme/at_core/layouts/panels/four_4x25/four_4x25.inc
  6. icor7 sites/all/themes/ulmus/adaptivetheme/at_core/layouts/panels/four_4x25/four_4x25.inc
  7. meedjum_blog7 sites/all/themes/ulmus/adaptivetheme/at_core/layouts/panels/four_4x25/four_4x25.inc
  8. mooc7 sites/all/themes/ulmus/adaptivetheme/at_core/layouts/panels/four_4x25/four_4x25.inc

Implementation of hook_panels_layouts

Functions

Namesort descending Description
adaptivetheme_four_4x25_panels_layouts @file Implementation of hook_panels_layouts
template_preprocess_four_4x25 Preprocess variables for four-4x25.tpl.php

File

sites/all/themes/ulmus/adaptivetheme/at_core/layouts/panels/four_4x25/four_4x25.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Implementation of hook_panels_layouts
  5. */
  6. function adaptivetheme_four_4x25_panels_layouts() {
  7. $items['four_4x25'] = array(
  8. 'title' => t('AT Four column 4x25'),
  9. 'category' => t('AT Responsive Panels - 4,5,6 column'),
  10. 'icon' => 'four_4x25.png',
  11. 'theme' => 'four_4x25',
  12. 'admin css' => 'four_4x25.admin.css',
  13. 'theme arguments' => array('id', 'content'),
  14. 'regions' => array(
  15. 'four_first' => t('Column 1'),
  16. 'four_second' => t('Column 2'),
  17. 'four_third' => t('Column 3'),
  18. 'four_fourth' => t('Column 4'),
  19. ),
  20. // AT Core
  21. 'type' => 'four',
  22. 'options' => array(
  23. 'four-4x25' => 'default',
  24. 'four-4x25-right-stack' => 'stack right',
  25. 'four-4x25-2x2-grid' => '2x2 grid',
  26. 'four-4x25-stack' => 'stack',
  27. ),
  28. 'styles' => array(
  29. 'four-4x25' => array(
  30. 'css' => array(
  31. '50fl' => array('.four-4x25 > .panel-row > .region,.four-4x25 > .panel-row' => 'width:50%;float:left'),
  32. ),
  33. ),
  34. 'four-4x25-right-stack' => array(
  35. 'css' => array(
  36. '50fl' => array('.four-4x25 > .panel-row,.four-4x25 > .row-2 > .region' => 'width:50%;float:left'),
  37. 'fdw' => array('.four-4x25 > .row-1 > .region' => 'float:none;display:block;width:100%;clear:both'),
  38. ),
  39. ),
  40. 'four-4x25-2x2-grid' => array(
  41. 'css' => array(
  42. '50' => array('.four-4x25 > .panel-row > .region' => 'width:50%'),
  43. 'fdw' => array('.four-4x25 > .panel-row' => 'float:none;display:block;width:100%;clear:both'),
  44. ),
  45. ),
  46. 'four-4x25-stack' => array(
  47. 'css' => array(
  48. 'fdw' => array('.four-4x25 > .panel-row > .region,.four-4x25 > .panel-row' => 'float:none;display:block;width:100%;clear:both'),
  49. ),
  50. ),
  51. ),
  52. );
  53. return $items;
  54. }
  55. /**
  56. * Preprocess variables for four-4x25.tpl.php
  57. */
  58. function template_preprocess_four_4x25(&$vars) {
  59. $vars['panel_prefix'] = '';
  60. $vars['panel_suffix'] = '';
  61. }
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.