Search found 229 matches

by D Oliveira
2020-07-10 17:59
Forum: Advanced Customizations > Others
Topic: Options List sort order
Replies: 11
Views: 246

Re: Options List sort order

oh in that case you might wanna check tablename_dml.php

Code: Select all

$combo_statusp->ListItem = explode('||', entitiesToUTF8(convertLegacyOptions("option1;;option2;;option3")));
or list it like that:

Code: Select all

1- Cash
2- Credit Card
3- ..
by D Oliveira
2020-07-10 02:11
Forum: Advanced Customizations > Others
Topic: Options List sort order
Replies: 11
Views: 246

Re: Options List sort order

on mobile devices you're hopeless, seems to be default and fixed, in tableview if thats what you're looking for (desktop only) go to your tablename_view.php file and find: $x->ColCaption = array( "colname1", "colname2", "colname3"); $x->ColFieldName = array('kcal', 'fat', 'carbs'); $x->ColNumber = a...
by D Oliveira
2020-07-09 11:36
Forum: Tips And Tricks
Topic: Android App to access AppGini
Replies: 14
Views: 334

Re: Android App to access AppGini

Sorry for the misunderstanding, hmm in that case you might wanna use corona just for the iOS build and follow this topic's tutorial for an android version, sorry couldn't find a better answer to this issue
by D Oliveira
2020-07-08 23:33
Forum: Tips And Tricks
Topic: Android App to access AppGini
Replies: 14
Views: 334

Re: Android App to access AppGini

yeah its a free source project now, you should be able to publish it for free!

https://github.com/coronalabs/corona

https://forums.solar2d.com/
by D Oliveira
2020-07-08 19:21
Forum: Tips And Tricks
Topic: Android App to access AppGini
Replies: 14
Views: 334

Re: Android App to access AppGini

Hey Jan, just edit main.lua follow this simple tutorial: https://docs.coronalabs.com/api/library/native/newWebView.html local webView = native.newWebView( display.contentCenterX, display.contentCenterY, 320, 480 ) webView:request( "http://www.coronalabs.com/" ) -- or webView:request( "localfile.html...
by D Oliveira
2020-07-08 13:40
Forum: Tips And Tricks
Topic: Android App to access AppGini
Replies: 14
Views: 334

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 de...
by D Oliveira
2020-07-06 10:38
Forum: Advanced Customizations > Others
Topic: Android App for AppGini
Replies: 7
Views: 239

Re: Android App for AppGini

corona sdk has a "one liner" that will work on both iOS and Android, check it out

https://coronalabs.com/

https://docs.coronalabs.com/api/library ... bView.html
by D Oliveira
2020-07-03 20:26
Forum: bizzworxx AppGini Helper JavaScript Library
Topic: How to redirect to a specific page/url after login
Replies: 4
Views: 146

Re: How to redirect to a specific page/url after login

you're absolutely right, I exchanged my server keys with localhost's lol, thanks!!
by D Oliveira
2020-07-03 09:59
Forum: Advanced Customizations > Hooks
Topic: automatic daily server email
Replies: 5
Views: 303

Re: automatic daily server email

thank you for taking the time, thats is also a clever way to approach this, already paid for the easycron subscription lol but will definitely give it a shot on my upcoming projects, thanks again mate.

Cheers
by D Oliveira
2020-07-03 09:57
Forum: bizzworxx AppGini Helper JavaScript Library
Topic: How to redirect to a specific page/url after login
Replies: 4
Views: 146

Re: How to redirect to a specific page/url after login

dude thats is just amazing, one of my apps have a "share recipe" button through whatsapp and every time ppl need to go through the login page to see it, my question is, how to adapt that to work with google captcha security ? thanks a lot jan, you're a gem to this community =)
by D Oliveira
2020-06-26 15:24
Forum: Advanced Customizations > Hooks
Topic: automatic daily server email
Replies: 5
Views: 303

Re: automatic daily server email

Thank you for such a detailed explanation =) easycron.com was my choice, really simplified everything! Share your paypal email so I can show you some modest appreciation, I contacted appgini support and asked them to enable a section for paid services or donations and they said they might work on it...
by D Oliveira
2020-06-26 10:42
Forum: Advanced Customizations > Hooks
Topic: automatic daily server email
Replies: 5
Views: 303

automatic daily server email

Hey folks, in one of my projects the user has to log data in their diary every day, I made a php script that scans the database and if no entry was found an email is sent reminding the user to log in the diary. Question is, how how can I make that automatic, never handled CRON jobs before so can any...
by D Oliveira
2020-06-22 14:25
Forum: Advanced Customizations > Hooks
Topic: Submit Button Appears
Replies: 6
Views: 271

