Search found 230 matches

by onoehring
2019-08-17 12:07
Forum: Advanced Customizations > Others
Topic: Batch Action multi sources.
Replies: 7
Views: 120

Re: Batch Action multi sources.

Hi Jay, I suggest you take a look at https://www.activedbsoft.com/overview-querytool.html which is a great tool to create SQL that shows the things you want. I agree with Jan, that working on a normalized model is much easier and .... most of the time ... worth recreating the database from scratch (...
by onoehring
2019-08-17 06:33
Forum: Bugs/annoyances
Topic: Password Reset does not work
Replies: 4
Views: 59

Re: Password Reset does not work

Hi,

just to make sure: Did you check your spam mails?

Olaf
by onoehring
2019-08-17 06:32
Forum: Advanced Customizations > Hooks
Topic: create a custom error message if a field's data already exists and prevent the record from being saved
Replies: 1
Views: 41

Re: create a custom error message if a field's data already exists and prevent the record from being saved

Hi Fabiano,

I suggest you use a hook (before_insert). Just test if name_surename already exists, if not, show some JS error and cancel the insert.
BTW: Are you sure, that name_surename is unique?

Olaf
by onoehring
2019-08-14 06:09
Forum: Advanced Customizations > Hooks
Topic: insert a text at the top of the detailed view of a table
Replies: 20
Views: 372

Re: insert a text at the top of the detailed view of a table

Hi Fabiano,

thanks for asking and forwarding the answer to all of us.
Olaf
by onoehring
2019-08-13 07:15
Forum: Advanced Customizations > Hooks
Topic: insert a text at the top of the detailed view of a table
Replies: 20
Views: 372

Re: insert a text at the top of the detailed view of a table

Hi Ron,

thanks for the link. Isn't the solution of simply hiding the button using CSS somehow to be preferred? This way the user interacts with his own code only, not needing to touch any AppGini generated code (datalist.php).

Olaf
by onoehring
2019-08-11 16:26
Forum: Getting Started
Topic: redirect to https
Replies: 1
Views: 89

Re: redirect to https

