Search found 122 matches

by fgazza
2019-12-10 05:58
Forum: Advanced Customizations > Others
Topic: Create a bootstrap carousel on the apps home page
Replies: 1
Views: 75

Re: Create a bootstrap carousel on the apps home page

Hello everybody, I am still trying to create a carousel by taking images from a table of objects. In the end I thought of creating a customized page in which the carousel should appear. I have a table fotografie with the following fields: pri_key is the primary key titolo is a text field that contai...
by fgazza
2019-12-06 15:53
Forum: Advanced Customizations > Others
Topic: Create a bootstrap carousel on the apps home page
Replies: 1
Views: 75

Create a bootstrap carousel on the apps home page

Hello everyone!
I have a "photo" table with an "image" field.
I would like to create a bootstrap carousel in the appgini login page. The carousel should take the images from the "image" field of the "photo" table.

Could anyone help me? Thanks.

Fabiano
by fgazza
2019-12-02 21:03
Forum: Advanced Customizations > Hooks
Topic: batch change owner or delete records
Replies: 0
Views: 72

batch change owner or delete records

Hello everybody I wanted to know if it is possible to set a "batch action" in the "more" menu to allow non-admins users belonging to a specific group to change the owner of one or more records. I also ask if it is possible to do the same thing with the "delete" function, giving some groups the possi...
by fgazza
2019-11-23 18:28
Forum: Advanced Customizations > Others
Topic: calculate how many DAYS have passed since a date in a lookup field
Replies: 4
Views: 135

Re: calculate how many DAYS have passed since a date in a lookup field

thank you very much!
I hadn't noticed the parenthesis after SELECT!
Now works.
The only problem, even if it's not a very big problem, is the slowness to fill in the calculated field!
Does anyone have any idea if there is a solution?
Thanks!
Fabiano
by fgazza
2019-11-22 21:43
Forum: Advanced Customizations > Others
Topic: calculate how many DAYS have passed since a date in a lookup field
Replies: 4
Views: 135

Re: calculate how many DAYS have passed since a date in a lookup field

Thank you so much.
I've tryed it.
I'm sorry but it doesn't work.
Any other suggestions?
Thank you!
Fabiano
by fgazza
2019-11-21 19:25
Forum: Advanced Customizations > Others
Topic: calculate how many DAYS have passed since a date in a lookup field
Replies: 4
Views: 135

calculate how many DAYS have passed since a date in a lookup field

Hi! I have a table partecipazione_evento_pubblico. In the table there are a field data_evento and a field giorni_da_evento. The data_evento field is a lookup field that points to the date fielde data_appuntamento of the table appuntamenti. Both tables have the primary key name field: pri_key I would...
by fgazza
2019-11-19 13:22
Forum: Advanced Customizations > Hooks
Topic: conditionally send e-mail and change checkbox_field status
Replies: 0
Views: 202

conditionally send e-mail and change checkbox_field status

Hello everybody in the file participate.php of my hook folder I have a code to send an email to the address entered in the "email_address" field every time a participant adds a record in the table "participated". I would like to add a condition so that the sending of the e-mail works only if no more...
by fgazza
2019-11-16 21:16
Forum: Advanced Customizations > Hooks
Topic: send html formatted emails to all portal members
Replies: 3
Views: 424

Re: send html formatted emails to all portal members

