Send-a-Card (sr sendcard): Unterschied zwischen den Versionen

Aus Wikizone
Wechseln zu: Navigation, Suche
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 43: Zeile 42:
 
(replacing viewPID with the actual value).
 
(replacing viewPID with the actual value).
  
=== Beispiel Setup ===
+
== Beispiel Setup ==
  
 
Constants:
 
Constants:
Zeile 59: Zeile 58:
 
plugin.tx_srsendcard_pi1.disableSendDate = 0
 
plugin.tx_srsendcard_pi1.disableSendDate = 0
 
</pre>
 
</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).

Version vom 22. Mai 2006, 16:53 Uhr

Einrichten des e-card Moduls Send-A-Card

  • 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

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

Eine Seite erstellen und im TS:

previewPID = your_page_id

Musik

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

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

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 = 0

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).