ePages 7.23.0 - DE_EPAGES/ShopMailType/API/TLE/MailTypeTemplateHandler.pm

Package DE_EPAGES::ShopMailType::API::TLE::MailTypeTemplateHandler

Functions

GetMailLogo
MAILTYPETEMPLATES
MAILTYPETEMPLATESADMIN

GetMailLogo

Resizes the shop logo to fit into the given dimensions and returns the path of the resized logo.

Syntax
#GetMailLogo(#LogoPath, #MaxWidth, #MaxHeight)
Input
#Shop (object)
shop object
#MaxWidth (integer)
max width in px
#MaxHeight (integer)
max height in px
Return
#MailLogoPath (string)
web path of the logo for mails

MAILTYPETEMPLATES

Returns all shop mailtypetemplate objects that belongs to the group and is sent to the user.

Syntax
#MAILTYPETEMPLATES(#Object)
Example
#LOOP(#MAILTYPETEMPLATES(#Object))
  #NameOrAlias<br/>
#ENDLOOP
Input
#Object (object)
mailtypetemplategroup object

MAILTYPETEMPLATESADMIN

Returns all shop mailtypetemplate objects that is sent to the admin.

Syntax
#MAILTYPETEMPLATESADMIN
Example
#LOOP(#MAILTYPETEMPLATESADMIN(#Shop))
  #NameOrAlias<br/>
#ENDLOOP