Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
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.
By marcosfpa
#814173
I would like to know which file contains the generation of web entry to be able to change the form that it is created. The goal is to change this code so that the screen after sending the web entry is always the same (in this case a custom page here of the company) instead of the current standard that shows an ugly screen with confirmation of the created case, number and id. Today at every web entry I have to go in the post file and change to direct to my custom page.
I would like to avoid this at the root and already generate the web entry with the post configuration ...
It's possible?
User avatar
By amosbatto
#814526
You need to edit the code in the XXXXXXXXXXXXXXXXXXPost.php file.
See:
https://sourceforge.net/p/pmcommunity/c ... tomization
http://wiki.processmaker.com/index.php/ ... g_WebEntry

To change the text, edit this line:
$aMessage["MESSAGE"] = "<br />Case created in ProcessMaker<br />Case Number: $caseNr <br />Case Id: $caseId<br />Case derivated to: $assign";

To edit the template used by Web Entry, edit this file:
workflow/engine/xmlform/login/showInfo.xml

To redirect to a custom page, you can insert this code:
header("location: http://my/custom/page.html");.
By marcosfpa
#814528
And how could I avoid all web entry no longer showing the "next step" option without having to edit each dynaform individually?
I got some stuff in \workflow\engine\templates\processes\webentryPost.tpl
User avatar
By amosbatto
#814585
Edit workflow/engine/classes/class.pmDynaform.php: 1322 (in the printWebEntry() function) and change from:
Code: Select all
                "<div style='width:100%;padding:0px 10px 0px 10px;margin:15px 0px 0px 0px;'>\n" .
to:
Code: Select all
                "<div style='width:100%;padding:0px 10px 0px 10px;margin:15px 0px 0px 0px; display:none;'>\n" .
Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]