Hi Fabiano, as AppGini works fine with https (applications I generated work fine over https) a) just set up your webprovider to forward http to https. b) Google how to set up .htaccess to forward all http to https ( see: https://stackoverflow.com/questions/13977851/htaccess-redirect-to-https-www#139...
by onoehring
2019-08-10 08:15
Forum: Tips And Tricks
Topic: Restore MySQL database when there are views on there - Do this in order to restore it
Replies: 2
Views: 109

Re: Restore MySQL database when there are views on there - Do this in order to restore it

Hi Celson,

interesting.

Code: Select all

ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`orc2prod`@`%%` SQL SECURITY DEFINER */
/*!50001
Looks like some command is not noticed by your mysql version maybe?
Which version are you using?

Olaf
by onoehring
2019-08-10 08:11
Forum: Getting Started
Topic: Strange artifacts in Appgini Tables
Replies: 2
Views: 109

Re: Strange artifacts in Appgini Tables

Hi thead is some HTML. I believe, the page has not been rendered correctly and suggest, you remove all files from your sever (expect /hooks, /images, config.php and setup.md5 and other stuff you uploaded/did by hand). Then regenerate and reupload everything again. I had a similar problem which I was...
by onoehring
2019-08-10 08:07
Forum: Advanced Customizations > Hooks
Topic: insert a text at the top of the detailed view of a table
Replies: 20
Views: 372

Re: insert a text at the top of the detailed view of a table

Hi Fabiano, thanks for your feedback. Please make sure, that other stuff in your application works. The button might be needed for something else. I also liked your idea to place informational text on the page the way you did. I suggest, you post your (shortened) code or a link to this thread in the...
by onoehring
2019-08-10 07:49
Forum: Advanced Customizations > Hooks
Topic: insert a text at the top of the detailed view of a table
Replies: 20
Views: 372

Re: insert a text at the top of the detailed view of a table

Hi Fabiano, I compared your generated code to an application I created. My application: ec83.png Your application: ec83b.png As we can see, that button seems to be some button from AppGini itself. Unfortunately it's named EnterAction so it seems to have some universal function. Explanation As we can...
by onoehring
2019-08-10 07:29
Forum: Advanced Customizations > Hooks
Topic: insert a text at the top of the detailed view of a table
Replies: 20
Views: 372

Re: insert a text at the top of the detailed view of a table

Hi Fabiano,

thank you. Now I (unfortunately) also see that button. I will check it out in more detail and reply again.
Olaf
by onoehring
2019-08-10 05:55
Forum: Advanced Customizations > Hooks
Topic: insert a text at the top of the detailed view of a table
Replies: 20
Views: 372

Re: insert a text at the top of the detailed view of a table

Hi Fabio, in your test-page I can not see any problem for my PC (Windows). Neither in Vivaldi (chromium based) nor edge can some invia be seen. So my question at this time is: That strange behaviour you describe (Edge, zoomin): does it occur in your TEST-page (as well) or only your original page? Zw...
by onoehring
2019-08-09 10:04
Forum: Advanced Customizations > Hooks
Topic: insert a text at the top of the detailed view of a table
Replies: 20
Views: 372

Re: insert a text at the top of the detailed view of a table

Hi Fabiano, could you please repost the exact header code? I can not find "Compiri la guida" in your code above, so there seems to be a difference to your actual code. That might be a long shot, but maybe there is some old stuff creating that button. If you take a look at the source code in your bro...
by onoehring
2019-08-06 11:30
Forum: Advanced Customizations > Hooks
Topic: insert a text at the top of the detailed view of a table
Replies: 20
Views: 372

Re: insert a text at the top of the detailed view of a table

Hi Fabiano,

what happens, when you do nothing (see code) to the header? Is the invia-button still there?

Code: Select all

case 'detailview':
$header='<%%HEADER%%>';
break;
Olaf
by onoehring
2019-08-05 15:15
Forum: Getting Started
Topic: translate calendar to portuguese
Replies: 1
Views: 59

Re: translate calendar to portuguese

Hi, isn't there a resources\datepicker\js\lang\pt.js file? In resources\datepicker\js\datepicker.js you could probably change around line 37 this code var loc = scriptFiles[scriptFiles.length - 1].src.substr(0, scriptFiles[scriptFiles.length - 1].src.lastIndexOf("/")) + "/lang/" + datePicker.languag...
by onoehring
2019-08-05 15:07
Forum: Advanced Customizations > Hooks
Topic: insert a text at the top of the detailed view of a table
Replies: 20
Views: 372

Re: insert a text at the top of the detailed view of a table

Hi,

I am not sure which button in your screenshot you mean, but your code does contain a button ... so there is supposed to be one.

Code: Select all

<button onclick="myFunction()" id="myBtn">Continua...</button>
Maybe you might add an ID to your button and hide other buttons in that area using CSS?

Olaf
by onoehring
2019-08-03 06:42
Forum: Tips And Tricks
Topic: How can I add text to the Modify record icon
Replies: 9
Views: 939

Re: How can I add text to the Modify record icon

Hi Jan,

thank you a lot for your solution and ideas. Really good.

Olaf
by onoehring
2019-08-02 11:17
Forum: Tips And Tricks
Topic: How can I add text to the Modify record icon
Replies: 9
Views: 939

Re: How can I add text to the Modify record icon

Hi, maybe something like this can be used to make use of a timer which checks continuously (but we need to make sure, the click me is added only once). <script> \$j(function() { setInterval(function() { var n = \$j(' search if click me was added already ').find(' something we need to search ').lengt...
by onoehring
2019-08-02 10:37
Forum: Tips And Tricks
Topic: How can I add text to the Modify record icon
Replies: 9
Views: 939

Re: How can I add text to the Modify record icon

Hi landinialejandro,

your solution does not seem to work. I believe the reason is, that the specific part of the page has not been created in the browser, when the JS command is executed.

Olaf
by onoehring
2019-08-02 09:57
Forum: Tips And Tricks
Topic: Allow Google Crawler Access
Replies: 2
Views: 76

Re: Allow Google Crawler Access

Hi Bruce, if you want Google to access your site, you can switch off the login system (see https://forums.appgini.com/phpbb/viewtopic.php?f=2&t=3093 ). This will enable everyone to use your site - like google would. Or simply change the GUEST permissions. This should enable Google to access the part...
by onoehring
2019-08-01 07:59
Forum: Tips And Tricks
Topic: Failed logins documented with shortened passwords for safety
Replies: 0
Views: 60

Failed logins documented with shortened passwords for safety

Hi, as this idea evolved from Ahmed's Udemy course ( https://forums.appgini.com/phpbb/viewtopic.php?f=3&t=2079 ) I highly recommend anyone buying the course. It's really good. Ahmed suggests in lesson 4.11 the reporting of failed logins. In this video/code he explains, how to write specific data to ...
by onoehring
2019-08-01 07:44
Forum: Tips And Tricks
Topic: Improve security / safety against DDOS and brute force (failed) logins
Replies: 0
Views: 49

Improve security / safety against DDOS and brute force (failed) logins

Hi, I present a little more safety for your applications. The attached file will count access from a user (by IP), and, if the file is being accessed to much (defined in the script), the user (IP) will be banned for a certain time (defined in the script) from accessing some page. The user will then ...
by onoehring
2019-07-30 14:47
Forum: Getting Started
Topic: How: Change Label on the fly (filling in result from database)?
Replies: 2
Views: 65

Re: How: Change Label on the fly (filling in result from database)?

Hi Jan,

thank you. I will check it out .... and try my best with jquery

Olaf
by onoehring
2019-07-30 13:58
Forum: Getting Started
Topic: How: Change Label on the fly (filling in result from database)?
Replies: 2
Views: 65

How: Change Label on the fly (filling in result from database)?

Hi, Let's assume this situation. We collect some alpha-numeric code in different part, think of it similar to an IP address: ab.cde.e5f.yx7 The dividers are userdefined: The user may choose / as first, - as second and . as last divider, saving is like ab / cde - e5f . yx7 I want to change the header...