Search found 1092 matches

by a.gneady
2020-09-08 08:54
Forum: Getting Started
Topic: mail() function always go to spam
Replies: 3
Views: 223

Re: mail() function always go to spam

Glad it's fixed now :)
by a.gneady
2020-09-07 09:04
Forum: Getting Started
Topic: mail() function always go to spam
Replies: 3
Views: 223

Re: mail() function always go to spam

This is usually a tricky issue to diagnose. I see you're including a FROM header, and the sender domain is fitbookapp.net ... Is the server you're sending the email from serving the contents for that domain? If not, you should add its IP address in a DKIM record in your domain's DNS records. Another...
by a.gneady
2020-08-28 12:02
Forum: Bugs/annoyances
Topic: Customizing the data displayed in the table view
Replies: 4
Views: 292

Re: Customizing the data displayed in the table view

I have fixed the syntax in this code now. It was actaully the code highlighting plugin we're using on our website trying to be act "smart" and fix the code :D
The corrected line is:

Code: Select all

$modField = "CONCAT('<img src=\"hooks/',`cameras`.`ratings`,'.gif\" border=\"0\" />')";
by a.gneady
2020-08-20 13:44
Forum: Advanced Customizations > Hooks
Topic: Calculated fields before_insert hook
Replies: 10
Views: 408

Re: Calculated fields before_insert hook

