Search found 175 matches

by fgazza
2020-08-04 19:02
Forum: Bugs/annoyances
Topic: Text formatting issues when sending the contents of a record with the @mail function
Replies: 0
Views: 109

Text formatting issues when sending the contents of a record with the @mail function

Hi everyone. When I send the contents of a textarea field with the @mail function, the message arrives at the recipient with incorrect formatting. For example, if the textarea field "status_request" contains the text: “04/08/2020 h. 20:06: iI tuo attestato è stato generato ed è disponibile nell'area...
by fgazza
2020-08-04 18:34
Forum: Advanced Customizations > Hooks
Topic: Send an email if when the record is updated and a checkbox field is active
Replies: 2
Views: 84

Re: Send an email if when the record is updated and a checkbox field is active

Thank you so much!
I solved the problem with your help and a little change to your code:

I put:

Code: Select all

$invio_comunicazione =sqlValue("SELECT invia_comunicazione FROM richiesta_attestato where rich_att_ID='{$data['selectedID']}'");
		
		if($invio_comunicazione ==1){
Now all works!

Thank you!

Fabiano
by fgazza
2020-08-04 09:48
Forum: Advanced Customizations > Hooks
Topic: Send an email if when the record is updated and a checkbox field is active
Replies: 2
Views: 84

Send an email if when the record is updated and a checkbox field is active

Hi everyone. I can't solve this problem: I have a "richiesta_attestato" table with a checkbox field "invia_comunicazione". I would like that if a record is updated and the checkbox field "invia_comunicazione" is selected (ie active, ie the value is "1") an email will be sent to recipients set in my ...
by fgazza
2020-07-14 19:35
Forum: Advanced Customizations > Hooks
Topic: show footer customizations excluding the detailed view of a table
Replies: 0
Views: 140

show footer customizations excluding the detailed view of a table

Hi everyone. I have a code to show some links in the footer of some tables. What I can't do is add a condition that makes these links visible only in the table view but not in the detail view. here is my code (inserted in the file footer_extra.php). <?php $script_name = basename($_SERVER['PHP_SELF']...
by fgazza
2020-07-12 19:57
Forum: AppGini Plugins
Topic: Mass update plugin PHP error
Replies: 4
Views: 300

Re: Mass update plugin PHP error

Finally i solved deleting cache of the page in google chrome!!! :D
by fgazza
2020-07-09 16:49
Forum: AppGini Plugins
Topic: Mass update plugin PHP error
Replies: 4
Views: 300

Re: Mass update plugin PHP error

Hello! I have the exact same problem!
I hope Ahmed or some forum super hero can help us!
Did you manage to find a solution?
Thanks!
Fabiano
by fgazza
2020-07-09 15:02
Forum: AppGini Plugins
Topic: appgini plugins installation problems: Fatal error: Uncaught Error: Call to undefined method AppGiniPlugin
Replies: 3
Views: 143

Re: appgini plugins installation problems: Fatal error: Uncaught Error: Call to undefined method AppGiniPlugin

in the end the problem is not solved! Now the list of plugins appears in the navigation menu of the administrative area. If I click on a plugin I can upload my axp file but the screen remains frozen after I upload the file. The file is visible via ftp in the "projects" folder. The "show me how to ge...
by fgazza
2020-07-09 14:21
Forum: AppGini Plugins
Topic: appgini plugins installation problems: Fatal error: Uncaught Error: Call to undefined method AppGiniPlugin
Replies: 3
Views: 143

Re: appgini plugins installation problems: Fatal error: Uncaught Error: Call to undefined method AppGiniPlugin

I solved!
I reinstalled one of the plugins (in my case calendar) and now they all seem to work!
Thanks to all!
Fabiano
by fgazza
2020-07-09 08:50
Forum: AppGini Plugins
Topic: appgini plugins installation problems: Fatal error: Uncaught Error: Call to undefined method AppGiniPlugin
Replies: 3
Views: 143

appgini plugins installation problems: Fatal error: Uncaught Error: Call to undefined method AppGiniPlugin

Hi to everyone. I uploaded all the appgini plugins in my project plugins folder: the plugins are calendar, summary reports, mass update, search page maker and appgini helper inline dv. my portal address is www.sullabuonastrada.org/governance Inside the governance folder there is a PLUGINS folder. I ...
by fgazza
2020-07-03 18:11
Forum: Advanced Customizations > Hooks
Topic: Hide the "back" and "cancel" key from the DETAIL view of a record
Replies: 5
Views: 165

Re: Hide the "back" and "cancel" key from the DETAIL view of a record

you are right! I just had to clear the browser cache !!
Thank you very much!
by fgazza
2020-07-03 15:45
Forum: Advanced Customizations > Hooks
Topic: Hide the "back" and "cancel" key from the DETAIL view of a record
Replies: 5
Views: 165

Re: Hide the "back" and "cancel" key from the DETAIL view of a record

hi! I put it in my -dv.js file in hook folder but it doesn't work.
by fgazza
2020-07-02 21:56
Forum: Advanced Customizations > Hooks
Topic: Hide the "back" and "cancel" key from the DETAIL view of a record
Replies: 5
Views: 165

Hide the "back" and "cancel" key from the DETAIL view of a record

Hi everyone.
Anyone know how to hide the "back" and "undo" keys from the DETAIL view of a record?

I would like to be able to do it through the hook file (php or -dv.js) of the table so that my personalization is preserved when I regenerate the files from appgini.

THANK YOU!

Fabiano
by fgazza
2020-07-02 17:45
Forum: Advanced Customizations > Hooks
Topic: Hide the "back" and "cancel" key from the table view of a record
Replies: 4
Views: 162

Hide the "back" and "cancel" key from the table view of a record

Hi everyone.
Anyone know how to hide the "back" and "undo" keys from the table view of a record?

I would like to be able to do it through the hook file (php or -dv.js) of the table so that my personalization is preserved when I regenerate the files from appgini.

THANK YOU!

Fabiano
by fgazza
2020-06-28 16:49
Forum: Advanced Customizations > Hooks
Topic: set multiple conditions which, if they occur together, make two checkbox fields disabled
Replies: 0
Views: 147

set multiple conditions which, if they occur together, make two checkbox fields disabled

Hi everyone. I have two checkbox fields named field1 and field2 and a calculated field named is_complete. I wish if the condition 1 and 2 and 3 are all true the fields field1 and field2 become disabled. Here are the condition 1, 2 and 3: 1) the logged in user does not belong to the Admins group and ...
by fgazza
2020-06-24 05:35
Forum: Advanced Customizations > Hooks
Topic: Submit Button Appears
Replies: 6
Views: 319

