Questions and discussion about using ProcessMaker: user interface, running cases & functionality
By cosyxu
#794556
Hi Amosbatto,


Is it possible to make some changes regarding the " @#__ABE__ " button ? This is what it looks like in my email template:
1.PNG
1.PNG (1.22 KiB) Viewed 2914 times
Sometimes the users might click the wrong button.

And I would like to add some space between these two buttons, is it possible ?


Thanks in advance,

Yuan
User avatar
By amosbatto
#794588
Right click on the task, and select "Properties" from the context menu and then go to "Actions by Email" in Activity Properties dialog box. In the "Type" dropdown, select the "Custom actions" option. Then add the options "Accept" and "Reject" as shown in the image. You can set the padding around the buttons in the CSS code to add more space.
CSS-ActionsByEmail.png
CSS-ActionsByEmail.png (51.13 KiB) Viewed 2907 times
Try this CSS which adds 50 pixels around the buttons in the "padding" property:
Code: Select all
  background: #096309;
  background-image: -webkit-linear-gradient(top, #096309, #08752b);
  background-image: -moz-linear-gradient(top, #096309, #08752b);
  background-image: -ms-linear-gradient(top, #096309, #08752b);
  background-image: -o-linear-gradient(top, #096309, #08752b);
  background-image: linear-gradient(to bottom, #096309, #08752b);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Georgia;
  color: #ffffff;
  font-size: 20px;
  padding: 10px 50px 10px 50px;
  text-decoration: none;
By cosyxu
#794591
Hi Amosbatto,


Thank you for your reply,

I tried many css code, but it still like this,
1.PNG
1.PNG (4.87 KiB) Viewed 2902 times
2.PNG
2.PNG (2.42 KiB) Viewed 2902 times
(this is your css code.)


I forget to say that we are using Outlook 2013, so may be some functions are blocked ? Therefore the CSS cannot show properly.


Regards,
Yuan
User avatar
By amosbatto
#794614
If the CSS doesn't work, then edit the file workflow/engine/classes/class.actionsByEmailCore.php with a plain text editor.

Change line 188 from:
Code: Select all
                                    $__ABE__ .= '<td><table align="left" cellpadding="2"><tr>';
To:
Code: Select all
                                    $__ABE__ .= '<td><table align="left" cellpadding="10"><tr>';

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]

Betvisa clone scripts are pre-built software solut[…]