Making them work with v1.5.5

This is for those upgrading their picaflor-azul or DIY Responsive templates.

A few major changes to the responsive components.

1 - /includes/classes/Mobile_Detect.php
This was updated to the latest version.

2 - /includes/functions/extra_functions/zca_responsive_functions.php
This was added in v1.5.5

3 - /includes/auto_loaders/config.display_mode.php
This file was removed in v1.5.5 and replaced with config.zca_layout.php

4 - /includes/init_includes/init.display_mode.php
This file was removed in v1.5.5 and replaced with init.zca_layout.php

5 - /includes/templates/responsive_classic/common/html_header.php
The call to include the Mobile_Detect class has changed from:
PHP Code:
if (!class_exists('Mobile_Detect')) {
include_once(
DIR_WS_CLASSES 'Mobile_Detect.php'); 
$detect = new Mobile_Detect;

to:
PHP Code:
if (!class_exists('Mobile_Detect')) {
  include_once(
DIR_WS_CLASSES 'Mobile_Detect.php');
}
  
$detect = new Mobile_Detect;
  
$isMobile $detect->isMobile();
  
$isTablet $detect->isTablet();
  if (!isset(
$layoutType)) $layoutType = ($isMobile ? ($isTablet 'tablet' 'mobile') : 'default'); 
the device specific if statements have changed from:
PHP Code:
if ($detect->isMobile() && !$detect->isTablet() or $detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $_SESSION['display_mode']=='isMobile') {
    echo 
$responsive_mobile;
} else if (
$detect->isTablet() or $detect->isMobile() && $_SESSION['display_mode']=='isTablet' or $detect->isTablet() && $_SESSION['display_mode']=='isTablet' or $_SESSION['display_mode']=='isTablet'){
    echo 
$responsive_tablet;
} else if (
$detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $detect->isTablet() && $_SESSION['display_mode']=='isDesktop' or $_SESSION['display_mode']=='isNonResponsive'){
    echo 
'';
} else {
    echo 
$responsive_default;

to:
PHP Code:
  if ( $detect->isMobile() && !$detect->isTablet() || $_SESSION['layoutType'] == 'mobile' ) {
    echo 
$responsive_mobile;
  } else if ( 
$detect->isTablet() || $_SESSION['layoutType'] == 'tablet' ){
    echo 
$responsive_tablet;
  } else if ( 
$_SESSION['layoutType'] == 'full' ) {
    echo 
'';
  } else {
    echo 
$responsive_default;
  } 
6 - the DIY changes for /admin/layout_controller.php were never ported to v1.5.5
You can download the v1.5.5 layout_controller.php from the GIT link in my signature.

Cheers!