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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

multiple instances of module in one page
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: multiple instances of module in one page
#12515
multiple instances of module in one page 13 Years, 3 Months ago Karma: 0
Hi,

I have created a 5 datatable modules, and assigned them all to the same position on the same page.
They all display, but some of the settings (like page size) do not work on any but the first table.
See www.mtnz.co.nz/demo/calendar for an example. I suspect I havent set something up quite right - any ideas?

Getting the following javascript error so maybe it is something to do with jquery?

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Thu, 17 Mar 2011 10:36:08 UTC


Message: 'jQuery' is undefined
Line: 1
Char: 1
Code: 0
URI: www.mtnz.co.nz/demo/modules/mod_aridatatables/includes/assets/common.js


Message: 'AriDataTables' is undefined
Line: 30
Char: 245
Code: 0
URI: www.mtnz.co.nz/demo/calendar


Message: Object doesn't support this property or method
Line: 1
Char: 81199
Code: 0
URI: www.mtnz.co.nz/demo/media/system/js/mootools-core.js
The administrator has disabled public write access.
 
#12517
Re:multiple instances of module in one page 13 Years, 3 Months ago Karma: 748
Hello,

Check that "Include jQuery" parameter is set to "Yes" in module settings.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#12518
Re:multiple instances of module in one page 13 Years, 3 Months ago Karma: 0
Thanks for the quick reply - jQuery was set to Yes in both the modules.
I am using Ari Tiny Table and I changed the load type to 'On load' (from DOMReady) and it is displaying fine now.

Out of interest, what would you recommend setting jQuery noConflict to?
The administrator has disabled public write access.
 
#12519
Re:multiple instances of module in one page 13 Years, 3 Months ago Karma: 748
Set "No conflict" to "Yes" because MooTools javascript library is used on your site and it requires that avoid conflicts between jQuery and MooTools libraries.

Regards,
ARI soft
The administrator has disabled public write access.
 
Go to topPage: 1