Johann Heyne
Forum Replies Created
-
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] How to insert a download buttonThis is as far as I can guess a use case of the repeater field and not the table field.
In the table fields cell editor (blue bubble) you can insert html.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Feature RequestsI´m working on making the WordPress editor available for editing table cells content. But I´m not sure about, if some features like Add Media makes sense in this context.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Feature RequestsI have some news about the feature requests.
The mission statement of the Table Field is, that it should bring functionalities and a user-interface for tables, which a repeater field can not solve in a proper way.
Tables are a huge field of use cases and I guess, that you will send different kinds of feature requests. Thinking about and solving these requests, without losing the ease of use, will be a challenge and time consuming, more than I can handle as a free web developer. I decided to refine and keep the current Table Field in its features, and provide a separate pro version in future to meet the costs.
A couple days ago I started developing a pro version and it is promising so far. But building a stable service around it will take time and it is ready if it is.
Thanks,
JohannForum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Feature Requests- import and export table data (CSV)
I cannot fix that right now. So I reject this possibility. Sorry about this, but I have this issue on my list.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Warning: urlencode() expects…I think, this is an unique problem and I only can research it on the website the issue exists.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] colspan with THThanks for helping yourself. The native colspan and rowspan is not trivial. I put this on my feature request list.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Warning: urlencode() expects…I just released a new version of the plugin. If we are lucky this may solve your problem.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Echo the n-th column of the tableSorry, but this is neither an issue nor an feature request and I have not enough time. Please use PHP for that.
Sorry, but I have trouble to fix that.
Watch the screencast https://www.screenr.com/SloN. Your code should work. If not, I need more details about.
Sorry, but I have no idea what your problem is. Please provide more details. What you mean with blank and “test_test” in the custom field?
The filter “the_content” filters the WordPress editors content only. If you want to do shortcodes on fields, you have to use the function do_shortcode() at the fields content.
<?php $table = get_field( 'table' ); if ( $table ) { echo '<table border="0">'; if ( $table['header'] ) { echo '<thead>'; echo '<tr>'; foreach ( $table['header'] as $th ) { echo '<th>'; echo do_shortcode( $th['c'] ); echo '</th>'; } echo '</tr>'; echo '</thead>'; } echo '<tbody>'; foreach ( $table['body'] as $tr ) { echo '<tr>'; foreach ( $tr as $td ) { echo '<td>'; echo do_shortcode( $td['c'] ); echo '</td>'; } echo '</tr>'; } echo '</tbody>'; echo '</table>'; } ?>Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] More than one tableYou can NOT make two tables from a single table field like you can not make two text-fields out of one text-field.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Create a TH rowRight, there is no way to define any cells, rows, columns features yet.