Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

create dynamic search box
(1 viewing) (1) Guest
Go to bottomPage: 1234567
TOPIC: create dynamic search box
#38568
Re:create dynamic search box 11 Years, 8 Months ago Karma: 1
Im afraid Im kind of lost. Im missing something. I understand that I have to get in and modify that php file, however I know that it is not the only thing I have to do. Are there files that have to be installed, and in which directory the plugin files have to be installed? Im confused because when I download files from that site, it downloads a number of example files. Are those the files that have to be copied into a directory? Note that when I modify the php file, I copy following script into the "initClientInstance" method.

$("77").dataTable().columnFilter();

Can you please tell me if do this part correct?

Thank you so much.
Im sorry for not understanding completely, but havent installed this kind of plugin before.
The administrator has disabled public write access.
 
#38619
Re:create dynamic search box 11 Years, 8 Months ago Karma: 1
I have found the required file I believe. I put in the same directory as the file in the previous post. Is this procedure correct. I try copying the initialization code in the file and replacing the tableid with the id of the module but gives me error. Can you help me out.

Thanks,
Constantine
The administrator has disabled public write access.
 
#38641
Re:create dynamic search box 11 Years, 8 Months ago Karma: 760
Create "columnfilter" folder in <joomla_directory>\modules\mod_aridatatables\includes\js\widgets\datatable\plugins\ folder and copy jquery.dataTables.columnFilter.js file to the created folder. After this open <joomla_directory>\modules\mod_aridatatables\includes\kernel\DataTables\Models\class.DataTablesWidgetDatatableModel.php file, find "includeAssets" method and add the following code:

AriDocumentHelper::includeJsFile($baseUri . 'plugins/columnfilter/jquery.dataTables.columnFilter.js');

after the following code:

AriDocumentHelper::includeJsFile($baseUri . 'plugins/tabletools/js/TableTools.min.js');

Then find "initClientInstance" and replace the following code:

'if (typeof(AriDataTables) != "undefined") AriDataTables.hideLoadingPane("#%1$s_wrapper");var options = %2$s;options["fnDrawCallback"] = function(oSettings) { adt_DataTable_DrawCallback(oSettings) };$("#%1$s").addClass("display dataTable").dataTable(options);'

with the following one:

'if (typeof(AriDataTables) != "undefined") AriDataTables.hideLoadingPane("#%1$s_wrapper");var options = %2$s;options["fnDrawCallback"] = function(oSettings) { adt_DataTable_DrawCallback(oSettings) };$("#%1$s").addClass("display dataTable").dataTable(options).columnFilter();'

PS: Set "HTML table settings -> Show footer" parameter to "Yes" in module settings.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#38644
Re:create dynamic search box 11 Years, 8 Months ago Karma: 1
I will try this and let you know. Thank you so much.
I just wanted to note that Im using SQL table ->External database -> MySQL. I hope there not any differences in the instructions..

Thank you so much again.
Constantine
The administrator has disabled public write access.
 
#38645
Re:create dynamic search box 11 Years, 8 Months ago Karma: 760
It will work with any source type, but it will not work if "Server side pagination" parameter is set to "Yes" in module settings.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#38648
Re:create dynamic search box 11 Years, 8 Months ago Karma: 1
Unfortunately, it gives me error after what when I added the line:
$("#75").dataTable().columnFilter();

75 is the module id of my table.

after the following line:

$loadMethod = AriUtils::getParam($params, 'loadMethod', 'ready');

inside the initClientInstance method.

I have three different tables with three different module ids. I try with the first one.
I feel Im very close to making it work.

Also, I can change from showing at the footer to showing at the header, right?

Thank you so much,
Constantine
The administrator has disabled public write access.
 
Go to topPage: 1234567