Sorry Saleh but if i have the fields "oggetto" (=field for subject) and "contenuto_messaggio" (field for message) and i set this code: /* function html_emails_sender_after_insert($data, $memberInfo, &$args) { Send_Notification($data); return TRUE; } and at the bottom i set this code: function Send_N...
by fgazza
2019-11-16 10:38
Forum: Advanced Customizations > Hooks
Topic: Insert the table view of a table on the home page.
Replies: 4
Views: 362

Re: Insert the table view of a table on the home page.

Thank you!
I will try it soon and i will let you know if it's good fom me!
Cheers!
Fabiano.
by fgazza
2019-11-16 07:26
Forum: Advanced Customizations > Hooks
Topic: conditionally hide the child table panel if a record has no child records
Replies: 0
Views: 364

conditionally hide the child table panel if a record has no child records

Hello everyone!
Here's my next idea: I'd like to hide the child table panel if a record has no child records.
Can anyone suggest me how and where to customize the hooks file?
THANKS!
Fabiano
by fgazza
2019-11-16 07:17
Forum: Advanced Customizations > Hooks
Topic: Insert the table view of a table on the home page.
Replies: 4
Views: 362

Re: Insert the table view of a table on the home page.

Yes! That's exactly what I was looking for! I await the details of the code to implement this solution!
Thank you so much!!!
Fabiano
by fgazza
2019-11-15 16:31
Forum: Advanced Customizations > Hooks
Topic: Insert the table view of a table on the home page.
Replies: 4
Views: 362

Insert the table view of a table on the home page.

Hello everyone! I need help solving this problem: I would like to insert in the home page of appgini (I refer to the page visible before login and not to the visible one once logged in!) the table view of a specific table visible to people not logged in. Is there a way to customize the hook file and...
by fgazza
2019-11-15 16:01
Forum: Advanced Customizations > Hooks
Topic: send html formatted emails to all portal members
Replies: 3
Views: 424

Re: send html formatted emails to all portal members

Thank you very much Saleh! I will definitely try your solution! I ask you two more information about your solution .. 1) Can I be sure that each recipient will receive a separate email and will not see the addresses of the other recipients? 2) there is a way to choose, when creating a record, whethe...
by fgazza
2019-11-07 17:15
Forum: Advanced Customizations > Hooks
Topic: send html formatted emails to all portal members
Replies: 3
Views: 424

send html formatted emails to all portal members

Hello everyone!
there is a way to send html formatted emails using the utility in the administrative area (the one that allows you to send an email to all members of the portal?).
I tried to paste the html code in the box but it doesn't work!
Is there a solution?
THANKS!
Fabiano
by fgazza
2019-10-24 16:46
Forum: Bugs/annoyances
Topic: the table title and the quick search field disappear if I have too many links in the top menu
Replies: 1
Views: 405

the table title and the quick search field disappear if I have too many links in the top menu

Hello to all,
as you can see from the image the table title and the quick search field disappear if I have too many links in the upper menu.

Does anyone know of a solution to keep the page elements under the top menu even if the top menu occupies multiple lines?

THANKS!

Fabiano
Immagine 001.png
Immagine 001.png (68.7 KiB) Viewed 405 times
by fgazza
2019-10-24 12:16
Forum: Advanced Customizations > Hooks
Topic: show a button only if a checkbox is checked
Replies: 8
Views: 683

Re: show a button only if a checkbox is checked

Thank you so much! Finally here is my code (I post it for other users) and it works!!! function table_name_dv($selectedID, $memberInfo, &$html, &$args){ /* if this is the print preview, don't modify the detail view */ if(isset($_REQUEST['dvprint_x'])) return; /*retrieve value of the check-box elemen...
by fgazza
2019-10-24 08:56
Forum: Advanced Customizations > Hooks
Topic: show a button only if a checkbox is checked
Replies: 8
Views: 683

Re: show a button only if a checkbox is checked

Thanks for your suggestions. I tried to rewrite the code with your instructions but it doesn't work. Obviously something is wrong ... or a lot! Can you help me again? Thanks! Fabiano here is my code (you will see two version both failing): /*retrieve value of the check-box element (first attempt - f...
by fgazza
2019-10-23 14:16
Forum: Advanced Customizations > Hooks
Topic: show a button only if a checkbox is checked
Replies: 8
Views: 683

HELP ME PLEASE! show a button only if a checkbox is checked

Hello everyone! I regret going back to writing but unfortunately I can't solve this problem: I have this script to display a custom button that link to a custom page: function partecipazione_evento_pubblico_dv($selectedID, $memberInfo, &$html, &$args){ /* if this is the print preview, don't modify t...
by fgazza
2019-10-21 12:38
Forum: Advanced Customizations > Hooks
Topic: show a button only if a checkbox is checked
Replies: 8
Views: 683

Re: show a button only if a checkbox is checked

Hello and thanks for the reply. I believe there is a misunderstanding: my problem is this: an administrator puts the check in the field "authorize_attestato" so that the users with the validated field (checked) can then click on the "stampa attestato" ("print certificate") button. With my code, and ...
by fgazza
2019-10-17 16:00
Forum: Advanced Customizations > Hooks
Topic: show a button only if a checkbox is checked
Replies: 8
Views: 683

Re: show a button only if a checkbox is checked

Perhaps to make the code work as I would like the condition must look if the value in the field "autorizza_attestato" is equal to "1" (which is the value corresponding to the checked condition)? I just don't know how to write the code. Can someone help one time again to definitively solve the issue?...
by fgazza
2019-10-17 08:37
Forum: Advanced Customizations > Hooks
Topic: show a button only if a checkbox is checked
Replies: 8
Views: 683

show a button only if a checkbox is checked

Hello to all. I created this code to make a custom button appear or disappear. The button should appear only if the checkbox "aautorizza_attestato" is checked. The problem is that with this code, if the autorizza_attestato field is checked, the button does not appear unless I uncheck and then check ...
by fgazza
2019-10-15 14:47
Forum: Advanced Customizations > Hooks
Topic: check and avoid duplicate fields and show custom error message
Replies: 8
Views: 519

Re: check and avoid duplicate fields and show custom error message

Ok. I found my mistake and I corrected it!
Now everything works perfectly!
Thanks! Fabiano
by fgazza
2019-10-14 23:09
Forum: Advanced Customizations > Hooks
Topic: check and avoid duplicate fields and show custom error message
Replies: 8
Views: 519

Re: check and avoid duplicate fields and show custom error message

Sorry but now I'm trying to do the exact same thing with a table named anagrafica_persone where the check is done on three fields: nome cognome codice_fiscale the tree fields automatically concatenate in the field nome_cognome_cf Everything works perfectly until the error message appears, if the "no...
by fgazza
2019-10-13 15:50
Forum: Advanced Customizations > Hooks
Topic: check and avoid duplicate fields and show custom error message
Replies: 8
Views: 519

Re: check and avoid duplicate fields and show custom error message

Hi pböttcher!
It works fine.
Thank you so much!
A special thanks to Uday Vattury for the original code that also works like a charm!
Ciao!
Fabiano
by fgazza
2019-10-13 09:25
Forum: Advanced Customizations > Hooks
Topic: check and avoid duplicate fields and show custom error message
Replies: 8
Views: 519

Re: check and avoid duplicate fields and show custom error message

Excuse me, looking at the code I realized the error message was commented and therefore didn't work. Now the error message appears (see screenshot). This would be fine if after clicking "OK" the contents of the first and last name were deleted but if the "cognome_nome" field is not set as "unique" i...