Search found 36 matches

by wplim
2016-05-11 20:24
Forum: Bugs/annoyances
Topic: duplicate tabs
Replies: 1
Views: 1323

Re: duplicate tabs

Hi pofa2007,

Please refer to one of my previous posting:
http://forums.appgini.com/phpbb/viewtop ... 2147#p2151

This method allows you change the name of the tabs.

wplim
by wplim
2016-04-28 17:14
Forum: Bugs/annoyances
Topic: After Mass Delete record count not updated
Replies: 0
Views: 1939

After Mass Delete record count not updated

Appgini version 5.5
Browser: Chrome

Sequence of event:
1. Check all 3 records
2. Select Mass Delete
3. Screen displays Record 1 to 3 of 3

Weoi
by wplim
2015-09-14 05:53
Forum: Tips And Tricks
Topic: Easily embedded reporting application - php-reports
Replies: 9
Views: 6094

Re: Easily embedded reporting application - php-reports

Hi Kevin, First of all, thanks for sharing. The custom link show up in my appgini project. After clicking on the link, it returns an error. It can't find incConnection.php file in the admin folder. Am I missing something? Also, I believe there is an additional "/" at the end of defining $d. Please a...
by wplim
2015-06-26 07:50
Forum: Advanced Customizations > Hooks
Topic: How-to limit # of row in textarea in table view with vertical scroll
Replies: 1
Views: 1791

Re: How-to limit # of row in textarea in table view with vertical scroll

Here's my solution after a few trial and error with Appgini tutorial on "Customizing the data displayed in the table view" http://bigprof.com/appgini/tips-and-tutorials/customize-tableview-data In my case, table is document, field is description. The idea is to add a div layer over the description -...
by wplim
2015-06-26 05:49
Forum: Advanced Customizations > Hooks
Topic: How-to limit # of row in textarea in table view with vertical scroll
Replies: 1
Views: 1791

How-to limit # of row in textarea in table view with vertical scroll

I have a table with many columns to be displayed in table view.
However, one of the text field contains quite a bit text which dictates the height of each row.
Is there a way to limit the height of the textarea say max. of 5 lines and shows a vertical scroll bar if text is more than 5 lines?

WP
by wplim
2015-04-24 23:54
Forum: Getting Started
Topic: Bulk action help - changing multiple row fields
Replies: 8
Views: 3286

Re: Bulk action help - changing multiple row fields

