mlynge
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Changing languageThank you darinez this also solved my problem with months. It could be great with a fix that would make it possible to translate the months instead.
Regarding WP_LANG. When defined as danish it should be define (‘WPLANG’, ‘da_DK’); not (‘WPLANG’, ‘da_DA’);
This however does not work with the provided da_DA.mo and da_DA.po files included with the-events-calendar.
You can fix this by just opening the po file in Poedit. Follow the steps provided by darinez and then save the file as da_DK.poMartin
Hi. Thank you for your as usual for your quick reply 🙂
Changing the ” to ‘ did the trick for:[table id=1 datatables_customcommands="'sPaginationType': 'full_numbers', 'iDisplayLength': 50" /]However
datatables_customcommands="'aaSorting': [[1,'desc'], [2,'desc']]"didn’t work. I think WP misinterpret the brackets []So my solution was to make a template with the following WP-table-reloaded template tag. The custom commands works as intended when using the Template Tag.
<?php wp_table_reloaded_print_table( "id=1&use_tablesorter=true&print_name=false&alternating_row_colors=true&row_hover=true&first_row_th=true&datatables_sort=true&datatables_paginate=true&datatables_lengthchange=true&datatables_filter=true&datatables_info=true&datatables_customcommands='sPaginationType': 'full_numbers', 'iDisplayLength': 50, 'aaSorting': [[1,'desc'], [2,'desc']]" ); ?>Hope that some one out there can find this useful. Again thanks for your support Tobias.
Regards
Martin Lynge
Forum: Plugins
In reply to: [Plugin: WP-Table Reloaded] Controls not visibleHi Tobias
I figured that I would upload the site to see if there was some conflict testing your plug-in on a localhost. It is now working as it should. Great!
It still puzzles me why I couldn’t get it to work on my localhost. If I figure out why I will off cause post it here to help out other with a similar problem if one exist.Thank you very much for your rapid reply.
Best wishes,
MlyngeForum: Plugins
In reply to: [Plugin: WP-Table Reloaded] Controls not visibleI got exactly the same problem. No pagination or sorting opportunity.
It is the only plug-in I’m using so no conflict there. I also tried to comment out all other scripts to see if that was the source of the problem, but no.I’m testing on a localserver. Do anybody now if that could be the problem.