Search found 964 matches

by pböttcher
2020-08-04 15:13
Forum: Advanced Customizations > Hooks
Topic: Send an email if when the record is updated and a checkbox field is active
Replies: 2
Views: 394

Re: Send an email if when the record is updated and a checkbox field is active

Hi,

what datatype is your invia_comunicazione field?

Can you try:

Code: Select all

sqlValue("SELECT invia_comunicazione FROM richiesta_attestato where rich_att_ID='$data['selectedID']'");

if($invio_comunicazione ==1){
by pböttcher
2020-08-01 06:09
Forum: Tips And Tricks
Topic: Field content not shown in table detail view
Replies: 4
Views: 529

Re: Field content not shown in table detail view

Hi,

sorry I did not get the answer. Did it work when you renamed the file and reloaded the page? (Maybe need to clear your browser cache as well).
Of course, if you regenerate the app the file will be reproduced and nothing would change.
by pböttcher
2020-08-01 06:06
Forum: Getting Started
Topic: Send Feedback Message to Admin.
Replies: 2
Views: 631

Re: Send Feedback Message to Admin.

Hi,

have a look at the admin pageMail.php. That can give you a starting point.
by pböttcher
2020-07-29 14:56
Forum: Tips And Tricks
Topic: Field content not shown in table detail view
Replies: 4
Views: 529

Re: Field content not shown in table detail view

Hi,

you try to rename the
templates/contacten-ajax-cache.php
file. Just give it another name.
by pböttcher
2020-07-29 12:02
Forum: Advanced Customizations > Hooks
Topic: Sending email to multiple receipt with sendmail()
Replies: 4
Views: 498

Re: Sending email to multiple receipt with sendmail()

Hi,

maybe not exactly what you need, but you could also use the hooks/__global.php -> sendmail_handler

You would need to add possibly some logic if you send from different forms, but basically add

Code: Select all

$pm->addCC('MAILADDRESS', 'NAME');
That will send the mail in addition to MAILADDRESS
by pböttcher
2020-07-29 07:50
Forum: Getting Started
Topic: Auto change or populate date based on duration value
Replies: 9
Views: 726

Re: Auto change or populate date based on duration value

Hi, yes of course. If you change the fieldtype, the script need to be adjusted as well. you can try ( assuming the your datetime field display as dd-mm-yyyy hh:mm:ss ) function get_date(date_field){ var arr = $j('#' + date_field).val().split(/ |-/); var y = arr[2]; var m = arr[1]; var d = arr[0]; va...
by pböttcher
2020-07-27 19:52
Forum: Advanced Customizations > Others
Topic: Datepicker on change
Replies: 3
Views: 179

Re: Datepicker on change

Hi,

just go for the the active select2 and the current selected element. That gives you what you need.
by pböttcher
2020-07-27 17:46
Forum: Advanced Customizations > Others
Topic: Options List sort order
Replies: 19
Views: 1188

Re: Options List sort order

Hi,

can you create an app like this and tell if the sorting still happens.
sort.png
sort.png (123.11 KiB) Viewed 820 times
by pböttcher
2020-07-27 09:09
Forum: Advanced Customizations > Others
Topic: Datepicker on change
Replies: 3
Views: 179

Re: Datepicker on change

Hi,

try

$j('.datetimepicker').on('dp.change',.....)
by pböttcher
2020-07-25 05:35
Forum: Getting Started
Topic: appgini resolution
Replies: 3
Views: 177

Re: appgini resolution

Well, I do not really get what you mean. The screenshot look to me like a plain AppGini app without any adoption. It has such a "empty" border.
by pböttcher
2020-07-24 19:56
Forum: Getting Started
Topic: appgini resolution
Replies: 3
Views: 177

Re: appgini resolution

Hi,

one possibility would be that you changed some "core" files which were overwritten and you modifications as well.
by pböttcher
2020-07-21 16:57
Forum: Advanced Customizations > Hooks
Topic: Block Some Fields
Replies: 1
Views: 121

Re: Block Some Fields

Hi,

short answer: yes.

You can disable the fields. There are a couple of posts in the forum on how-to's.
You still need to check that in the hooks insert, update as the pure js version is not safe.
by pböttcher
2020-07-19 20:23
Forum: Tips And Tricks
Topic: How can I give a better info to the user when a file is uploaded?
Replies: 6
Views: 292

Re: How can I give a better info to the user when a file is uploaded?

Hi,

I aggree, it would be helpful to understand what exactly you try to achieve.

You could try to add

$j('.clear-upload').text(' remove selected file')

to add some text to the "x".
by pböttcher
2020-07-19 20:13
Forum: Advanced Customizations > Hooks
Topic: Space Usage For File Uploads for Users
Replies: 24
Views: 636

Re: Space Usage For File Uploads for Users

Hi,

you can access the $_FILES array which holds the data of the uploaded file (s).

e.g. $_FILES['file_load']['size'] will give you the filesize.

So you could store the sum of the uploads for a user in a field and update it upon insert/update and delete accordingly.
by pböttcher
2020-07-19 07:58
Forum: Advanced Customizations > Others
Topic: Show only certain records in drop down
Replies: 6
Views: 248

Re: Show only certain records in drop down

Hi, can you try as query in the advance sql (and via phpmyadmin) SELECT `animals`.`id`, `animals`.`name` FROM `animals` LEFT JOIN `livestock_species` as livestock_species1 ON `livestock_species1`.`id`=`animals`.`species` LEFT JOIN `livestock_breed` as livestock_breed1 ON `livestock_breed1`.`id`=`ani...
by pböttcher
2020-07-18 09:08
Forum: Advanced Customizations > Hooks
Topic: Waiting indikation
Replies: 7
Views: 261

Re: Waiting indikation

Small Correction, just saw that there is spinnerer instead of spinner in the CSS defintions. Use <style> .spinner { width: 244px; height: 100vh; line-height: 190vh; text-align: center; position: absolute; left: 50%; transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); -ms-transform...
by pböttcher
2020-07-17 21:25
Forum: Advanced Customizations > Hooks
Topic: Waiting indikation
Replies: 7
Views: 261

Re: Waiting indikation

Hi, you can try this: put this in the header_extras.php <style> .spinnerer { width: 244px; height: 100vh; line-height: 190vh; text-align: center; position: absolute; left: 50%; transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -webkit-transf...
by pböttcher
2020-07-17 10:57
Forum: Bugs/annoyances
Topic: Select2 not showing in DV
Replies: 8
Views: 373

Re: Select2 not showing in DV

Hi,

can you change once the datatype of the job_items.siteid to integer and test.
by pböttcher
2020-07-16 17:41
Forum: Tips And Tricks
Topic: How can I give a better info to the user when a file is uploaded?
Replies: 6
Views: 292

Re: How can I give a better info to the user when a file is uploaded?

Hi,

can you explain a little bit more detailed what you would expect.
by pböttcher
2020-07-16 17:41
Forum: Getting Started
Topic: AppGini Capacity
Replies: 5
Views: 275

Re: AppGini Capacity

Hi Frank,

from my perspective I would say that there should be no issue. You may have some fun to create all the users and groups (if you need multiple), but the APP should handle that.
by pböttcher
2020-07-15 20:27
Forum: Tips And Tricks
Topic: Change row colour from drop down menu. Please help!
Replies: 14
Views: 4205

Re: Change row colour from drop down menu. Please help!

Hi, try case 'tableview': $header="<%%HEADER%%><script>\$j(function(){ \$j('td.TABLENAME-FIELDNAME').each(function(){ switch (\$j(this).find('i').attr('class').indexOf('-check')) { case -1: // unchecked \$j(this).parent().css({'background-color': 'red'}); break; default: // checked \$j(this).parent(...
by pböttcher
2020-07-15 05:25
Forum: Getting Started
Topic: print logged in user
Replies: 2
Views: 167

Re: print logged in user

Hi,

one possiblitly would be:

you can use the TABLENAME-dv function and check if the dvprint_x is set.
If set, add the $memberInfo['username'] to your page, either directly to the html, or via some script code.
by pböttcher
2020-07-15 05:19
Forum: Getting Started
Topic: AppGini Capacity
Replies: 5
Views: 275

Re: AppGini Capacity

Hi,

from my personal view I would say

1, yes
2, you may need to expand the security for uploaded files (if you have such a feature). Otherwise yes.
by pböttcher
2020-07-12 17:19
Forum: Advanced Customizations > Others
Topic: Options List sort order
Replies: 19
Views: 1188

Re: Options List sort order

Can you post your dv.js file (or rename it and see if it still happens)