update change-status.php with the following code: <?php /* Including the following files allows us to use many shortcut functions provided by AppGini. Here, we'll be using the following functions: makeSafe() protect against malicious SQL injection attacks sql() connect to the database and execute a ...
by wplim
2015-04-24 05:53
Forum: Getting Started
Topic: Bulk action help - changing multiple row fields
Replies: 8
Views: 3286

Re: Bulk action help - changing multiple row fields

Assume the table name is "files" 1. In the hook folder, add the following code to the batch action function function files_batch_actions(&$args){ return array( array( 'title' => 'Playable', 'function' => 'change_to_playable', 'icon' => 'ok' ), array( 'title' => 'Not Playable', 'function' => 'change_...
by wplim
2015-04-13 23:37
Forum: Getting Started
Topic: appgini dropdown
Replies: 2
Views: 1537

Re: appgini dropdown

try add leading zeros in your numbers.
e.g. 01,02,03,04,05,06,07,08,09,10, etc
by wplim
2015-04-09 23:33
Forum: Advanced Customizations > Hooks
Topic: Batch Action - How to duplicate, modify specific fields of selected records
Replies: 0
Views: 1157

Batch Action - How to duplicate, modify specific fields of selected records

Need js help coding above batch action -
1. duplicating selected records
2. modify specific fields of selected records. e.g. change Status from "Open" to "Close"
Appreciate any tips or examples.

Thanks,
Weoi
by wplim
2015-03-10 23:51
Forum: Advanced Customizations > Hooks
Topic: modifying the behavior of the detail view via js
Replies: 2
Views: 1897

Re: modifying the behavior of the detail view via js [solved

Update I have tried with the following code: (referring to https://select2.github.io/examples.html Programmatic access jQuery('#Cell-container').val('TST').trigger("change"); Firebug shows: TypeError: e.added is undefined current_Cell.value = e.added.id; apparently this only works on select2 ver 4 f...
by wplim
2015-03-09 21:24
Forum: Advanced Customizations > Hooks
Topic: modifying the behavior of the detail view via js
Replies: 2
Views: 1897

modifying the behavior of the detail view via js

I have a solution build in v5.12 with the following js in hooks folder. After moving to v5.31 the scripts is no longer working. 'Asy' is a dropdown field. When user select '3', 'Cell' another dropdown field changes to 'TST', and 'Priority' dropdown field changes to 99. document.observe('dom:loaded',...
by wplim
2014-12-16 06:43
Forum: Advanced Customizations > Others
Topic: Another LOOKUP problem?
Replies: 6
Views: 3630

Re: Another LOOKUP problem?

Hi RonP, I have reported similar issue a while back in Mar 2014 via email support. Was using Appgini v5.12 and repeatable with v5.23. http://bigprof.com/appgini/sites/default/files/webform/appgini-support-attachments/BOM%20autofill.png In my case, the affected field was set to Autofill, and filtered...
by wplim
2014-12-05 20:10
Forum: Advanced Customizations > Others
Topic: How to disable or make it read only for input fields
Replies: 9
Views: 5282

How to disable or make it read only for input fields

I have seen solutions for making a text input field read only based on the content of a field using hook file "tablename-dv.js" if(document.getElementById("fieldname1").value!=""){ document.getElementById("fieldname2").readOnly = true; } How about other field types supported by appgini such as Date,...
by wplim
2014-06-30 00:37
Forum: Advanced Customizations > Hooks
Topic: Filter before
Replies: 4
Views: 2359

Re: Filter before

Hi pasbonte, Have you look into this tutorial: http://bigprof.com/appgini/tips-and-tutorials/apply-default-filter Your code in the hook folder yourtablename.php should look something like below: function yourtablename_init(&$options, $memberInfo, &$args){ /* Apply a default filter only if no filter ...
by wplim
2014-06-17 07:12
Forum: Bugs/annoyances
Topic: Select2 is way too slow in Appgini
Replies: 5
Views: 3356

Re: Select2 is way too slow in Appgini

Quick update: I reinstall XAMPP 1.8.3.4 (was 1.8.1) problem solved. Now the loading time for each dropdown is <30ms WOW!!!
by wplim
2014-06-17 05:39
Forum: Bugs/annoyances
Topic: Select2 is way too slow in Appgini
Replies: 5
Views: 3356

Re: Select2 is way too slow in Appgini

I notice the same thing too after upgrading from 5.12 to 5.2x and 5.30. No bug found just slower response. Let's take Northwind demo as an example, when running the hosted version on bigprof.com, typical dropdown response time is <200ms. If I download the Northwind demo and host it on my local hard ...
by wplim
2014-05-13 05:37
Forum: Bugs/annoyances
Topic: Admin icon missing
Replies: 9
Views: 5281

Re: Admin icon missing

Correcting bootstrap_compact.css line 2672 does not work for me. After changed to \e136, IE and Firefox display E136 Here's what I have done: 1. download the latest bootstrap 3.1.1 from http://getbootstrap.com/ 2. unzip, copy and replace existing .js file(s) in \AppGini 5.23\files\resources\initiali...
by wplim
2014-05-12 05:25
Forum: Advanced Customizations > Hooks
Topic: Getting data from second table field with calculations
Replies: 13
Views: 8950

Re: Getting data from second table field with calculations

Hi Mansoor, Here's what you need: Add these codes in leaves.php in the hook folder. Use after insert instead of before because the calculation is performed after data is stored into database. Also, I have set the rem_al as read only. After insert: function leaves_after_insert($data, $memberInfo, &$a...
by wplim
2014-05-12 04:37
Forum: Bugs/annoyances
Topic: Admin icon missing
Replies: 9
Views: 5281

Re: Admin icon missing

I am having the same problem, just the "wrench" icon not showing.
I am using Chrome 34.0.1847.131 on Windows 8.
No issue when viewing in IE / Firefox.

W
by wplim
2013-12-26 04:14
Forum: Advanced Customizations > Others
Topic: Renaming Tab title from multiple same lookup source
Replies: 4
Views: 3963

[Solved] Re: Renaming Tab title from multiple same lookup so

Here's how I solve it: File edited: parent-children.php Add a condition to filter the ChildLookupField and apply a custom title to it. In my case, the ChildLookupField is "parentid". /* process requested operation */ switch($Operation){ /************************************************/ case 'show-c...
by wplim
2013-12-26 03:39
Forum: Advanced Customizations > Others
Topic: Renaming Tab title from multiple same lookup source
Replies: 4
Views: 3963

Re: Renaming Tab title from multiple same lookup source

Unfortunately, it does not show the repetition.
It only shows the "bom" table tab title once, then skip to another table tab title (third tab).

I believe the actual Tab Title specified in Appgini is stored in another file.
by wplim
2013-12-25 14:07
Forum: Advanced Customizations > Others
Topic: Renaming Tab title from multiple same lookup source
Replies: 4
Views: 3963

Renaming Tab title from multiple same lookup source

I am creating a simple Bill of Material. the BOM table has 2 fields, parent_pn and child_pn. Both fields look up from item_pn field in Item table. This will generate 2 tabs with same name "BOM" since there's only one entry in the Parent/Children settings. How can I rename the other tabs? Thanks, Weoi
by wplim
2013-09-15 04:49
Forum: Advanced Customizations > Hooks
Topic: Custom Print View using Hook?
Replies: 3
Views: 2816

Re: Custom Print View using Hook?

Thank you. I will look into that.
by wplim
2013-09-06 07:12
Forum: Advanced Customizations > Hooks
Topic: Custom Print View using Hook?
Replies: 3
Views: 2816

Custom Print View using Hook?

Is it possible to point to a custom print view template using Hook? (similar to custom filter page)