[TYPO3-german] femanager, neue Felder mal wieder
Sam Coco
sam at crazy-coconut.com
Wed Nov 2 13:35:49 CET 2016
Could not analyse class:In2\Femanager\ViewHelpers\Form\TextViewHelper maybe not loaded or no autoloader?
Ich habe das Feld "intro" als zusätzliches Textfeld angelegt. Wähle ich in der Partials/Intro.html "textfield" funktioniert es, aber halt nur einzeilig. Wähle ich "textarea" kriege ich die o. g. Fehlermeldung. Kann jemand weiter helfen? Ach ja, dieselbe Fehlermeldung kriege ich beim Anlegen eines Select - Feldes.
Intro.html
{namespace femanager=In2\Femanager\ViewHelpers}
<div class="femanager_fieldset control-group">
<label for="intro" class="control-label">
Introduction
</label>
<div class="controls">
<femanager:form.textarea
id="intro"
property="intro"
class="input-block-level"
additionalAttributes="{femanager:Misc.FormValidationData(settings:'{settings}',fieldName:'intro')}" />
</div>
</div>
ext/femanagerextended/Classes/Domain/Model/User.php
<?php
namespace In2\Femanagerextended\Domain\Model;
class User extends \In2\Femanager\Domain\Model\User {
/**
* twitterId
*
* @var string
*/
protected $twitterId;
/**
* skypeId
*
* @var string
*/
protected $skypeId;
/**
* intro
*
* @var string
*/
protected $intro;
/**
* Returns the twitterId
*
* @return string $twitterId
*/
public function getTwitterId() {
return $this->twitterId;
}
/**
* Sets the twitterId
*
* @param string $twitterId
* @return void
*/
public function setTwitterId($twitterId) {
$this->twitterId = $twitterId;
}
/**
* Returns the skypeId
*
* @return string $skypeId
*/
public function getSkypeId() {
return $this->skypeId;
}
/**
* Sets the skypeId
*
* @param string $skypeId
* @return void
*/
public function setSkypeId($skypeId) {
$this->skypeId = $skypeId;
}
/**
* Returns the intro
*
* @return string $intro
*/
public function getIntro() {
return $this->intro;
}
/**
* Sets the intro
*
* @param string $intro
* @return void
*/
public function setIntro($intro) {
$this->intro = $intro;
}
/**
* @param string $username
*/
public function setUsername($username) {
$this->username = $username;
}
}
More information about the TYPO3-german
mailing list