Author Archives: Ben van Kruistum

SCRUM – INVEST

http://en.wikipedia.org/wiki/INVEST_%28mnemonic%29

Posted in Uncategorized | Leave a comment

Extbase validation

Writing a custom validation:

source : http://web-union.de/421

typo3conf/ext/YOUR_EXT/Classes/Validation/Validator/PhoneNumberValidator.php

class Tx_ContactForm_Validation_Validator_PhoneNumberValidator extends Tx_Extbase_Validation_Validator_AbstractValidator
{
public function isValid($value)
{
$this->errors = array();
if(preg_match('#([^0-9\-\+\(\)\s])#', $value))
{
$this->addError('The given subject is no valid value.', 40213131);
return false;
}
return true;
}
}

* @validate Tx_ContactForm_Validation_Validator_PhoneNumberValidator
Posted in Uncategorized | Leave a comment

TYPO3 : sql-mode settings

SQL error: ‘Incorrect integer value: ” for column

Feedback (http://forge.typo3.org/issues/20052)

Posted in TYPO3 | 2 Comments

TYPO3, install tool : Could not connect to SQL database

Install tool says : “Could not connect to SQL database” even when you know for sure that the credentials are correct, in my case i solved it by disabling the¬†dbal extension in the localConfiguration.php file.

Look in the array for the Key ‘EXT’

Posted in TYPO3 | 1 Comment

live optredens Amsterdam

http://www.draaiomjeoren.com/artikelen/amsterdam.html

Posted in Uncategorized | Leave a comment

Premier league online game

http://fantasy.premierleague.com/

Posted in Uncategorized | Leave a comment