[TYPO3-german] femanager, neue Felder mal wieder

Mikel lists at con-version.com
Fri Nov 4 09:24:51 CET 2016


Kannst Du mal alle Caches löschen? Zumindest in Deinem Auszug hast Du garkeinen Verweis mehr auf den nicht gefundenen ViewHelper.
Gibt es den ViewHelper unter Form\Textarea überhaupt? 
Du findest die ViewHelper einer Extension unter Classes\ViewHelpers. Schau Dir dort die Namespaces und Klassennamen an. Diese müssten in Fluid richtig wiedergegeben werden. 
Das Model spielt an dieser Stelle keine Rolle. Die Fehlermeldung bezieht sich nur auf einen nicht gefundenen ViewHelper.

> Am 02.11.2016 um 13:35 schrieb Sam Coco <sam at crazy-coconut.com>:
> 
> 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;
>       }
> 
> }
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list