Search found 25 matches

by Yilmaz
2020-06-26 19:53
Forum: Advanced Customizations > Hooks
Topic: Readonly permission in hooks/tablename.php doesn‘t work
Replies: 1
Views: 191

Re: Readonly permission in hooks/tablename.php doesn‘t work

Correction: The behavior with loosing data after clicking on save button happens ONLY in case of dropdown fields (tried also with date fields (days, month, year ID) like \$j('#Datefield-dd').attr(‚disable‘, true).... \$j('#Datefield-mm').attr(‚disable‘, true).... \$j('#Datefield).attr(‚disable‘, tru...
by Yilmaz
2020-06-26 19:20
Forum: Advanced Customizations > Hooks
Topic: Readonly permission in hooks/tablename.php doesn‘t work
Replies: 1
Views: 191

Readonly permission in hooks/tablename.php doesn‘t work

Dear all, I‘ve a user group „Finance“ where the user „max“ member of it. In /hooks/tablename.php I‘ve edited the function tablensne_dv per JavaScript for 2 different kind of field types for readonly permissions related to the group Finance: 1. For text fields: ... \$j('#Textfield').prop(‚readonly‘, ...
by Yilmaz
2020-05-07 08:01
Forum: Advanced Customizations > Others
Topic: Field for electronic signature
Replies: 11
Views: 5649

Re: Field for electronic signature

Dear all, during these crazy times of Corona and especially HomeOffice it's getting more and more important that most of company related workflows are digital. So electronic signing of forms and approvements is a MUST HAVE! Is there any near future plan to integrate this functionaly (like https://gi...
by Yilmaz
2019-07-24 13:57
Forum: Advanced Customizations > Hooks
Topic: Init hook question
Replies: 3
Views: 879

SOLVED: Re: Init hook question

Thx a lot for your hint Olaf! Great idea! I've done it using php and (like your suggestion) per cronjob executing the php file once a day: $select_abfrage = "SELECT * FROM loans"; $select_ergebnis = mysqli_query($connect, $select_abfrage); while($dsatz = mysqli_fetch_assoc($select_ergebnis)){ $diffe...
by Yilmaz
2019-07-24 07:02
Forum: Advanced Customizations > Hooks
Topic: Init hook question
Replies: 3
Views: 879

Init hook question

Dear Appgini forum, does anyone an idea for solving the following problem: - I'm using Appgini 5.75 - Within my Appgini application I have a table, let's call it products. - This table has the fields: ID, CREATEDDATE, VALID_TO, STATUS,... - ID: primary key, CREATEDDATE: date, VALID_TO: date, STATUS:...
by Yilmaz
2019-05-03 07:15
Forum: Advanced Customizations > Others
Topic: Field for electronic signature
Replies: 11
Views: 5649

Re: Field for electronic signature

Hallo Jan,

habe Dir eine PN verschickt!

Viele Grüße
Yilmaz
by Yilmaz
2019-04-10 12:46
Forum: Advanced Customizations > Others
Topic: Field for electronic signature
Replies: 11
Views: 5649

Re: Field for electronic signature

Dear all,

Did anyone implement in the meanwhile "signature pad" library to use it within Appgini as a field for electronic signature to save it into mySQL?

Kind regards,
Yilmaz
by Yilmaz
2017-04-21 08:46
Forum: Advanced Customizations > Others
Topic: RecordsPerPage for child table
Replies: 2
Views: 1957

Re: RecordsPerPage for child table

Dear all,

anyone an idea or hint for me??

KR
Yilmaz
by Yilmaz
2017-04-05 07:26
Forum: Advanced Customizations > Others
Topic: RecordsPerPage for child table
Replies: 2
Views: 1957

RecordsPerPage for child table

Dear all, the way(s) how to modify the number of "records per page" for a "PARENT-table" is clear for me in AppGini 5.60: 1. Open the axp file > click on your table and modify the field "Records per page" from default value 10 to X or 2. Go to datalist.php > find "function DataList()" > modify the l...
by Yilmaz
2014-02-21 15:02
Forum: Advanced Customizations > Others
Topic: Field for electronic signature
Replies: 11
Views: 5649

Field for electronic signature

Dear all, I would like to add into my database table an additional field which will allow to sign (web, ipad, iphone etc.) the signature of the user. For that purpose I prepared a very simple website with a signature area ( http://www.planetnikon.de/sign ) at the very bottom. If you click on this fi...
by Yilmaz
2013-10-15 16:40
Forum: Advanced Customizations > Others
Topic: Coming soon - how to add your own page to your app
Replies: 11
Views: 9680

Re: Coming soon - how to add your own page to your app

Hi espo, good idea to test the php with a test html-site. I suppose that the problem is with the path where you should include the librarys for the required functions as getMemberInfo etc, e.g.: include("../lib.php"); The path should relative from the location where your own csv-upload.php is stored...
by Yilmaz
2013-08-13 09:27
Forum: Advanced Customizations > Others
Topic: Coming soon - how to add your own page to your app
Replies: 11
Views: 9680

Re: Coming soon - how to add your own page to your app

Dear all, I had a similar requirment from a customer and I'have solved it as following: - The additional application was in my case an "CSV-upload" module - I implemented it and saved it as http://your-domain.com/csv-upload.php - The users should NOT have access by calling the link above before they...
by Yilmaz
2013-04-17 14:28
Forum: Advanced Customizations > Others
Topic: "Add/Edit Data Format" does not seem to work for me...
Replies: 3
Views: 3187

Re: "Add/Edit Data Format" does not seem to work for me...

Hi KSan, I am using AppGini vers.5 and I added the following code in C:\Program Files (x86)\AppGini\add-ons\dataFormats.cfg: ... EU Short Date/Time (example YILMAZ: 18.11.2023 19:10 Uhr); DATE_FORMAT(%%FIELD%%, '%d.%m.%Y %H:%i') ... With this code I can now see the data format select option above wi...
by Yilmaz
2013-04-12 13:34
Forum: Advanced Customizations > Hooks
Topic: Customized Search Form
Replies: 3
Views: 4837

SOLVED: Re: Customized Search Form

The following solution has fixed my problem: - I modified the if condition in datalist.php as followed: $this->HTML .= '<form method="post" name="myform" action="'.$this->ScriptFileName.'">'; $this->HTML .= '<script>'; $this->HTML .= 'function enterAction(){'; $this->HTML .= ' if($$("input[name=Sear...
by Yilmaz
2013-04-09 14:12
Forum: Getting Started
Topic: Help with Images
Replies: 2
Views: 2957

Re: Help with Images

Hi, 1. Go to your templates folder and edit your tablename_templateTV.html where the table view is defined. 2. Find the column where the "Medal image" content is shown 3. Cover the <%%SELECT%%> with <img>-tag like as follow: --> ... <%%SELECT%%><img src="<%%VALUE(fieldname_for_medal_image)%%>" /><%%...
by Yilmaz
2013-04-09 14:00
Forum: Advanced Customizations > Hooks
Topic: Customized Search Form
Replies: 3
Views: 4837

Re: Customized Search Form

One additional remark: I added a little javascript code (if condition part) within the datalist.php: $this->HTML .= '<form method="post" name="myform" action="'.$this->ScriptFileName.'">'; $this->HTML .= '<script>'; $this->HTML .= 'function enterAction(){'; $this->HTML .= ' if($$("input[name=SearchS...
by Yilmaz
2013-04-08 15:47
Forum: Advanced Customizations > Hooks
Topic: Customized Search Form
Replies: 3
Views: 4837

Customized Search Form

Dear Forum, I created a customized search form with 2 different text fields and it works so far very fine. My problem is: If the user enters an empty string and clicks on the submit button the tablename _view.php lists all the records! Therefore I tried a php and javascript solution to show an aller...
by Yilmaz
2013-02-26 13:22
Forum: Advanced Customizations > Hooks
Topic: Differences in after_update / after_insert functions
Replies: 2
Views: 2950

Re: Differences in after_update / after_insert functions

Dear Ahmad,

thanks for your reply. I tried it with $data['selectedID'] but still no success! Any other idea?

function ap_main_after_insert($data, $memberInfo, &$args){

$id = $data['selectedID'];
$bezirk = $data['district_id'];
... //all other table fields
...
by Yilmaz
2013-02-19 16:55
Forum: Advanced Customizations > Hooks
Topic: Date field validation/hook
Replies: 10
Views: 12290

Re: Date field validation/hook - SOLVED

Dear all, I found in the meanwhile an other way to validate the date fields instead of hooking in the common.js.php: - Edit tablename_dml.php - Find the section for tablename_dml.php and replace the condition if empty through the date field comparision as below function ap_main_insert(){ ... //if($d...
by Yilmaz
2013-02-19 14:10
Forum: Advanced Customizations > Hooks
Topic: Date field validation/hook
Replies: 10
Views: 12290

Re: Date field validation/hook

Yes, of course you are right John. Sorry for my hurry, certainly I will wait.

Yilmaz
by Yilmaz
2013-02-19 13:52
Forum: Advanced Customizations > Hooks
Topic: Differences in after_update / after_insert functions
Replies: 2
Views: 2950

Differences in after_update / after_insert functions

Dear forum, I use the tablename_after_insert func for sending an email to dedicated user when a new record is inserted. This works very well. I have embedded also a link in the email for the entered record: function ap_main_after_insert($data, $memberInfo, &$args){ $id = $data['id']; $bezirk = $data...
by Yilmaz
2013-02-19 10:07
Forum: Advanced Customizations > Hooks
Topic: Date field validation/hook
Replies: 10
Views: 12290

Re: Date field validation/hook

Any ideas?
by Yilmaz
2013-02-18 11:35
Forum: Advanced Customizations > Hooks
Topic: Date field validation/hook
Replies: 10
Views: 12290

Re: Date field validation/hook

Dear Ahmad, many thanks for you hint. It is the right way, but unfortunately I have the following general problem with calling the date field as datepicker: - I defined 2 variables in common.js.php: "startdate" and "enddate" and assigned them to the values accordingly ($('startsp').value; and $('end...
by Yilmaz
2013-02-16 16:43
Forum: Advanced Customizations > Hooks
Topic: Date field validation/hook
Replies: 10
Views: 12290

Date field validation/hook

Dear forum, I hope I am here in the right topic. Following issue: - In my table I have 2 additional date fields "start_date" and "end_date". - Start_date has the default value "now/today". - The users should enter in the end_date only date values which are greater than the value in the start_date. -...