by javier | Nov 13, 2020 | Advance Functions
Place the following html in your custom/customized page and replace YOURTABLENAME (first line) by your table name: <form enctype="multipart/form-data" method="post" name="mySearchForm" action="YOURTABLENAME _view.php">...
by javier | Nov 13, 2020 | Advance Functions
The attached file will count access from a user (by IP), and, if the file is being accessed to much (defined in the script), the user (IP) will be banned for a certain time (defined in the script) from accessing some page. The user will then see a countdown which...
by javier | Nov 13, 2020 | Advance Functions
STEP 1/3: Remove the table link from the homepage The first step would be to remove the link to the orders table from the homepage if the current user belongs to the CustomerSupport group. We’ll add the code for removing the link in hooks/footer-extras.php:...
by javier | Nov 13, 2020 | Advance Functions
You have a table storing some kind of business task that has a start date and an end date. You want to calculate the duration of this task as working days, that is, excluding weekends. This can be achieved using calculated fields. We’ll create a duration field...
by javier | Nov 13, 2020 | Advance Functions, Look & Feel
You have a lookup field in a table. And when adding a new record to the table, you want that field to be set to the first value by default (rather than being empty). Files to edit Add the following code to hooks/tablename-dv.js (where tablename is the name of the...
Recent Comments