Jambook Required Fields - Joomla! Forum - community, help and support


hi all,

i'm using jambook, don't want have fill in title each message.

i found piece of code in jambook.class.php:

function check() {
if ( trim( $this->title ) == '' ) {
$this->_error = _jx_err_notitle;
return false;
}
if ( trim( $this->content ) == '' ) {
$this->_error = _jx_err_nocontent;
return false;
}
if ( trim( $this->email ) && !checkemailjx( $this->email ) ) {
$this->_error = _jx_err_emailinvalid;
return false;
}
return true;
}

so thought deleting title piece solution, didn't help.

does have idea do?






Comments

Popular posts from this blog

Help with codes to add 1 more shift register and add more to matrix LED

tcp client

Is there an HTML component in Flex 2.0?