This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// (In localconf.php): | |
$TYPO3_CONF_VARS['SYS']['displayErrors'] = '1'; | |
// OR | |
$TYPO3_CONF_VARS['SYS']['displayErrors'] = '2'; | |
$TYPO3_CONF_VARS['SYS']['devIPmask'] = 'Ihre IP Adresse'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ini_set('display_errors', 1); | |
error_reporting(E_ALL ^ E_NOTICE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//in Repository | |
/** | |
* Findby Categories | |
* | |
* @param type $categories | |
* @return type | |
*/ | |
public function findByCategories($categories) { | |
$query = $this->createQuery(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO new_table (Foo,Bar,Fizz,Buzz) | |
SELECT Foo,Bar,Fizz,Buzz | |
FROM old_table |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* * * * * * | |
| | | | | | | |
| | | | | +-- Year (range: 1900-3000) | |
| | | | +---- Day of the Week (range: 1-7, 1 standing for Monday) | |
| | | +------ Month of the Year (range: 1-12) | |
| | +-------- Day of the Month (range: 1-31) | |
| +---------- Hour (range: 0-23) | |
+------------ Minute (range: 0-59) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("span.mailto").each(function(){ | |
var at = / at /; | |
var dot = / dot /g; | |
var addr = $(this).text().replace(at,"@").replace(dot,"."); | |
$(this).after('<a href="mailto:'+addr+'" title="E-Mail senden">'+ addr +"</a>"); | |
$(this).remove(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<f:form object="{tx_caddownload_caddownload}" objectName="search" action="showDownloadSearch"> | |
<label for="search">Suchbegriff:</label> | |
<f:form.textfield property="criteria" type="text" class="form-control" id="cad-search-input" /> z.B.: "SW11 BA MD01" oder "Anschluss" | |
<f:form.submit value="Suche starten >" /> | |
</f:form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Mobile */ | |
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) { | |
} | |
/* Tablet Portrait */ | |
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { | |
} | |
/* Tablet Landscape */ | |
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Connect to the Database by TYPO3_DB */ | |
/** @var DatabaseConnection $db */ | |
$db = $GLOBALS['TYPO3_DB']; | |
//Execute Query | |
$result = $db->exec_SELECTgetRows('SELECT * FROM tx_test_tabelle'); | |
//Get Results | |
return $result; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($('.vimeo-iframe').length > 0) { | |
oWindowWidth = $(window).outerWidth(); | |
oWindowHeight = $(window).outerHeight(); | |
windowWidth = $(window).outerWidth() - 10; | |
windowHeight = $(window).outerHeight() - 128; | |
wCalc = ((windowWidth * 100)/1280); | |
hCalc = ((windowHeight * 100)/720); | |
rwCalc = 1280 * (hCalc/100); | |
rhCalc = 720 * (wCalc/100); | |
if (oWindowWidth < 1280) { |