The calculated field value is updated after the detail view form is submitted then the record reloaded. The check in your code above takes place on clicking the 'Save changes' button, before submitting the form: $j('#insert').click(function(){ The fix to do the validation correctly is, instead of ch...
by a.gneady
2020-08-09 14:31
Forum: Bugs/annoyances
Topic: Text formatting issues when sending the contents of a record with the @mail function
Replies: 8
Views: 1672

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

It's an AppGini function, defined in admin/incFunctions.php. So, you won't find it documented elsewhere, but you can view its source in that file if you wish to.
by a.gneady
2020-08-09 13:32
Forum: Advanced Customizations > Others
Topic: Refresh parent page when child-page is closed?
Replies: 5
Views: 2960

Re: Refresh parent page when child-page is closed?

For anyway looking for a way to add an event listener on closing a modal window: $j('.modal').on('hidden.bs.modal', function(){ alert('modal closed!'); }) You should place the above code somewhere that would be executed after the modal is opened. For more on modal events: https://getbootstrap.com/do...
by a.gneady
2020-08-06 13:03
Forum: Bugs/annoyances
Topic: Text formatting issues when sending the contents of a record with the @mail function
Replies: 8
Views: 1672

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

OK, try using the AppGini function to_utf8() to encode the message:

Code: Select all

'message' => to_utf8($data['fieldname']),
Change fieldname above to the actual field name.
by a.gneady
2020-08-05 16:06
Forum: Bugs/annoyances
Topic: Text formatting issues when sending the contents of a record with the @mail function
Replies: 8
Views: 1672

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

Try using the sendmail() function instead. It allows you to use HTML in the message, which allows using HTML entities .. So, instead of using è, you can use the HTML entity representation è ... For other HTML entities, see https://www.w3schools.com/charsets/ref_html_entities_e.asp Usage of send...
by a.gneady
2020-08-05 15:49
Forum: Advanced Customizations > Hooks
Topic: Working with Calculated Field Issue
Replies: 12
Views: 1537

Re: Working with Calculated Field Issue

Im sorry but still i dont have result. In table view even though the calculated field is changed in the background, i dont receive an email notification. I dont know but it seems like the update does not respond with_after update hook; loading the page in table view doesnt affect it. OK, that would...
by a.gneady
2020-08-04 15:32
Forum: Advanced Customizations > Hooks
Topic: Working with Calculated Field Issue
Replies: 12
Views: 1537

Re: Working with Calculated Field Issue

@epano, if I understand correctly form your code, the 'alert' field is a calculated field. In this case, you don't need to repeat the calculation SQL in the after_update hook ... You should just call update_calc_fields() then check the field's new value: function Kontratat_after_update($data, $membe...
by a.gneady
2020-08-04 15:22
Forum: Advanced Customizations > Hooks
Topic: Working with Calculated Field Issue
Replies: 12
Views: 1537

Re: Working with Calculated Field Issue

jsetzer wrote:
2020-08-04 09:56
@Ahmed: Sorry, you were a couple of seconds faster than me ;)
No worries. Thanks so much for your help. Always appreciated :)
by a.gneady
2020-08-04 12:49
Forum: Advanced Customizations > Hooks
Topic: Working with Calculated Field Issue
Replies: 12
Views: 1537

Re: Working with Calculated Field Issue

epano wrote:
2020-08-04 11:06
Thank you a.gneady but still doesnt work. I used the code below on after_update hook:
Hmm ... Please post the entire code of the before_update and after_update hooks.
by a.gneady
2020-08-04 09:48
Forum: Advanced Customizations > Hooks
Topic: Working with Calculated Field Issue
Replies: 12
Views: 1537

Re: Working with Calculated Field Issue

Your guess is right. Calculated fields don't get updated at the same time as the rest of the record currently (till AppGini 5.84) so they don't get detected in after_update hook. We plan to fix this in future releases of AppGini. As a temporary work-around, you could add this code into the after_upd...
by a.gneady
2020-07-28 12:10
Forum: AppGini Plugins
Topic: Calendar Plugin
Replies: 2
Views: 906

Re: Calendar Plugin

Thanks a lot for your suggestion. I've added it to our roadmap for implementation in future versions.
by a.gneady
2020-07-28 10:14
Forum: AppGini Plugins
Topic: Calendar plugin hide certain Add New Event floating button
Replies: 5
Views: 326

Re: Calendar plugin hide certain Add New Event floating button

You could add it to the hooks/footer-extras.php file like so:

Code: Select all

<script>
	document.querySelector('[title="New service completed"]').hide();
</script>
by a.gneady
2020-07-07 19:26
Forum: Tips And Tricks
Topic: Android App to access AppGini
Replies: 18
Views: 1721

Re: Android App to access AppGini

That's cool ^_^ Thanks for sharing! So, to clarify, all you need to do is to put the app URL into this line? webView.loadUrl("YOUR PUBLIC URL"); And then compile with Android Studio? I could consider adding an option to generate the manifest files as part of the generated code if there is enough dem...
by a.gneady
2020-07-02 17:03
Forum: Getting Started
Topic: Add language file
Replies: 1
Views: 232

Re: Add language file

Thanks a lot for your contribution. Does Myanmar language require a different font to display correctly? If so, it should be defined as a CSS rule in hooks/footer-extras.php rather than in the language file. In this case, I'll mention a note about this in the language download page if you send me th...
by a.gneady
2020-06-29 02:42
Forum: Tips And Tricks
Topic: How do I enter text on the children tables
Replies: 6
Views: 1365

Re: How do I enter text on the children tables

Didn't test that Olaf. But please let me know if you encounter any error and let's see how to fix it.
by a.gneady
2020-06-27 16:54
Forum: Tips And Tricks
Topic: How do I enter text on the children tables
Replies: 6
Views: 1365

Re: How do I enter text on the children tables

I want to be able to place text in a specific part of the children tables at the bottom of the detail view as described in the picture. Can anyone help me with some code the will accomplish this? I want to be able to change the text/instructions when the user clicks on the different tabs. Thanks. P...
by a.gneady
2020-06-27 15:32
Forum: AppGini Plugins
Topic: For your wishlist
Replies: 2
Views: 240

Re: For your wishlist

Thanks for your feedback, Kai. I'll add this to our backlog.
by a.gneady
2020-06-27 15:30
Forum: Advanced Customizations > Hooks
Topic: How to create special HTML page for Guest users
Replies: 9
Views: 1512

Re: How to create special HTML page for Guest users

Sorry for the long delay ... these drop-downs don't show in the homepage, so they don't show in the home-custom one as well ... but I'll consider adding an option to override this in future releases.
by a.gneady
2020-06-09 11:21
Forum: Bugs/annoyances
Topic: Navigation buttons on tab views
Replies: 2
Views: 410

Re: Navigation buttons on tab views

I added your suggestion to our kanban board. Thanks for your feedback :)
by a.gneady
2020-06-06 20:38
Forum: AppGini Plugins
Topic: Auto-fill fields not showing up in Search Page Maker
Replies: 4
Views: 421

Re: Auto-fill fields not showing up in Search Page Maker

This issue is on the top of our list for the next release of SPM. Currently, we're working on AppGini 5.90 which we plan to release within 2-3 weeks. A few weeks later, we'll release a new version of SPM. Stay tuned!
by a.gneady
2020-06-02 20:22
Forum: Advanced Customizations > Others
Topic: Modify search behavior in tableview (?)
Replies: 11
Views: 847

Re: Modify search behavior in tableview (?)

is there a way to build a query using php in the _dv.html templates files?
No, this is an html file. PHP code placed in it won't be parsed. But you could use the tablename_dv() hook function instead.