Search found 18 matches

by sultan
05 Apr 2022, 00:10
Forum: Discussion
Topic: JavaScript in form
Replies: 1
Views: 247

JavaScript in form

hello Can i use JavaScript in form to change the fields value depend on another for example : if i have default value depend on the date filed value Date = 4/4/2022 selected date by user start = 4/4/2022 08:00 AM Calculated filed by JavaScript in form To = 4/4/2022 5:00 pm Calculated filed by JavaSc...
by sultan
22 Feb 2022, 21:18
Forum: Discussion
Topic: Save the output ajax image to database
Replies: 9
Views: 535

Re: Save the output ajax image to database

its working
but always received this error after update

Database Error: 2014 - Commands out of sync; you can't run this command now
Query: select count(*) as total from app_sessions where sesskey = '###'
Page: /samaya/index.php?module=items/&action=save&token=###
by sultan
12 Feb 2022, 22:04
Forum: Discussion
Topic: Save the output ajax image to database
Replies: 9
Views: 535

Re: Save the output ajax image to database

thank you for your support
its working but its only store the file name ,
is there anyway to store it as image ?
by sultan
11 Feb 2022, 23:48
Forum: Discussion
Topic: Save the output ajax image to database
Replies: 9
Views: 535

Re: Save the output ajax image to database

how to get the file name only ?

$file = attachments::parse_filename($name ); //get attachment file name ?????
by sultan
05 Feb 2022, 22:58
Forum: Discussion
Topic: Save the output ajax image to database
Replies: 9
Views: 535

Save the output ajax image to database

Example to output image from record by record ID: $item_id = [572]; //get record id //field_571 is Image Field in Entity 49 $item_info_query = db_query("select field_571 from app_entity_49 where id='{$item_id}'"); if($item_info = db_fetch_array($item_info_query)) { $img = $item_info['field...
by sultan
30 Dec 2021, 15:27
Forum: Discussion
Topic: Exporting Data File with Picture / Images to Excel
Replies: 14
Views: 1543

Re: Exporting Data File with Picture / Images to Excel

Thanks for the plug-in. I've tried it, but it doesn't seem to work for me. I get a slightly greyed-out screen, what looks like a thin dialogue box sliding into view, but no option to click or see what the error might be that's stopping it from working, so I've obviously done something wrong somewhe...
by sultan
07 Jul 2021, 11:55
Forum: Bug Report version 2.9
Topic: ajax cod
Replies: 0
Views: 269

ajax cod

why always output value is 0 ?? my code : Array ( [803] => Hologram Box [814] => 4 [815] => sheet metal box as design finish powder coated paint [816] => بوكس هولوجرام [817] => 0 [841] => 4 [842] => 0 [1437] => 0 [1438] => 0 [1439] => 0 [1571] => 2 [1572] => 0 [1573] => C02-P06 [1601] => 0 [1818] =>...
by sultan
13 Jun 2021, 15:18
Forum: Bug Report version 2.9
Topic: installation error
Replies: 1
Views: 288

installation error

after update to 2.9 beta 2
this error encountering

Error:
Form submitting error. Please try again.
and the page keep auto refresh
by sultan
13 Jun 2021, 15:14
Forum: Discussion
Topic: Rukovoditel 2.9 BETA 2 is ready to test
Replies: 3
Views: 1637

Re: Rukovoditel 2.9 BETA 2 is ready to test

i received this error after update
Error:
Form submitting error. Please try again.