PHP code example of cpsit / t3events-template

1. Go to this page and download the library: Download cpsit/t3events-template 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/ */

    

cpsit / t3events-template example snippets


CPSIT\T3eventsTemplate\Utility\TableConfiguration::registerTemplateEnabledType(
  '1', 
  'event_type,headline,subtitle,teaser,description,content_elements,images,image,files,related,
               sys_language_uid,audience,organizer,genre,venue,keywords,performances,
               l10n_parent, l10n_diffsource,new_until,archive_date,hidden,starttime,endtime,fe_group,categories'
);

CPSIT\T3eventsTemplate\Utility\TableConfiguration::hideFieldsInNewRecords(
  'foo', 'bar'
 );