fb-pixel

Force mobile devices to use the searchable destination select box offered with the Cab Grid Pro desktop experience

For a number of compatibility reasons, mobile devices use native drop-down menus (HTML <select> boxes) in the Cab Grid Pro user interface to select the pick-up (origin) and destination areas.

The mobile-native select box does not provide some of the advanced features that are available to desktop visitors, such as searching/filtering destinations by typing.

In certain cases, the advanced select box may be preferred. For example, if there are a very high number of destinations.

Native Selector

Advanced Selector

Whilst it is not recommended, it is possible to force mobile devices to use the advanced destination select box. Please note, enabling this feature can result in unexpected behaviour, and we are not able to guarantee results or provide support.

How to enable the advanced destination drop-down on mobile

Enabling this feature is done via advanced settings or the free Defaults Add-on plugin. To do so, the value of the variable “$cabGridProNativeMobileSelect” must be set to “n” as follows:

$cabGridProNativeMobileSelect="n";

Note: Cab Grid Pro version 5.3.1 or higher is required to use this feature.

Step by step (_settings.php)

  1. In the WordPress Admin panel for the site, under the admin menu on the left, go to Plugins > Plugin Editor
  2. From the ‘Select plugin to edit‘ drop-down, select ‘Cab Grid Pro‘ and click SELECT
  3. Click the _settings.php file under Plugin Files. This loads the file source code in the editor pane.
  4. Find the line containing the variable ‘$cabGridProNativeMobileSelect‘ and change the ‘y‘ value to ‘n
  5. Click UPDATE FILE at the bottom

Note 1: Plugin and theme editing must be enabled in wp-config.php.
Note 2: Any future update to Cab Grid Pro that is installed will over-write any changes made to _settings.php, hence it is advisable to use the free Defaults Add-on plugin if possible.

Using the Defaults Add-on to disable the native drop-down on mobile

There are a number of ways the Defaults add-on can be modified. Probably the easiest is to

  1. Upload the Defaults add-on plugin ZIP file as if installing a new plugin.
  2. Activate the Defaults Add-on Plugin as with any plugin
  3. Follow the step by step instructions above, except choose ‘Cab Grid Defaults‘ from the ‘Select plugin to edit‘ box.

Alternatively, unzip the plugin file locally, edit it locally, and upload it to the WordPress plugins folder (usually wp-content/plugins/) on the server using an FTP client application.

Tags: , , , , , , , ,

x
  •  
  • Discount/Promo Code
  • Extras

    Select additional items to add to your booking

    • Water

      Water

      Chilled mineral water

      -+

      $1.49


No price found for this journey