So, you have an AppGini-generated application that is up and running on your server. You then decided you want to move it to a new server. May be because you found a better hosting service, or you’re upgrading the server, or for any other reason. This is a simple checklist of the steps you should […]
Category Archives: AppGini
Make it mandatory for new users to agree to terms and conditions before signing up
I got a question from an AppGini user on how to make it a requirement for users to check an ‘I agree’ box when they sign up to AppGini — possibly as part of GDPR compliance, or to agree to some other terms and conditions. We do plan to add support for this as part […]
Displaying count of child records on the tab title
AppGini supports displaying a list of child records in the detail view of the parent record. For example, here is the detail view of an employee record from the online Northwind demo: (Ignore the weird cartoons for now!) So … It would be nice if the count of subordinates is displayed on the ‘Subordinates’ tab, […]
Retrieve a list of users who haven’t made any activity in the last x months
I just got an interesting question from an AppGini user: Is there an SQL query that I can run manually in PhpMyAdmin that will show me a list of all users that haven’t logged into AppGini for the last 6 months please? Even if it is using one of the date fields in the membership_users […]
Hiding the nicedit component from a page
AppGini uses nicedit Javascript component for displaying rich text areas, where users can enter formatted input. You might wish to hide/show the rich editor in an AppGini page, or in one of your custom pages. This can be done using JavaScript code. To hide nicedit components in a page:
1 2 3 4 |
$j(function() { $j('.nicEdit-panelContain').parent().addClass('hidden'); $j('.nicEdit-main').parent().addClass('hidden'); }) |
To show nicedit components:
1 2 3 4 |
$j(function() { $j('.nicEdit-panelContain').parent().removeClass('hidden'); $j('.nicEdit-main').parent().removeClass('hidden'); }) |
[…]
How to hide a field in child table view?
In many cases, your application might have a child table, like this: Let’s say we want to hide the Company and Open columns from that child table. You can add a CSS rule to hide specific columns from the child table. In the generated hooks/footer-extras.php, add code similar to this:
1 2 3 4 5 |
<style> #panel_child-table-lookup-field .child-table-field-to-hide { display: none; } </sttyle> |
In the above code, […]
[Screencast] How to add a custom link to the navigation menu of your AppGini app?
You need to enable Flash Player in your browser to view this screencast. Unable to display content. Adobe Flash is required.
Which files are changed when you add a new table to your AppGini project?
Many users wonder which files should they upload to their web server after adding a new table to AppGini and generating the app. Of course, you could just upload everything and you’d be on the safe side. But sometimes you might be working over a slow network or a metered data connection and don’t have […]
How to allow numbers only in a field?
Let’s say you have a numeric field, maybe a price, a score or some other field that should contain numbers only. If you set the data type of the field in AppGini (or in your database) to be numeric (INT, DECIMAL, FLOAT … etc) that would allow only numbers to be stored in the database. […]
How to hide the seconds in a time field?
If you have a time field in your AppGini application, it displays a time picker in the detail view like this one: The timepicker includes seconds. If you wish to hide the seconds part, you could do so by editing the tablename_dv hook. Open the generated hooks/tablename_dv.php file in a text editor (where tablename is […]