Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.3. Configuration

The extension is highly configurable but still very simple, all the common things: Templates and Typscript.

Templates

Everything you see in this extension is based on templates. So you can change it.

Important to know: DON'T change the ids/names of elements in the form because it will break the the whole thing!

TS-Reference

Property:

Data type:

Description:

Default:

templateFile

string

The template for the extension

EXT:rgecard/res/template.html

pid

int

The page where the ecards are saved

getEcard

int

The page where the Admin Panel is saved to activate and retrieve ecards

copyEcard

string

An email address to which a copy of the ecard is sent (after it has been seen the 1st time)

doubleOptIn

boolean

If activated the sender needs to activate the ecard and then it is sent to the receiver.

If deactivated the receiver gets the ecard directly

1

check.email

boolean

If activated the email addresses are checked before sending the ecard

1

check.msg_min_char

int

Minimum characters of the message

10

check.name_min_char

int

Minimum characters of the name

5

timeBetweenEntries

int

Time in seconds a user can send an Ecard with the same message to the same receiver.

60

sender.

array

Configuration for the email to the sender (if doubleOptIn = 1)

sender {

  defaultSender = Georg Ringer Ecard System

  defaultEmail = rgecard@ringerge.org

  defaultSubject = Activate the Ecard

}

receiver.

array

Configuration for the email to the receiver

receiver {

defaultSender = Georg Ringer Ecard System

defaultEmail = rgecard@ringerge.org

defaultSubject = You got an Ecard!

}  

admin.

array

Configuration for the email to the Admin (if copyEcard set)

admin {

defaultSender = Georg Ringer Ecard System

defaultEmail = rgecard@ringerge.org

defaultSubject = A new ecard has just been sent

}

maximumDays

int

Time in days an ecard can be retrieved

30

limit

stdWrap

stdWrap for the time until an ecard can be retrieved.

limit.date = H:i j. n. Y

[tsref:plugin.tx_rgecard_pi1]

Every value from the datebase is available with its name in the template with stdWrap.

Property:

Data type:

Description:

showEcard.

array

stdWrap for the ecard-view. Default is:

showEcard {

  image = IMAGE

  image {

    file.maxW = 300

    file.maxH = 300

  }

  msg_slimbox.crop = 80|...|1

}

activateEcard.

array

stdWrap for the activation-view. Default is:

activateEcard {

  image = IMAGE

  image {

    file.maxW = 300

    file.maxH = 300

  }

  msg_slimbox.crop = 80|...|1

}

notify_receiver.

array

stdWrap for the mail to the receiver.

[tsref:plugin.tx_rgecard_pi1]

FAQ

  1. Q: I want to show pmkslimbox but no rgecard. What can I do?A: Use the line plugin.pmkslimbox.slimboxJS = EXT:pmkslimbox/res/scripts/slimbox_ex.js for showing just the slimbox  and the line plugin.pmkslimbox.slimboxJS = EXT:rgecard/res/scripts/slimbox_ex.js for showing the ecards.