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?

Column Width and Download Links not Working
(1 viewing) (1) Guest
Go to bottomPage: 12345
TOPIC: Column Width and Download Links not Working
#60472
Re:Column Width and Download Links not Working 7 Years, 5 Months ago Karma: 760
"Columns settings -> Width" parameter is used to specify with for the select column. If value in percent used, it gets percent value from table width. For example if table width is 1000pixels and "Width" for the first column is set to 50% then it will have 500 pixels width.

If want to split value of column into several lines if , add the following CSS rule to "CSS Styles" parameter:

TABLE.dataTable TD {
overflow-wrap: break-word;
}

Regards,
ARI Soft
The administrator has disabled public write access.
 
#60473
Re:Column Width and Download Links not Working 7 Years, 5 Months ago Karma: 0
Thank you.

This should be documented in the help for ARI DataTables. When a percentage is used there is always a question as to what reference that percent applies to.

With no other guidance available, the logical reference is the current setting for that column, not the entire table width. Hence why it is critical that this stuff be in the HELP.

With that said, when I set a column to 50% it should then take 50% of the total, but it does not. The table and column remains unchanged. Why?

Another thing that confuses me is that if I just set AUTO WIDTH = NO nothing happens. The table is unchanged. How can that be? Where are the column and width settings coming from when turned OFF?

Honestly, this stuff has to be documented somewhere. Nobody should have to guess how to use these settings, but that is what I am left having to do.

Ken
The administrator has disabled public write access.
 
#60474
Re:Column Width and Download Links not Working 7 Years, 5 Months ago Karma: 760
In brief, if want to set width manually, set "Auto width" parameter to "No", define width in "Columns settings -> Width" parameter and add the following CSS rules to "CSS Styles" parameter:

Code:


TABLE.dataTable {
  table-layout: fixed;
}

TABLE.dataTable TD {
  overflow-wrap: break-word;
}



PS: Sorry for inconvenience. We will update the documentation with this information.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#60475
Re:Column Width and Download Links not Working 7 Years, 5 Months ago Karma: 0
I and the other extension developer have investigated the JavaScript conflict referred to in your message.

I am sorry, but it turns out that the error is actually coming from ARIDataTables and an incorrect call it is making to load jQuery directly, outside of the correct Joomla call. That appears to be the root of the problem.

Also, this error ONLY occurs on pages that include the ARIDataTables module trying to present data following a database query. No other pages have this error. So, the attempt by ARIDataTables to directly load jQuery is causing the error.

Please see the attached. Man, your size limit on attachments is way too small!
Last Edit: 2017/06/08 14:58 By kefford.
The administrator has disabled public write access.
 
#60477
Re:Column Width and Download Links not Working 7 Years, 5 Months ago Karma: 0
Hi,

I think I have fixed the JavaScript issue by changing the ARI DataTables module as follows,

LOAD JQUERY METHOD = local copy (from Google CDN)

After this change the other extension could be re-enabled and no further Javascript error was seen on this page.

The problem with this is that now I must go through every ARI DataTables module on my site and change this setting to eliminate your module from incorrectly loading jQuery on all other pages. I have several hundred ARI DataTables modules on my site that will need this setting changed.

Is there a quick way of doing this? Should this setting not be an overall module setting rather than applicable to individual copies of DataTables modules?

Also, with an install of any ARI DataTables update installed under Joomla 3.x, or higher, should this setting not be defaulted to "local copy"? My understanding is that with Joomla 3.x jQuery should only be loaded by Joomla, not by individual modules or extensions. So, why does your extension default to other than "local copy"?

Any suggestions are welcome.

Ken
The administrator has disabled public write access.
 
#60478
Re:Column Width and Download Links not Working 7 Years, 5 Months ago Karma: 0
The other concern relates again to documentation, which is severely lacking in your module. As discussed before these setting must be addressed in the documentation.

It is utterly useless to just say "Specify what method is used for loading jQuery library. Load it from Google CDN or use local copy". That adds no more value than the setting itself.

The documentation (it is fine as a hover over the setting text) needs to clearly explain what the difference is between these two settings and why use one over the other.

Again, the user is left having to guess, while the default setting appears to be contrary to what it should be under Joomla 3.x, or higher.

Ken
The administrator has disabled public write access.
 
Go to topPage: 12345