Johann Heyne
Forum Replies Created
-
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] help me border and padding table<?php $rows = get_field( 'repeater_field_name' ); if ( $rows ) { echo '<table class="table">'; foreach( $rows as $row ) { echo '<tr>'; foreach ( $row as $key => $value ) { echo '<td>' . $value . '</td>'; } echo '</tr>'; } echo '</table>'; } ?>In the stylessheet:
.table td { border: 1px solid black; } /* removing space between cells and let the cell borders collapse */ .table { border-collapse: collapse; }Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] help me border and padding tableMaybe this is what helps you displaying a repeater fields content as a table.
<?php $rows = get_field( 'repeater_field_name' ); if ( $rows ) { echo '<table>'; foreach( $rows as $row ) { echo '<tr>'; foreach ( $row as $cell ) { echo '<td>' . $cell . '</td>'; } echo '</tr>'; } echo '</table>'; } ?>Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] help me border and padding tableSorry, but I do not understand your question. Your code is about an repeater field and puts out a list and not a table.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] help me border and padding tableI did a basic example on http://codepen.io/johannheyne/pen/YPooYq/ for you, how to give the table cells a border and how to remove the space between the cells.
Good luck!
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Fields being deleted on saveThanks, I´ve got the email. I will reply within the next 20 hours.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Fields being deleted on saveGreat, but the email with the login has not arrived yet.
mail@johannheyne.deForum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Fields being deleted on saveHi,
unfortunately I could not replicate this issue.
Does this issue happen on a fresh new table field with simple text strings?
Did you copy and paste the fields content?But what ever I ask you, this would not help a lot to solve that issue. What I need is your site to replicate that issue. Either you could give me a login to a test site or I try to replicate this issue local with a copy of your site.
If you have no public testsite, could you send me a database dump of your local test site? And maybe the site files via dropbox, at least the theme for testing?
Thanks,
JohannForum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] rich text within table cellWell done.
Just for understanding. The reason, why the line breaks in the blue content editor are not representing a
<br>tag is because the blue content editor is a pure HTML editor. You can write HTML that will be rendered as HTML in the backend table. I should not mix rich text formatting and HTML editing here. So there is a need for a rich text formatting option that will influence the backend table content and the blue content editor. But this is a part of a more komplex table column format option. I have it on my list.Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] rich text within table cellI still researching on different content formating per column and per cell and maybe calculation. I have to be carefully because it should be simple first. There is another idea about optional predefining columns and rows and their content formats. But all this is stuff of a pro version.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Plans for ACF 5 compatibilityYes, the Table Field Add-on works with ACF 5 Pro.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Plugin not workingSolved.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Plugin not workingHi,
I solved the problem within the current version.
Thank you very much helping me out!
JohannHi everybody,
I solved the problem of sandeepy02 within the current version. I hope thats it.
Thanks much!
JohannThanks sandeepy02,
I successfully tried the plugin width:
– WordPress Version 4.1.1
– ACF latest Versions 4 und 5
– all latest major browsers and IE8 – IE11
– also tried successfully Chrome Version 33 on Windows 8 and OSX Yosemity
– Apache Version 2.2.29
– PHP Version 5.2.17
– MySQL version 5.5.38So I need your help to figure out, what happens in your environment. If you are able to give me a User-Login to your WordPress, that would help a lot in this situation.
Thanks so far,
Johann
mail@johannheyne.deHi,
thanks for the reports. I investigated that issue and found it on using the Internet Explorer 8. Please let me know, if you are using that browser, to be sure fixing the right problem.
I testet the plugin with fresh WordPress 4.1.1 installs, with multiple PHP versions from v5.2.17 to v5.6.6, local and on the web, with https and it works in all major Browsers.
I discovered also a minor table styling problem on FireFox and IE´s that I´m going to fix.
Thanks a lot,
Johann