Hi,
ich hab die Suche ausgiebig genutzt und leider nichts passendes gefunden.
Folgendes soll realisiert werden:
Ich will x Visitenkarten anlegen, die den Namen, die Adresse (mit E-Mail und Web) sowie 3 Bilder (1 Logo und 2 Fotos) enthalten. Diese sollen sortiert in einer List-Ansicht untereinander ausgegeben werden.
Jedes Mitglied soll nur seine V-Card ändern können.
Ich will eine Suche einbauen, mit der man nach Stichworten in den V-Cards suchen kann.
Gibt es ein dementsprechendes Modul? Oder einen Lösungsweg?
Es wäre generell auch möglich das ganze in php umzusetzen und einzubinden, ich fänd es jedoch schöner es in Typo3 zu machen.
Homepage gibt es noch nicht, bin zurzeit mit xampp dran da was zu machen.
Hallo,
naja man muss manchmal etwas weiter denken 😉
Ext cwt_community: This extension provides a wide range of community features for frontend users. It mainly consists of the following parts: Userlist, Profile, Profile Administration, Guestbook, Messages, Buddylist, Backend User Administration.
lg georg
Okay, ich schau es mir direkt mal an.
Danke erstmal. 🙂
Gibt es da ein tutorial oder so was zu?
Also, ich hab jetzt dieses plugin installiert. Und ich habe alles gemacht was da in der Anleitung stand.
Wenn ich die PID öffne (also auf Seite index.php?id="Userlist" usw.) gehe sagt er mir nur "Bitte einloggen". Einen Login habe ich bisher nicht, wie mache ich einen? Und wie legt man einen User an?
zB mit der ext newloginbox bzw sr_feuser_register
Es fehlt ein "i" im titel, kann das ein Mod editieren?
Ich hab das Plugin soweit drin, die Userlist funzt leider noch nicht.
Ich müsste danach nur noch die Felder etwas um ändern. Weiß jemand wie das geht?
Mein derzeitiges Problem:
Ich hab das Layout der Vistenkarte in dem Profiltemplate geändert. Aber wenn ich die Userlist anpassen will, benutzt er nicht alle Marker. Ich will ja das die VCards untereinander gezeigrt werden, eine Liste, und wollte dazu die Userlist "mißbrauchen" ... aber er zeigt dann nur die Hälfte der Marker ...
Sohn der Sonne schrieb
... aber er zeigt dann nur die Hälfte der Marker ...
naja sind zuerst alle Marker ersetzt worden? Wenn ja, dann hast du sie zuviel im Template verschoben - auch das Template braucht - insb bei wiederkehrenden Elementen - eine gewisse Struktur, die man dann nur im php-Code anpassen kann
lg georg
Nee, die wurden von Anfang an nicht ersetzt. Ich verusche grade in der PHP Datei (sollte die /p1/.#class.tx_cwtcommunity_pi1.php.1.1 sein hoffe ich) das Marker Array um das der "My Profile" zu erweitern.
Hat geklappt. 🙂
Hänge jetzt daran neue Felder hinzuzufügen.
Sohn der Sonne schrieb
Hat geklappt. 🙂
Hänge jetzt daran neue Felder hinzuzufügen.
tca.php erweitern, locallang entsprechend erweitern, gegebenfalls flexforms erweitern, .sql erweitern, fertig
Aber wie? Um was erweitern?
Was muss ich tun?
Es geht ja noch nicht mal um das Abckend, nur um das Frontedn von CWT Comm. Sollte eigentlich kein Problem sein ... sollte ...
Ich veröffentliche natürlich die gesamte Lösung wenn Sie da ist. 🙂
Unten sieht man was ich änderte.
Datei: p1/class.tx_cwtcommunity_pi1.php
elseif ($CODE == "PROFILE_EDIT"){
//Get the TCA from fe_users
//START CONFIG FOR FEEDIT
$table = "fe_users";
//Create Item array
$items['username']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_USERNAME_LABEL'));
$items['username']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_USERNAME_HELPTEXT'));
$items['username']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_USERNAME_ERRMSG'));
$items['username']['type'] = "preview";
$items['name']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_NAME_LABEL'));
$items['name']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_NAME_HELPTEXT'));
$items['name']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_NAME_ERRMSG'));
$items['password']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_PWD_LABEL'));
$items['password']['label_again'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_PWD_LABELAGAIN'));
$items['password']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_PWD_HELPTEXT'));
$items['password']['helptext_again'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_PWD_HELPTEXTAGAIN'));
$items['password']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_PWD_ERRMSG'));
$items["password"]["type"] = "password";
$items["password"]["eval"] = "twice";
$items['address']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_ADDRESS_LABEL'));
$items['address']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_ADDRESS_HELPTEXT'));
$items['address']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_ADDRESS_ERRMSG'));
$items['zip']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_ZIP_LABEL'));
$items['zip']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_ZIP_HELPTEXT'));
$items['zip']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_ZIP_ERRMSG'));
$items['city']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_CITY_LABEL'));
$items['city']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_CITY_HELPTEXT'));
$items['city']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_CITY_ERRMSG'));
$items['country']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_COUNTRY_LABEL'));
$items['country']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_COUNTRY_HELPTEXT'));
$items['country']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_COUNTRY_ERRMSG'));
$items['company']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_COMPANY_LABEL'));
$items['company']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_COMPANY_HELPTEXT'));
$items['company']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_COMPANY_ERRMSG'));
$items['telephone']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_PHONE_LABEL'));
$items['telephone']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_PHONE_HELPTEXT'));
$items['telephone']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_PHONE_ERRMSG'));
$items['fax']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_FAX_LABEL'));
$items['fax']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_FAX_HELPTEXT'));
$items['fax']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_FAX_ERRMSG'));
$items['email']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_EMAIL_LABEL'));
$items['email']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_EMAIL_HELPTEXT'));
$items['email']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_EMAIL_ERRMSG'));
$items["email"]["eval"] = "email";
$items['www']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_WWW_LABEL'));
$items['www']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_WWW_HELPTEXT'));
$items['www']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_WWW_ERRMSG'));
$items['tx_cwtcommunityuser_image']['label'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_IMAGE_LABEL'));
$items['tx_cwtcommunityuser_image']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_IMAGE_HELPTEXT'));
$items['tx_cwtcommunityuser_image']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_IMAGE_ERRMSG'));
//Edit Danny Faak
//Versuch ein neues Image-Feld hinzuzufügen
//
$items['tx_cwtcommunityuser_ppt']['label'] = htmlspecialchars("MOEP");
$items['tx_cwtcommunityuser_ppt']['helptext'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_IMAGE_HELPTEXT'));
$items['tx_cwtcommunityuser_ppt']['error_msg'] = htmlspecialchars($this->pi_getLL('CWT_PROFILE_EDIT_IMAGE_ERRMSG'));
//Ende Imagefeld
In der TCA.php weiß ich nicht was zu tun ist ... #angry#
und ich werd mir jetzt die Ext anschauen und schauen was du geändert hast? ne... ist aber auch egal!
siehe Core Api bzw manuals bzw videos zum Ext erstellen!
lg georg