<label class="uk-hidden">Leave this field empty:</label>
<input class="uk-hidden" type="text" name="phoneNumber6tY4bPYk" autocomplete="off" />```
# css
.uk-hidden {
<!-- Test --> |
<?php | |
class eventevent1 extends SectionEvent | |
{ | |
public $ROOTELEMENT = 'event1'; | |
public $eParamFILTERS = array( | |
); | |
public function priority(){ |
<!-- | |
Usecase example: You have a section and you want to replace a textbox field with a number field. | |
1. Create a datasource which loads the section and the oldfield | |
2. Add the datasource to a page with this html | |
3. Create an event with allow multiple | |
Tip: you can use paging 500 records {$url-page} in your datasource and ?page=1 in your url. | |
--> | |
<form method="post" action="{$current-url}/?debug" enctype="multipart/form-data"> | |
<input name="MAX_FILE_SIZE" type="hidden" value="5242880000" /> |
<!-- | |
Usecase example: You want to unset the price filter if the $url-price is 0 | |
--> | |
<?php | |
class datasourceds1 extends SectionDatasource | |
{ | |
public $dsParamROOTELEMENT = 'ds1'; | |
public $dsParamORDER = '{$url-order:desc}'; | |
public $dsParamPAGINATERESULTS = 'yes'; | |
public $dsParamLIMIT = '20'; |
<!-- | |
Usecase example: | |
--> | |
public function allowEditorToParse() | |
{ | |
return false; | |
} | |
public function execute(array &$param_pool = null) |
<?php | |
class datasourcedsRoles extends SectionDatasource | |
{ | |
public $dsParamROOTELEMENT = 'dsRoles'; | |
public $dsParamCACHE = -1; | |
public $dsParamFILTERS = array( | |
in the config.php add to the log settings the following line 'filter' => 24575, |
1. extension.meta.xml | |
<release version="2.1.3" date="2018-10-01" min="2.4" max="2.x.x"> |
<?php | |
Class contentExtensionReferencelinkAutocomplete extends AjaxPage{ | |
public function handleFailedAuthorisation(){ | |
$this->_status = self::STATUS_UNAUTHORISED; | |
$this->_Result = json_encode(array('status' => __('You are not authorised to access this page.'))); | |
} | |
public function view(){ |