Thank you for purchasing QRcdr.
If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here
Thanks so much!

veno.es/qrcdr

## Installation

Copy all files and folders from /qrcdr directory to your web space via FTP (put everything in the root if you will use the whole domain as file manager, otherwise create a custom directory and upload everything in it).

Navigate with your browser to the url where you uploaded the files.

That’s all! You are ready to use QRcdr with its default settings.

## Options

Default settings are adjustable inside the file `config.php`:

    $_CONFIG = array(
        'lang' => 'en',                            // main language
        'uploads_dir' => 'temp',                   // uploads directory
        'qrcodes_dir' => 'qrcodes',                // qr codes directory
        'delete_old_files' => true,                // delete periodically old files
        'file_lifetime' => 24,                     // delete files older than..(hours) from /uploads_dir and /qrcodes_dir
        'uploader' => true,                        // let users upload their own logo
        'upload_max_filesize' => 1000,             // max filesize in Kb
        'thumb_size' => 130,                       // size of the squared thumbnail after uploads
        'qr_bgcolor' => '#FFFFFF',                 // default background color for generated qrcodes
        'qr_color' => '#000000',                   // default foreground color for generated qrcodes
        'session_name' => 'qrSession',             // custom session name for the script
        'placeholder' => 'images/placeholder.png', // default placeholder
        'link' => true,                            // activate link tab
        'location' => true,                        // activate location tab
        'email' => true,                           // activate email tab
        'text' => true,                            // activate text tab
        'tel' => true,                             // activate telephone tab
        'sms' => true,                             // activate sms tab
        'wifi' => true,                            // activate wifi tab
        'vcard' => true,                           // activate v-card tab
        'paypal' => true,                          // activate PayPal tab
        'bitcoin' => true,                         // activate BitCoin tab
        'whatsapp' => true,                        // activate WhatsApp tab
        'default_tab' => '#link',                  // available options: #link | #location | #email | #text | #sms | #wifi | #vcard | #paypal | #bitcoin | #whatsapp
        'detect_browser_lang' => false,            // detect browser language
        'google_api_key' => 'YOUR-API-KEY',        // https://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-key
        'color_primary' => false,                  // main color, used for buttons and header background. set a #hex color or false to get random colors
        );

## Watermarks

If you want to change or hide default watermarks, simply replace or remove the images inside `images/watermarks/`

.jpg, .gif, .png file are accepted

## Location

Google Map needs an API KEY, so if you enable the tab Location you must get one api key here:
https://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-key
and copy it inside the file config.php

If you want to change the default location shown by Google map, open `js/all.js`, around line 39.

    var start = new google.maps.LatLng(40.7127837, -74.00594130000002);

## Customization

The attribute `'color_primary'` inside the file config.php will set the main color for all the buttons and on the header background.

Since version 3.0 you have two starter templates called header.php and footer.php, located inside the folder /template/
Edit their contents or remove them if you don't need that

## Manage translations

If you want to add your custom language, duplicate and rename the file `lang/en.php` using the 2-letters ISO code desired and update also the value `'lang' => 'en'` inside your main config file `config.php`

Language menu is displayed with the following function:

    <?php echo langMenu(); ?>

you can choose if display it as dropdown menu (default) or as simple list, and set a custom class:

    <?php echo langMenu('list', 'customclass'); ?>

The first variable can be 'menu' or 'list', the second is an optional custom class assigned to language menu (default: 'langmenu')

All translatable terms, including page title, description, and meta-keywords are inside the respective .php file in /translations/ folder.

default: /translations/en.php

## Embed

You can embed your self hosted generator everywhere using iframes:

    <iframe width="100%" src="http://www.example.com/qrcdr/" ></iframe>

## Notes

Print media styles, Typography, Forms and Tables are based on Bootstrap v4

Icons are based on Font Awesome 4.7