Search found 731 matches

Go to advanced search

by a.gneady
12 Feb 2017, 16:00
Forum: Getting Started
Topic: Guidance Please
Replies: 1
Views: 88

Re: Guidance Please

You can create 2 tables, one for contact info and one (or more) for other private data. In the admin area, configure both groups so that they can edit their own records for the contact info table and view all. For the other private data table(s), configure both groups to view/edit only their own rec...
by a.gneady
12 Feb 2017, 15:22
Forum: Getting Started
Topic: Adding HTML editor
Replies: 1
Views: 54

Re: Adding HTML editor

Sorry for the long delay. This code should still work fine with AppGini 5.60 .. Just make sure the concerned field is configured as a "Rich (HTML) area" in AppGini. The code in the template file would contain your actual field name rather than "fieldname" mentioned in the code.
by a.gneady
06 Feb 2017, 11:37
Forum: Bugs/annoyances
Topic: first row does not allow click through to detail view
Replies: 1
Views: 61

Re: first row does not allow click through to detail view

That sounds weird ... the online demo at https://bigprof.com/demo was created using AppGin 5.60 and you can see it doesn't have this issue. Could you send me the url to your application if available online or the AXP project file if not to check this please?
by a.gneady
16 Jan 2017, 17:14
Forum: Getting Started
Topic: Security Issue! Missing argument 2 for sql()
Replies: 6
Views: 148

Re: Security Issue! Missing argument 2 for sql()

Ahmed, thanks for the update. So, if I understand correctly, this error was due to code placed in a hook file rather than code generated by AppGini, right? Regarding the CAST statement where you pinpointed the htmlspecialchars() error, I guess you need to specify the encoding after "CHAR(200)&q...
by a.gneady
15 Jan 2017, 14:06
Forum: Getting Started
Topic: Security Issue! Missing argument 2 for sql()
Replies: 6
Views: 148

Re: Security Issue! Missing argument 2 for sql()

Hmm ... I tried looking in the generated code and couldn't find anything that would cause this error either in incFunctions or in any other files. Would you send me the file generated on your side to inspect it please? And also the exact error message if it contains any further details. To clarify, ...
by a.gneady
29 Sep 2016, 12:21
Forum: Getting Started
Topic: Session timeout
Replies: 2
Views: 193

Re: Session timeout

please try this and kindly confirm if it fixes the issue to implement it in future releases: Open the generated lib.php file in a text editor and find this line: @ini_set('session.serialize_handler', 'php'); Add the following code above it: @ini_set('session.gc_maxlifetime', 28800); @session_set_coo...
by a.gneady
14 Sep 2016, 14:04
Forum: Getting Started
Topic: Set Lookup field to open parent on Table View
Replies: 15
Views: 653

Re: Set Lookup field to open parent on Table View

Is this what you mean?
2016-09-14_1601.png
2016-09-14_1601.png (22.67 KiB) Viewed 643 times
by a.gneady
18 Aug 2016, 15:47
Forum: Bugs/annoyances
Topic: Bug?
Replies: 9
Views: 483

Re: Bug?

