Hallo zusammen,
folgende Situation: Ich benutze sr_feuser_register zur Verwaltung von FE-Benutzerprofilen. Nun möchte ich mittels cwt_community eine Liste aller User anzeigen lassen. Der User kann bei cwt_community selber entscheiden, ob andere seine detaillierte Profilseite einsehen können oder nicht. Es ist theoretisch möglich, die Profilverwaltung komplett über cwt_community zu gestalten, was ich aber nicht möchte. Vorteil aber: In der Tabelle fe_user ist bereits das Feld (tx_cwtcommunityuser_profile_access) von der Extension angelegt worden.
Das ganze soll im Template von sr_feuser_register als Dropdown ausgegeben werden ("Für alle sichtbar", "Nur für Dich sichtbar"), analog zur Profilverwaltung via cwt_community. Ins Template habe ich folgenden neuen Passus eingefügt:
<!-- ###SUB_INCLUDED_FIELD_tx_cwtcommunityuser_profile_access### -->
<dt>
<label for="tx-srfeuserregister-pi1-tx_cwtcommunityuser_profile_access" onclick="document.getElementById(this.htmlFor).focus(); return false;">###LABEL_TX_CWTCOMMUNITYUSER_PROFILE_ACCESS### ###REQUIRED_TX_CWTCOMMUNITYUSER_PROFILE_ACCESS###</label>
</dt>
<dd>
<!-- ###SUB_ERROR_FIELD_tx_cwtcommunityuser_profile_access### -->
<p class="tx-srfeuserregister-pi1-error">###EVAL_ERROR_FIELD_tx_cwtcommunityuser_profile_access###</p>
<!-- ###SUB_ERROR_FIELD_tx_cwtcommunityuser_profile_access### -->
<!-- ###SUB_REQUIRED_FIELD_tx_cwtcommunityuser_profile_access### -->
<p class="tx-srfeuserregister-pi1-error">###MISSING_TX_CWTCOMMUNITYUSER_PROFILE_ACCESS###</p>
<!-- ###SUB_REQUIRED_FIELD_tx_cwtcommunityuser_profile_access### -->
###TCA_INPUT_tx_cwtcommunityuser_profile_access###
</dd>
<!-- ###SUB_INCLUDED_FIELD_tx_cwtcommunityuser_profile_access### -->
Anstatt eines Dropdownmenüs erscheint nur der Marker ###TCA_INPUT_tx_cwtcommunityuser_profile_access###. Ich habe während meiner Rechereche im Netz herausgefunden, daß irgendwo noch
if (TYPO3_MODE==’FE’){
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_feuser_register']['extendingTCA'][] = ‘my_new_ext’;
}
'rein muß. Kann mir einer bitte weiterhelfen und sagen wo bzw. ob das überhaupt stimmt?
Danke und Grüße,
Katharina