PHP code example of hschottm / contao-textwizard

1. Go to this page and download the library: Download hschottm/contao-textwizard library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hschottm / contao-textwizard example snippets


'matrixrows' => array
(
  'label'                   => &$GLOBALS['TL_LANG']['tl_survey_question']['matrixrows'],
  'exclude'                 => true,
  'inputType'               => 'textwizard',
  'eval'                    => array(
    'allowHtml'             => true,
    'decodeEntities'        => true,
    'buttonTitles'          => array(
      'new'                 => $GLOBALS['TL_LANG']['tl_survey_question']['buttontitle_matrixrow_new'],
      'copy'                => $GLOBALS['TL_LANG']['tl_survey_question']['buttontitle_matrixrow_copy'],
      'delete'              => $GLOBALS['TL_LANG']['tl_survey_question']['buttontitle_matrixrow_delete']
    )
  ),
  'sql'                     => "blob NULL"
),