Search found 857 matches

by pböttcher
2020-05-23 07:25
Forum: Bugs/annoyances
Topic: Strange Text In APPS
Replies: 3
Views: 85

Re: Strange Text In APPS

Hi,

as it looks like in you screen-shots this text displays after a date field.

Do you have an code that tries to manipulate a date field?
Otherwise, try create a small new app with a date field an see if this text shows up again.
by pböttcher
2020-05-23 07:23
Forum: Getting Started
Topic: Anonymous user permissions
Replies: 1
Views: 39

Re: Anonymous user permissions

Hi,

can you explain a little bit more what you mean? AppGini provides the ability to register as a member. But per definition (at least my understanding) a registered user is not anonymous any more.
by pböttcher
2020-05-22 19:20
Forum: Getting Started
Topic: Login acting weird
Replies: 9
Views: 172

Re: Login acting weird

Hi,

can you login once you reset the config ? Do you have anything that update your membership table?
by pböttcher
2020-05-22 19:19
Forum: Advanced Customizations > Others
Topic: Dynamically generate sequential numbers
Replies: 2
Views: 108

Re: Dynamically generate sequential numbers

Hi,

you can try e.g. for A.xxxxxx

Code: Select all

SELECT lpad(max(cast(SUBSTRING(field, 3, length(field)-2) as unsigned))+1,6,0)
FROM `table` a
where field like 'A.%'
this will give you the next number for A.
Replace table and field by the appropriate entries of your db.
by pböttcher
2020-05-21 19:09
Forum: Advanced Customizations > Hooks
Topic: Hiding Table View
Replies: 1
Views: 55

Re: Hiding Table View

Hi,

as you do not have the $perm defined, the comparison will always result in 1 so the HideTableView will always be set.

Actually, no need for that statement in your setting. Just set it to 1.
by pböttcher
2020-05-21 10:02
Forum: Bugs/annoyances
Topic: Filter Error
Replies: 2
Views: 107

Re: Filter Error

Hi,

can you post some samples. Is the user always using the same filter, or does it happen randomly?
by pböttcher
2020-05-21 10:01
Forum: Advanced Customizations > Others
Topic: Editing only certain fields.
Replies: 4
Views: 198

Re: Editing only certain fields.

Hi, you could solve your issue by adding the same table again to you APPGini app, put all field to read-only and leave only your "comment" field read-write. After regenerating your app you need to replace the tabledefintion in your database by a view to the original table. Drop table create view tab...
by pböttcher
2020-05-21 09:56
Forum: Bugs/annoyances
Topic: forgot password
Replies: 6
Views: 1602

Re: forgot password

Hi,

you can check if the mail connection works, if you go to the admin area, select a user and send him an email.
Now you should see the option to debug the sending.
mail.PNG
mail.PNG (7.23 KiB) Viewed 92 times
Maybe that gives a hint.
by pböttcher
2020-05-19 20:43
Forum: Tips And Tricks
Topic: Calculated fields Cyrillic characters problem
Replies: 5
Views: 238

Re: Calculated fields Cyrillic characters problem

Hi, I agrre that this is a bug in AppGini and you shall put it on the bug page. You can add cyrillic letters to the dropdown and lookups but it is not working with the calculated fields. You can verify that if you switch the view within Appgini to edit the calculated field. Here you see already that...
by pböttcher
2020-05-17 09:35
Forum: Advanced Customizations > Others
Topic: Show hidden field from dropdown blank
Replies: 4
Views: 177

Re: Show hidden field from dropdown blank

