qualitas
Forum Replies Created
-
Forum: Plugins
In reply to: [Transposh WordPress Translation] No editing checkbox showing up.I found the checkbox is visible only if we use the widget in theme personalization in the footer (maybe side too) for version 1,0,6,1 with 6 models to choose from. (Only default is available with version 1,0,6 and no flag visible).
If we put the code in pages from the Widget Showcase instruction page here:
http://transposh.org/tutorial/widget-showcase/ the checkbox is not visible for any version.Transposh widget is not available in the list of the widgets to insert into standard pages.
Forum: Plugins
In reply to: [Transposh WordPress Translation] No editing checkbox showing up.Same problem here.
I see it in my beta site with Transposh 1,0,6 but not in my live version with 1,0,6,1 version.
Both with same configuration and theme Twenty Seventeen.
Beta with default language English: http://passelechapeau.com/beta/langue/
Live with default language French: http://jepasselechapeau.com/langues/Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Natural sort function missing?Hi Tobias,
I found a solution here:
https://datatables.net/forums/discussion/20853by just adding HTML code
 instead of space is working.Regards
Yves
- This reply was modified 7 years, 5 months ago by qualitas.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Natural sort function missing?Hi Tobias,
The question was asked before here:
https://datatables.net/forums/discussion/10113The plug-in is here:
https://datatables.net/plug-ins/sorting/formatted-numbersBut deprecated because suppose to be in Datatable.
But the regex removed a “-”
What I need is to remove a space not a – so the code should be:
” ”Like that:
jQuery.extend( jQuery.fn.dataTableExt.oSort, { "formatted-num-pre": function ( a ) { a = (a === " " || a === "") ? 0 : a.replace( /[^\d\-\.]/g, "" ); return parseFloat( a ); }, "formatted-num-asc": function ( a, b ) { return a - b; }, "formatted-num-desc": function ( a, b ) { return b - a; } } );Regards
Yves
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Natural sort function missing?Hi Tobias,
Doesn’t work
Dot would not be international metric system.
Regards
Yves
I correct the white space partly like this with white-space: nowrap;:
@media (max-width: 360px) { .tablepress thead th { font-weight: 300; font-size: 9px; transform: rotate(270deg); height: 18px; line-height: 18px; white-space: nowrap; } }But solve the problem only party; still some white space between column.
I solve the height like this:
@media (max-width: 360px) { .tablepress thead th { font-weight: 300; font-size: 9px; transform: rotate(270deg); height: 18px; line-height: 18px; } }But with some display will remove the last column.
Also, need to play with padding and margin.
But cannot found why when screen width is 347px and less there is a large white space between the column.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Natural sort function missing?Hi Tobias,
Thanks, work better now but only ascendant.
Descendant still not sorting thousand properly.Regards
Yves
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Natural sort function missing?Hi Tobias,
Sorry, the problem is not natural sorting.
It doesn’t recognize the international metric writing of “1 000” instead of “1000” in my last column.The regex needs to remove the space between numbers.
Regards
Yves
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Natural sort function missing?Hi Tobias,
The table is correct when the page is loaded.
The problem occurred when trying to sort from most column.
Order turn to 1, 10, 100, 2 instead of 1, 2, 10, 100.I used JSGrid before. You should try it.
Or there is a natural sort plug-in for datatables here:
https://datatables.net/plug-ins/sorting/naturalRegards
Yves