Johann Heyne
Forum Replies Created
-
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Set widths on tdThere are two ways to solve…
1. with styles…
give your tables a class name…
echo '<table border="0" class="my-table">';then define styles for the first, second
<td>etc..my-table td:nth-child( 1 ) { width: 30%; } .my-table td:nth-child( 2 ) { width: 70%; }2. with the
<colgroup>element…Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Feature RequestsI just want you to know, that I´m making progress with the pro version. I underestimated the effort setting up a selling and service platform, licensing, handling german law´s and the new European-Vat rules since 2015. But this plugin is my main focus right know and I´m exited to get it in use.
Thank´s for using this plugin and your feature requests.
JohannForum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Add count classes to TR and TDYou can do this by your own…
foreach ( $table['body'] as $tr ) { echo '<tr>'; $i = 0; foreach ( $tr as $td ) { echo '<td class="td' . $i++ . '">'; echo $td['c']; echo '</td>'; } echo '</tr>'; } // result… <tr> <td class="td1">TD one</td> <td class="td2">TD two</td> </tr>Or you can use CSS like…
.your-table-class td:nth-child(1) { /* styles for first td */ } .your-table-class td:nth-child(2) { /* styles for second td */ }Or may you ment this…
foreach ( $table['body'] as $tr ) { echo '<tr>'; $i = count( $tr ); foreach ( $tr as $td ) { echo '<td class="td' . $i . '">'; echo $td['c']; echo '</td>'; } echo '</tr>'; } // result… <tr> <td class="td2">TD one</td> <td class="td2">TD two</td> </tr>Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] add table header data elsewhereI’m not quite sure what you meant. The thing is not to screw the source html of a table but using css to make a table view responsive. Here is an article about making tables responsive by css https://css-tricks.com/responsive-data-tables/
Let me know, if this helped you.
Greetings, JohannForum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Adding class to specific TD'sThanks for requesting that. It is comming with a pro version in spring.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Table Default ValuesNo, you can´t. But a pro version is in progress and is expected to be released in the spring.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Destroyed JSON data structureThanks for the data. The two date, re-save with v1.1.5 and after migration are identical. So there is no migration issue. I guess, the problem was caused by caching old data or scripts somewhere.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Destroyed JSON data structureCan you please say, what kind of migration tool you use? And I need the database entries of the field before and after migration copied from a database tool like MYSQL. I´m sorry about that, but this is a strange and tough issue.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Destroyed JSON data structureThanks much! I check this out within 24 hours.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Destroyed JSON data structureCan you please give me a sample snippets of the table data in the database before and after migration?
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Destroyed JSON data structureThanks!
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Uncaught TypeErrorThank you!
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Uncaught TypeErrorThanks for reporting that issue. I cant replicate that issue so I need a hands on. mail@johannheyne.de
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Destroyed JSON data structureAnd yes, it should also reads the by a migration “malformed” data.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Destroyed JSON data structurehttps://github.com/johannheyne/acf-table/tree/_masters/free
Please make a backup of your database before you test the new version.
Replace your plugin files with the files in the folder /advanced-custom-fields-table-field/trunk/