Hi, you can try to add to the hooks/header-extras.php <?php $filename=basename($_SERVER['PHP_SELF']); if (basename($_SERVER['PHP_SELF']) == 'index.php') { ?> <script> $j(function(){ $j('.collapser').on('click',function() { var actual=this; $j('.btn[aria-expanded="true"]').each(function() { if (this!...
by pböttcher
2020-05-16 17:32
Forum: Getting Started
Topic: DateTime data type format and localization
Replies: 2
Views: 251

Re: DateTime data type format and localization

Hi,

you can try

moment.updateLocale('en', {week: {dow: 1}});
by pböttcher
2020-05-16 17:22
Forum: Tips And Tricks
Topic: Calculated fields Cyrillic characters problem
Replies: 5
Views: 238

Re: Calculated fields Cyrillic characters problem

Hi,

can you post the queries you are using? What does

compression in the calculated field

mean?
by pböttcher
2020-05-16 17:19
Forum: Advanced Customizations > Others
Topic: Show hidden field from dropdown blank
Replies: 4
Views: 177

Re: Show hidden field from dropdown blank

Hi you can try $j(document).ready(function() { $j("#color").change(function(e) { if($j("#color :selected").text()=="Red") { $j("#shade").parents(".form-group").hide(); } if($j("#color :selected").text()=="Green") { $j("#shade").parents(".form-group").hide(); } // (there's more colors) if(e.currentTa...
by pböttcher
2020-05-03 19:16
Forum: Getting Started
Topic: Only 5 rows to show
Replies: 3
Views: 190

Re: Only 5 rows to show

Hi,

short answer. Yes.

You can do this in the hooks/tablenmame.php --> init function by modifying the options->QueryWhere to your needs.

Also you should add a check to the dv function, if the user would try to call a direct record that he/she is not allowed to.
by pböttcher
2020-04-29 18:26
Forum: Advanced Customizations > Hooks
Topic: Pop-up windows after record upgraded
Replies: 6
Views: 246

Re: Pop-up windows after record upgraded

Hi Davide,

yes I think it is, you can try with what I wrote in my last post here.
by pböttcher
2020-04-29 18:24
Forum: Bugs/annoyances
Topic: Data Format Bug
Replies: 15
Views: 2006

Re: Data Format Bug

Hi,

maybe I misunderstand your request,

but if you want to enter a decimal number into the database you need to provide it with a . not a ,
so try 20.30 instead of 20,30.
by pböttcher
2020-04-28 18:42
Forum: Getting Started
Topic: Thank You Appgini
Replies: 4
Views: 186

Re: Thank You Appgini

Hi Jim,

glad to read that you managed to get you app up and running. Cross the fingers that everything works out fine.
by pböttcher
2020-04-28 18:41
Forum: Advanced Customizations > Hooks
Topic: Pop-up windows after record upgraded
Replies: 6
Views: 246

Re: Pop-up windows after record upgraded

Hi Davide, thanks, that makes it almost clear. If I assume correctly, you will create a record in the database upon receiving an external alert. Once this record is created you send an email, once updated, another email is send. As the system is not "interactive" (meaning that there is no real commu...
by pböttcher
2020-04-27 21:01
Forum: Advanced Customizations > Hooks
Topic: Multiple companies using same app
Replies: 6
Views: 291

Re: Multiple companies using same app

Hi, just a simple thought. Why do you not provide a page after login where the firemen needs to pick for which department they want to act with this login. Dropdown with possible departments for that login. Once he picked the department you have the required information and can assign the correct gr...
by pböttcher
2020-04-27 20:57
Forum: Advanced Customizations > Hooks
Topic: Pop-up windows after record upgraded
Replies: 6
Views: 246

Re: Pop-up windows after record upgraded

Hi,

maybe you can explain a little bit more what you try. What tables do you have? What means upgrade of a record, or table ID changes?
What did you try so far?
by pböttcher
2020-04-24 15:29
Forum: Getting Started
Topic: Detail view only for Admins users
Replies: 5
Views: 285

Re: Detail view only for Admins users

Hi,

try

$j('#file').parents('.form-group').hide()

Where #file is the selector for your upload.
by pböttcher
2020-04-22 18:40
Forum: Getting Started
Topic: Modifying login page
Replies: 10
Views: 315

Re: Modifying login page

Hi, 1, the danger by making the file read-only for AppGini to not overwrite it is, that with an updated version and "necessary" modification to that file, you will miss it. 2, You can use the hooks/header-extra.php file to do your changes. - check if you are on the login page - apply your modificati...
by pböttcher
2020-04-22 18:34
Forum: Getting Started
Topic: Save as PDF
Replies: 2
Views: 156

Re: Save as PDF

Hi,

sorry, I do not get what exactly you need. Through the Print option you get the HTML page that you can print as PDF (or save it as PDF file).
The record has the id.
by pböttcher
2020-04-22 18:29
Forum: Feature Suggestions
Topic: Configure query for homepage record count badge
Replies: 3
Views: 230

Re: Configure query for homepage record count badge

Hi,

great to see that you got it working. The solution is fine.