PM-1445, No se muestra el calendario que esta usando un usuario. PM-1131, actualizacion de etiquetas en trigger wizard
PM-1445, se agrego el parametro CALENDAR_NAME en usersAjax.php y se recibio el mismo en users.js
A new parameter $config (associative array) was added in the PMFSendMessage function:
Example:
array(
"MESS_ENGINE"=>"PHPMAILER",
"MESS_SERVER"=>"smtp.gmail.com",
"MESS_PORT"=>587,
"MESS_FROM_MAIL"=>"xxx@gmail.com",
"MESS_RAUTH" =>1,
"MESS_ACCOUNT"=>"xxx@gmail.com",
"MESS_PASSWORD"=>"15678=865",
"SMTPSecure"=>"tls"
)
The parameters of the array showed in the Example are all the necesary parameters.
A new parameter $config (associative array) was added in the PMFSendMessage function:
Example 1:
array(
"EmailEngine"=>"PHPMAILER",
"Server"=>"smtp.gmail.com",
"Port"=>587,
"UserName"=>"jennylee@colosa.com",
"FromEmail"=>"jennylee@colosa.com",
"UserPassword"=>"asfasjeasas",
"SecureConnection"=>"tls"
)
The parameters of the $config array showed in the example 1 are all the parameters that the array $config accepts, this could just have the UserName and the UserPassword if all the other parameters are the same as those that are configured in System configuration.
Example 2:
array(
"UserName"=>"jennylee@colosa.com",
"UserPassword"=>"asfasjeasas"
)
The validation for the not required parameter "unpauseDate" was wrong. When this parameter was empty the validation was taking this like this has a date, so it was trying to check the date format, and this was giving an error.
The validation was changed to only let strings of 10 or more characters go into the next validation where the format of the date is checked.
- Adjuntar dos archivos con el mismo nombre en un correo (PM v. 2.5.1).
- Problema resuelto:
Se agrega un nuevo metodo "PMFAddAttachmentToArray" el cual permite validar el indice de un array, si los indices
son iguales se diferenciara, si no lo son, se mantendra el mismo indice.
El metodo recibe los siguientes parametros:
> $arrayData: Array, valor de entrada, en donde contendra los nuevos datos.
> $index: Nuevo nombre de indice
> $value: Nuevo valor que contendra el indice
> $suffix: Cadena que se concatenara al indice diferente por default es: "$suffix = Copy({i})"
Ejemplo de cadena de concatenacio:
Fotografia Copy(1).jpg
Nota.- Suffix es un parametro opcional como se muestra en los ejemplos y su aplicabilidad:
PMFAddAttachmentToArray($array(), "notas.txt", "Notas de estudiantes");
PMFAddAttachmentToArray($array(), "notas.txt", "Notas de estudiantes", " Numero de copias-({i})");
PMFAddAttachmentToArray($array(), "notas.txt", "Notas de estudiantes", "");
> La nueva funcion es:
function PMFAddAttachmentToArray($arrayData, $index, $value, $suffix = " Copy({i})")
{
...
}
Este metodo puede ser utilizado al momento de crear triggers en: DESIGNER>Triggers>New
Disponible para la version 2.5.2
- Adjuntar dos archivos con el mismo nombre en un correo (PM v. 2.5.1).
- Problema resuelto:
Se agrega un nuevo metodo "arrayDocumentAddElement" el cual permite validar el indice de un array, si los indices
son iguales se diferenciara, si no lo son, se mantendra el mismo indice.
El metodo recibe los siguientes parametros:
> $arrayData: Array, valor de entrada, en donde contendra los nuevos datos.
> $index: Nuevo nombre de indice
> $value: Nuevo valor que contendra el indice
> $suffix: Cadena que se concatenara al indice diferente por default es: "$suffix = Copy({i})"
Ejemplo de cadena de concatenacio:
Fotografia Copy(1).jpg
Nota.- Suffix es un parametro opcional como se muestra en los ejemplos y su aplicabilidad:
arrayDocumentAddElement($array(), "notas.txt", "Notas de estudiantes");
arrayDocumentAddElement($array(), "notas.txt", "Notas de estudiantes", " Numero de copias-({i})");
arrayDocumentAddElement($array(), "notas.txt", "Notas de estudiantes", "");
> La nueva funcion es:
function arrayDocumentAddElement($arrayData, $index, $value, $suffix = " Copy({i})")
{
...
}
Este metodo puede ser utilizado al momento de crear triggers en: DESIGNER>Triggers>New
Disponible para la version 2.5.2