Re: Submit Button Appears

Hi!
Try to check this post:

viewtopic.php?f=7&t=3153#p10754

Bye!

Fabiano
by fgazza
2020-06-23 15:45
Forum: Advanced Customizations > Hooks
Topic: save the owner's username (not the logged user's username!) in a field
Replies: 4
Views: 160

Re: save the owner's username (not the logged user's username!) in a field

Good afternoon Jan. I saw your kind reply in the forum. I'm too inexperienced with the code to understand where to start. Maybe I have to move into my code in the "before_insert" function? In this case, since the insertion of the record takes place through an "automatic" code in an external (privacy...
by fgazza
2020-06-23 13:22
Forum: Advanced Customizations > Hooks
Topic: save the owner's username (not the logged user's username!) in a field
Replies: 4
Views: 160

save the owner's username (not the logged user's username!) in a field

I would need a code that allows me to save the owner's username in the "user_name" field of my "privacy_consent" table and the "user" field the contents of the custom field ['username'] [0] always relative to the owner. The problem is that the table already contains records and therefore the code mu...
by fgazza
2020-06-22 06:45
Forum: Advanced Customizations > Hooks
Topic: Customize the alert if a "not null" (required) field is left blank.
Replies: 13
Views: 416

Re: Customize the alert if a "not null" (required) field is left blank.

Hi thenk yoo for suggest me how to put code (i'm happy to learn!).
Ok! I will check your post and try to solve my problem.
See you soon!
Fabiano
by fgazza
2020-06-22 05:43
Forum: Advanced Customizations > Hooks
Topic: Customize the alert if a "not null" (required) field is left blank.
Replies: 13
Views: 416

Re: Customize the alert if a "not null" (required) field is left blank.

I'm sorry ... I tried the change you suggested but nothing changes: after the alert message the page displays the personalized alert text where I would like my expandable html text to be displayed, as happens before the alert message and collapsible with the button (after the alert my button also di...
by fgazza
2020-06-21 17:19
Forum: Advanced Customizations > Hooks
Topic: Customize the alert if a "not null" (required) field is left blank.
Replies: 13
Views: 416

Re: Customize the alert if a "not null" (required) field is left blank.

ok. Thank you! I try to explain better. In the place where you suggested me to put the code I already have another script that allows you to view or compress an html formatted text using a button to expand or compress that text. I inserted the code in the previous post to give an idea of what I did....
by fgazza
2020-06-20 21:12
Forum: Advanced Customizations > Hooks
Topic: Customize the alert if a "not null" (required) field is left blank.
Replies: 13
Views: 416

Re: Customize the alert if a "not null" (required) field is left blank.

sorry: here is the code: case 'detailview': $header='<%%HEADER%%> <style> nav{ display: none; } </style> <p><img src="https://sullabuonastrada.org/governance/images/sbs_cib.png" alt="" /></p> <h2>Abbiamo aggiornato l\'informativa e il consenso al trattamento dei tuoi dati.</h2> <h3>Ti preghiamo di l...
by fgazza
2020-06-20 21:11
Forum: Advanced Customizations > Hooks
Topic: Customize the alert if a "not null" (required) field is left blank.
Replies: 13
Views: 416

Re: Customize the alert if a "not null" (required) field is left blank.

Hi! I tryed your script. It works perfectly but as I have also the code showed at the bottom of my post the two scripts conflict: after the error for empty field i have problems with my other script: tthe error message appear instead of my custom html text collapsible and expandable with a button. C...