The solution is to find this line in incCommon.php: if(count($table_group_name) == 1 && $table_group_name[0] == 'None') $table_group_name[0] = $Translation['select a table']; and change it to: if((count($table_group_name) == 1 && $table_group_name[0] == 'None') || count($table_group_...
by a.gneady
08 Aug 2016, 08:05
Forum: Feature Suggestions
Topic: AG app - check fields
Replies: 1
Views: 325

Re: AG app - check fields

Thanks for your feedback. I added this to our to-do list for future releases.
by a.gneady
08 Aug 2016, 08:01
Forum: Bugs/annoyances
Topic: annoyance - field typing
Replies: 5
Views: 703

Re: annoyance - field typing

Thanks a lot for your valuable feedback ... I've added your suggestion to our to-do list for future releases.
by a.gneady
08 Aug 2016, 08:00
Forum: Bugs/annoyances
Topic: annoyance - table view header alignment
Replies: 1
Views: 325

Re: annoyance - table view header alignment

I'd consider this in future releases. Thanks for your suggestion.
by a.gneady
08 Aug 2016, 07:56
Forum: Feature Suggestions
Topic: AG app - disabled fields
Replies: 2
Views: 357

Re: AG app - disabled fields

Hmm .. you could add javascript code to do this in the hooks/tablename-dv.js file (where tablename is the name of the concerned table): $j(function(){ $j('#fieldname').prop('disabled', true); }) Including this as a field property in AppGini would add more complexity to the UI ... Is there a really s...
by a.gneady
20 Jul 2016, 21:59
Forum: Bugs/annoyances
Topic: Bug?
Replies: 9
Views: 483

Re: Bug?

Hello Ron,

If you're still experiencing this issue, please send me the AXP project file through the support form at https://bigprof.com/appgini/support-request
by a.gneady
20 Jul 2016, 03:25
Forum: Advanced Customizations > Hooks
Topic: Autoincrease ID field by 1
Replies: 17
Views: 1284

Re: Autoincrease ID field by 1

Try this code in the Grupe_dv function: if($selectedID) return; $max_id = intval(sqlValue("select max(SifraGrupe) from Grupe")) + 1; $html .= '<script>$j( function() {'; $html .= ' console.log("max_id: ' . $max_id . '")'; $html .= ' $j('#SifraGrupe').val("' . $max_id . '&quo...
by a.gneady
30 Jun 2016, 14:38
Forum: Feature Suggestions
Topic: next release / beta
Replies: 5
Views: 1108

Re: next release / beta

We released AppGini 5.51 2 days ago. Did you get a notification of the update?
by a.gneady
23 Jun 2016, 21:32
Forum: Advanced Customizations > Hooks
Topic: Email notification with actual data
Replies: 21
Views: 1647

Re: Email notification with actual data

You should use something like this: $lookup_value = sqlValue("select lookup_field_name from parent_table where id='{$data['selectedID']}'"); You should replace names in the above query with actual parent lookup field name, parent table name and parent table primary key name. The actual loo...
by a.gneady
23 Jun 2016, 21:23
Forum: Advanced Customizations > Others
Topic: Build web application with SQL server
Replies: 5
Views: 423

Re: Build web application with SQL server

You could try editing the generated db.php file to add mssql or odbc functions to it .. though we haven't thoroughly tested this so far.
by a.gneady
23 Jun 2016, 21:21
Forum: Feature Suggestions
Topic: next release / beta
Replies: 5
Views: 1108

Re: next release / beta

We're currently testing AppGini 5.51 beta and will release it once all testing is done. Thanks for your patience :)
by a.gneady
23 Jun 2016, 21:17
Forum: Bugs/annoyances
Topic: php error flooding logs
Replies: 2
Views: 543

Re: php error flooding logs

Thanks for the heads-up :)
AppGini doesn't make use of $HTTP_RAW_POST_DATA so it's safe to disable it.
by a.gneady
09 Jun 2016, 12:22
Forum: Advanced Customizations > Hooks
Topic: Autoincrease ID field by 1
Replies: 17
Views: 1284

Re: Autoincrease ID field by 1

Let's make a quick test to debug this: On the detail view page of the Grupe table, click F12 to open the inspector window. Go to the console, and type this command (then press Enter or click 'Run' to execute it):

Code: Select all

$j('#SifraGrupe').val(100);

Does this place a value of 100 inside the ID field?
by a.gneady
06 Jun 2016, 22:32
Forum: Bugs/annoyances
Topic: Session Logins
Replies: 1
Views: 698

Re: Session Logins

Hello Salem. Sorry for the long delay. I couldn't reproduce this issue using the info you mentioned. Are there any specific details that can help reproduce this?
by a.gneady
28 May 2016, 15:16
Forum: Getting Started
Topic: Howto page that dont saves data
Replies: 2
Views: 351

Re: Howto page that dont saves data

You can use the login_ok hook to control which page the user sees after login .. please refer to: https://bigprof.com/appgini/help/advanced-topics/hooks/global-hooks#login_ok For the page you describe, you can create a new page to implement this and you can integrate it with your AppGini application...
by a.gneady
28 May 2016, 15:11
Forum: Getting Started
Topic: First doubts
Replies: 3
Views: 342

Re: First doubts

You'd need to add some custom code to implement these ... AppGini provides a mechanism for extending your application named 'hooks' ... For more info: Hooks documentation: https://bigprof.com/appgini/help/advanced-topics/hooks/ AppGini customization course on Udemy (not free but has some lessons tha...
by a.gneady
26 May 2016, 22:26
Forum: Advanced Customizations > Hooks
Topic: Autoincrease ID field by 1
Replies: 17
Views: 1284

Re: Autoincrease ID field by 1

Okay .. in that case, the field should be editable ... then in the tablename_dv hook (where tablename is the name of the concerned table), you should check if this is a new record ($selectedID is false) and if so, retrieve the maximum value of the primary key field from the table, add one to it, and...
by a.gneady
26 May 2016, 22:18
Forum: Advanced Customizations > Others
Topic: Filter the data displayed through sql statement
Replies: 7
Views: 742

Re: Filter the data displayed through sql statement

Well ... if you want to prevent a specific user from opening the detail view of any record in a specific table, you could add something like this to the tablename_init hook (where tablename is the name of the concerned table): $restricted = array('daniele', 'some_other_user', ...); if(in_array($memb...

Go to advanced search