Send-a-Card (sr sendcard): Unterschied zwischen den Versionen
Aus Wikizone
Kholja (Diskussion | Beiträge) |
Kholja (Diskussion | Beiträge) |
||
| (4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| − | |||
== Einrichten des e-card Moduls Send-A-Card == | == Einrichten des e-card Moduls Send-A-Card == | ||
* Extension installieren. Versionen vor Typo3 4.0 benötigen die Versionsnummer 2.0.3 | * Extension installieren. Versionen vor Typo3 4.0 benötigen die Versionsnummer 2.0.3 | ||
| Zeile 22: | Zeile 21: | ||
previewPID = your_page_id | previewPID = your_page_id | ||
| − | === Musik | + | === Musik === |
| − | Verzeichnis erstellen, evt. die Beispiel-Dateien reinkopieren | + | Verzeichnis erstellen, evt. die Beispiel-Dateien reinkopieren (Mididateien...) |
| − | + | Ordner angeben | |
| + | |||
| + | plugin.tx_srsendcard_pi1.musicDir=fileadmin/sendcard/music | ||
| + | |||
| + | Abschalten mit: | ||
plugin.tx_srsendcard_pi1.disableMusic | plugin.tx_srsendcard_pi1.disableMusic | ||
| Zeile 30: | Zeile 33: | ||
=== Zeitgesteuertes Versenden === | === Zeitgesteuertes Versenden === | ||
Setup pi1/cardmailer.php as a Cron task on your server. The task may be set to be executed every hour or every day. If you disable the date selection option | Setup pi1/cardmailer.php as a Cron task on your server. The task may be set to be executed every hour or every day. If you disable the date selection option | ||
| − | disableSendDate = 1 | + | |
| − | + | plugin.tx_srsendcard_pi1.disableSendDate = 1 | |
| + | |||
| + | then you do not need to setup this Cron task. The Cron task should be set with the id parameter equal to the value of the viewPID property: | ||
pi1/cardmailer.php?id=viewPID | pi1/cardmailer.php?id=viewPID | ||
| Zeile 37: | Zeile 42: | ||
(replacing viewPID with the actual value). | (replacing viewPID with the actual value). | ||
| − | + | == Beispiel Setup == | |
| − | |||
Constants: | Constants: | ||
| + | <pre> | ||
plugin.tx_sr_sendcard_pi1.createPID=16 | plugin.tx_sr_sendcard_pi1.createPID=16 | ||
plugin.tx_srsendcard_pi1.date_stdWrap = %d.%m.%Y um %H:%M Uhr | plugin.tx_srsendcard_pi1.date_stdWrap = %d.%m.%Y um %H:%M Uhr | ||
| Zeile 50: | Zeile 55: | ||
plugin.tx_srsendcard_pi1.oldYear = 2006 | plugin.tx_srsendcard_pi1.oldYear = 2006 | ||
plugin.tx_srsendcard_pi1.oldMonth = 3 | plugin.tx_srsendcard_pi1.oldMonth = 3 | ||
| + | plugin.tx_srsendcard_pi1.disableMusic = 0 | ||
| + | plugin.tx_srsendcard_pi1.disableSendDate = 1 | ||
| + | plugin.tx_srsendcard_pi1.enableHTMLMail = 1 | ||
| + | # Für Captcha muß freecap installiert sein | ||
| + | plugin.tx_srsendcard_pi1.useCAPTCHA = 1 | ||
| + | </pre> | ||
| + | |||
| + | == Konfiguration == | ||
| + | |||
| + | Beispiele: | ||
| + | |||
| + | plugin.tx_srsendcard_pi1... | ||
| + | file.templateFile: the location of your HTML template; | ||
| + | |||
| + | dir: the directory where postcard images will be stored by the plugin; by default: uploads/tx_srsendcard, created during installation of the extension; | ||
| + | |||
| + | musicDir: directory where you will store music files; | ||
| + | |||
| + | cardMusicFiles: list of music file names; must be the same length (and same order!) as the length of the list card_music_labels in pi1/locallang.xml (maybe overridden in TS setup, see Localization); | ||
| + | |||
| + | createPID, formPID, previewPID, viewPID and printPID: the page id's where the plugin will be inserted, and corresponding createType, formType, previewType, viewType and printType; | ||
| + | |||
| + | cardFontfaces: if you override the default list, make sure to modify correspondingly the property fontface_labels in pi1/locallang.xml by overriding it in your TS setup (see Localization); | ||
| + | |||
| + | enableAlternateSelectionTemplate: set to 1, if you want to enable the possibility of displaying multiple cards series within the same content element (same plugin insert). | ||
Aktuelle Version vom 22. Mai 2006, 16:58 Uhr
Einrichten des e-card Moduls Send-A-Card[Bearbeiten]
- Extension installieren. Versionen vor Typo3 4.0 benötigen die Versionsnummer 2.0.3
- zusätzlich u.U. freeCap oder Captcha libary installiern. Die neue Version unterstützt freeCap.
- Das statische Template für die Darstellung installieren (am Besten CSS-styled)
- Eine Seite erstellen und ein Inhaltselement mit dem Plugin erstellen. Hier kann der User seine Karte erstellen.
- Eine Seite erstellen wo der Empfänger seine Karte angucken kann. Das kann auch die gleiche Seite sein. Optional kann man auch noch eine Druckseite erstellen. Auf jeder dieser 3 Seiten muß einmal das Plugin eingefügt werden.
- TS template properties setzen: createPID, viewPID und printPID müssen auf die neu erstellten Seiten gesetzt werden.
Auswahl von Motiv-Serien[Bearbeiten]
Das ist mit einer Form Filling Page möglich, auf der man die Serien auswählt. Auf der Seite wird wie immer das Plugin eingefügt und im TS die folgende Zeile hinzugefügt:
plugin.tx_srsendcard.formPID = your_page_id
Vorschauseite[Bearbeiten]
Eine Seite erstellen und im TS:
previewPID = your_page_id
Musik[Bearbeiten]
Verzeichnis erstellen, evt. die Beispiel-Dateien reinkopieren (Mididateien...) Ordner angeben
plugin.tx_srsendcard_pi1.musicDir=fileadmin/sendcard/music
Abschalten mit:
plugin.tx_srsendcard_pi1.disableMusic
Zeitgesteuertes Versenden[Bearbeiten]
Setup pi1/cardmailer.php as a Cron task on your server. The task may be set to be executed every hour or every day. If you disable the date selection option
plugin.tx_srsendcard_pi1.disableSendDate = 1
then you do not need to setup this Cron task. The Cron task should be set with the id parameter equal to the value of the viewPID property:
pi1/cardmailer.php?id=viewPID
(replacing viewPID with the actual value).
Beispiel Setup[Bearbeiten]
Constants:
plugin.tx_sr_sendcard_pi1.createPID=16 plugin.tx_srsendcard_pi1.date_stdWrap = %d.%m.%Y um %H:%M Uhr plugin.tx_srsendcard_pi1.locale_all = de_DE plugin.tx_srsendcard_pi1.cardPresentationOrder = manual plugin.tx_srsendcard_pi1.siteEmail = info@geo-bit.de plugin.tx_srsendcard_pi1.siteName = WebMyNet - Typo3 Lösungen und Hosting plugin.tx_srsendcard_pi1.viewPID = 18 plugin.tx_srsendcard_pi1.oldYear = 2006 plugin.tx_srsendcard_pi1.oldMonth = 3 plugin.tx_srsendcard_pi1.disableMusic = 0 plugin.tx_srsendcard_pi1.disableSendDate = 1 plugin.tx_srsendcard_pi1.enableHTMLMail = 1 # Für Captcha muß freecap installiert sein plugin.tx_srsendcard_pi1.useCAPTCHA = 1
Konfiguration[Bearbeiten]
Beispiele:
plugin.tx_srsendcard_pi1...
file.templateFile: the location of your HTML template;
dir: the directory where postcard images will be stored by the plugin; by default: uploads/tx_srsendcard, created during installation of the extension;
musicDir: directory where you will store music files;
cardMusicFiles: list of music file names; must be the same length (and same order!) as the length of the list card_music_labels in pi1/locallang.xml (maybe overridden in TS setup, see Localization);
createPID, formPID, previewPID, viewPID and printPID: the page id's where the plugin will be inserted, and corresponding createType, formType, previewType, viewType and printType;
cardFontfaces: if you override the default list, make sure to modify correspondingly the property fontface_labels in pi1/locallang.xml by overriding it in your TS setup (see Localization);
enableAlternateSelectionTemplate: set to 1, if you want to enable the possibility of displaying multiple cards series within the same content element (same plugin insert).