Re: Submit Button Appears

Code: Select all


?>

<script>

document.getElementById( '#id' ).style.display = 'none';

</script>

<?php

by D Oliveira
2020-06-22 03:38
Forum: Advanced Customizations > Hooks
Topic: Submit Button Appears
Replies: 6
Views: 271

Re: Submit Button Appears

try inspecting the element, get the id or class, and with javascript set display = none
by D Oliveira
2020-06-17 22:21
Forum: Advanced Customizations > Hooks
Topic: insert with lowercase
Replies: 2
Views: 153

Re: insert with lowercase

hooks/tablename.php -> after insert & after update functions, here are your options:

php

Code: Select all

<?php
echo strtolower("Hello WORLD.");
?>
js

Code: Select all

var str = "Hello World!";
var res = str.toLowerCase();
.css

Code: Select all

div {
  text-transform: lowercase;
}

by D Oliveira
2020-06-13 09:59
Forum: Tips And Tricks
Topic: php ver 7+
Replies: 2
Views: 177

Re: php ver 7+

My hosting provider Bluehost.com "upgraded" the hosting service from php ver 5 to php ver 7.3 and now all my AppGini projects do not work anymore. After investigating the differences and problems the new version 7 could bring, I found one that is causing major problems. (consulted on php.net/manual...
by D Oliveira
2020-06-12 14:04
Forum: Advanced Customizations > Hooks
Topic: insert html elements before a field
Replies: 5
Views: 271

Re: insert html elements before a field

Many thanks! with your suggestion I prepared the form correctly (i set my code into div tag and not into p tag because i have several paagraph and an image) but unfortunately if I view the form itself with the "print" option (print view), my custom html code is displayed below the form fields. I wo...
by D Oliveira
2020-06-10 15:40
Forum: Advanced Customizations > Others
Topic: Modify search behavior in tableview (?)
Replies: 11
Views: 570

Re: Modify search behavior in tableview (?)

thank you for taking the time, I personally think selectize looks better than the usual select2 box, I know a lot can be done with .css but still prefer selectize, also Im not sure about the search time using that method within a table with millions of records, take a look at the finished work at fi...
by D Oliveira
2020-06-08 11:52
Forum: Advanced Customizations > Hooks
Topic: insert html elements before a field
Replies: 5
Views: 271

Re: insert html elements before a field

Hello everyone! I would like to insert a custom text before a field. The text should be formatted in html and precede the field label. I think the solution is to use $html in the hook file's tablename_dv () function but I have no idea how to use it. For example, I would like to display the image my...
by D Oliveira
2020-06-05 10:59
Forum: bizzworxx AppGini Helper JavaScript Library
Topic: Strange alignment
Replies: 3
Views: 162

Re: Strange alignment

you can try inspecting the element, getting the class or id and then apply .css <style> /* for id */ #element_id{ text-align:center !important; /* if that doesnt work try */ margin: 0 auto !important; } /* for class */ .element_class{ text-align:center !important; /* if that doesnt work try */ margi...
by D Oliveira
2020-06-03 18:03
Forum: Advanced Customizations > Others
Topic: Modify search behavior in tableview (?)
Replies: 11
Views: 570

Re: Modify search behavior in tableview (?)

Could you embed js in the html, make ajax call within that? yes that did it! Im not gonna extend here because there was a lot of code for it to work, but if someone wants the answer it is html+js with ajax, inside ajax file make the while echo each option and on success function of ajax append thos...
by D Oliveira
2020-06-01 20:59
Forum: Advanced Customizations > Others
Topic: Modify search behavior in tableview (?)
Replies: 11
Views: 570

Re: Modify search behavior in tableview (?)

is there a way to build a query using php in the _dv.html templates files? because then I could use selectize for that as well

the select2 inside _DV template is a lookup field, and I'll try to re-engineer that with selectize
by D Oliveira
2020-06-01 20:31
Forum: Advanced Customizations > Others
Topic: Modify search behavior in tableview (?)
Replies: 11
Views: 570

Re: Modify search behavior in tableview (?)

I've managed to make the feature work for the tableview search, even though I need more specific directions to change the functionality of select2 inside detail view, theres is no select element to work on, its in a div
by D Oliveira
2020-06-01 16:10
Forum: Advanced Customizations > Others
Topic: Modify search behavior in tableview (?)
Replies: 11
Views: 570

Re: Modify search behavior in tableview (?)

even though I have solved the issue with tableview I cannot replicate this behavior in a select2 inside detail view, anyone know how to modify the search behavior in that scenario? Thank you