Search found 10 matches

by A Bindi
2019-06-19 20:07
Forum: Advanced Customizations > Hooks
Topic: Crypt field
Replies: 0
Views: 374

Crypt field

I would want to populate a table's field with a crypted copy of another field: table name: an_utenti_servizi source field: password' destination field (crypted): password_crypt Below the hook's after_update function that does not doesn't work :( named "password_crypt " function an_utenti_servizi_aft...
by A Bindi
2019-06-13 15:08
Forum: Tips And Tricks
Topic: Authenticate against Microsoft Directory (LDAP)
Replies: 12
Views: 3920

Re: Authenticate against Microsoft Directory (LDAP)

I applied the uthinus logInMember() customizated funcion for LDAP authentication, and it works great !!!

Is there a method to preserve the new code stored in the logInMember() function, in case of a project regeneration (e.g. when a new table is added) ?

ALex.
by A Bindi
2019-06-12 14:14
Forum: Advanced Customizations > Hooks
Topic: Update field not showing in detail view
Replies: 4
Views: 373

Re: Update field not showing in detail view

Hi, below the code in the table's hook: function AN_Software_before_update(&$data, $memberInfo, &$args){ $nome_var = sqlValue("select Nome_Completo from AN_Software_Base where Id='{$data['Prodotto']}'"); $data['Nome_Completo'] = ($nome_var . " Ver. " . $data['Versione']); return TRUE; } It run perfe...
by A Bindi
2019-06-11 10:55
Forum: Advanced Customizations > Hooks
Topic: Update field not showing in detail view
Replies: 4
Views: 373

Update field not showing in detail view

I have a field (string type) updated via hook with the concatenation of two other fields (eg: fullname = name + " " + surname) and I want display it only in the table view, but if I mark the "Hide in detail view [check]" the hook functions does not update it (it does not change his value). Is it pos...
by A Bindi
2019-01-23 15:04
Forum: Advanced Customizations > Hooks
Topic: Apply a default filter on a table
Replies: 3
Views: 568

Re: Apply a default filter on a table

Thank you very much for suggestions, very intersting.

Unfortunately it seems to do not exists a real solution to the problem, only workarounds ... :(

ALex.
by A Bindi
2019-01-16 14:31
Forum: Advanced Customizations > Hooks
Topic: Apply a default filter on a table
Replies: 3
Views: 568

Apply a default filter on a table

I applied the interesting article "Applying a default filter on a table" (https://bigprof.com/appgini/tips-and-tutorials/apply-default-filter) modifying the tablename_init hook as described, and indeed it seems to run correctly, but a problem appears when iI want to remove the filter to see all the ...
by A Bindi
2018-11-19 10:05
Forum: Getting Started
Topic: Upload with a special file name
Replies: 3
Views: 589

Re: Upload with a special file name

No ideas ?
:)

ALex.
by A Bindi
2018-11-14 07:27
Forum: Getting Started
Topic: Upload with a special file name
Replies: 3
Views: 589

Re: Upload with a special file name

For example, i have two table fields: - Document (Varchar, 40) - Appgini type "File upload" -> Used to select and upload a file document (.doc/.xls/.pdf ...) - Filename (Varchar, 120) -> Used to store the new filename I want use for "Document" above When edit the table: 1) I store the string "Comput...
by A Bindi
2018-11-13 11:28
Forum: Getting Started
Topic: Upload with a special file name
Replies: 3
Views: 589

Upload with a special file name

Hi,

I have a table with a field "File upload" type and I would want upload that file renaming it with a string that is specified in a filed: how can do this ?

ALex.