Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
User avatar
By amosbatto
#815109
Where in a process maker install should you put fonts you want to call from your skin's css file? and what should the url be for the location within the css file?
User avatar
By amosbatto
#815110
Place the font files in this directory for a manual install:
<install-directory>/processmaker/workflow/public_html/fonts/

In a Bitnami install, the directory is:
<install-directory>/processmaker-3.X.X.bX-X/apps/processmaker/htdocs/workflow/public_html/fonts/

Then, add the following to your .css file in the skin:
Code: Select all
@font-face {
  font-family: "myfont";
  src: url('../fonts/myfont-Bold.ttf') format('truetype'), 
    url('../fonts/myfont-Italics.ttf') format('truetype'), 
    url('../fonts/myfont-Regular.ttf') format('truetype');
}
Then, you can use the font name in your CSS definitions.
See: https://developer.mozilla.org/en-US/doc ... t-face/src
Disable grid using JavaScript

Hi, I tried to disable the grid with JavaScript. […]

Useful.. https://crbtech.in/online-dot-net-trainin[…]

I used your example as a base to fixup my flow and[…]

There is a third parameter in the sendMessage() fu[…]