Johann Heyne
Forum Replies Created
-
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Can’t add anything + error in consoleThanks,
did you change the fieldtype to table from another fieldtype? Because the problem occurs on existing page, there may already be content from another fieldtype in the database for this field. That could explain the issue. Can you confirm this? If so, I should find a solution to handle this situation.
Cheers
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Can’t add anything + error in consoleThanks for reporting me that issue. Can you please give me some information…
Operating System:
Browser Name:
Browser Version:
WordPress Version:
ACF Version:
Advanced Custom Fields: Table Field Version:Did the problem also occur with a new fresh…
Installation of WordPress:
on a new page:Did the problem occur after an update of the plugin?
Thanks much!
JohannForum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Plugin doesn’t show in admin menuNo, sorry
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Plugin doesn’t show in admin menuThe “ACF Custom Database Tables” plugin is another plugin and not the “ACF Table Field” plugin.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Plugin doesn’t show in admin menuThe ACF Table Field Plugin extends the ACF Pro Plugin by an additional table field type (see ACF fieldtype selection). There is no admin menu page for the ACF Table Field plugin.
Cheers,
JohannHi,
the plus buttons do not look right either. So there is a problem with the styles. Is the latest version of ACF installed? Is everything else up to date? Please try also to deactivate other plugins one by one to narrow down the issue.
Cheers,
JohannForum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] HTML-EntityGood question. There is no way to write and keep HTML-Entities. I would go with a shortcode. [entity code=”196″]. Do you know how to write a shortcode? See https://codex.wordpress.org/Shortcode_API
Put this to functions.php
add_shortcode( 'entity', function( $atts ) { $a = shortcode_atts( array( 'code' => '', ), $atts ); return '&#' . $a['code'] . ';'; } );Use
echo do_shortcode( $td['c'] );to echo a table cells content.Cheers,
JohannForum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Array to string conversionThe ACF plugins author and its dev-team is informed about this issue in their revisions.php code since April 25, 2019. Eliot wrote “I’ve got this on my to-do and will hopefully have a fix in an upcoming version soon”.
Thats all for the moment.
Cheers,
JohannForum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Array in tablePlease see FAQ > How to output the table html? in https://wordpress.org/plugins/advanced-custom-fields-table-field/#how%20to%20output%20the%20table%20html%3F
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Missing header on the previewOK, great, thats a “type of” issue I have overlooked. It will be fixed in the next release.
Thanks a lot!
JohannForum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Missing header on the previewHi,
I could not replicate that issue. Can you please tell me the Browser and Version?
Thanks!
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Array to string conversionHi,
thanks for reporting me that issue. I see the problem which is that the ACF plugin did not expect and propper handle a field value as multidimensional array. I asked the ACF plugin developer team for help to get over this custom problem.
I will reply here, if I have progress on this issue.
Cheers,
JohannForum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] ACF Table Field in Order ExportsThere is an AlgolPlus example how to tweak a fields value. You could try this way to take the table data from $value, and build and return a HTML table from it. I do not know, what kind of data can returned by this filter. Just try.
add_filter( 'woe_get_order_value_{your_meta_key}', function($value, $order, $fieldname) { $table_data = unserialize( $value ); // see: https://www.php.net/manual/en/function.unserialize.php $table = ''; // build a html table from $table_data // $table_data['p']['o']['uh'] = wether to use the table header or not // $table_data['h'] = array of the table header row and cells // $table_data['b'] = array of the table body rows and cells return $table; });- This reply was modified 7 years, 1 month ago by Johann Heyne.
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] ACF Table Field in Order ExportsHi,
the ORDER EXPORT plugin simply shows the table data, which are a serialized array of data. If the plugin has a WordPress filter for the data before building the excel, there is a chance to convert the table data into a more visual appearance in the excel document.
If you like, I can have a look at this plugin. Whats the name of the plugin?
Cheers,
JohannForum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Text formattingHi,
an unreleased Pro version is in progress with your´s and all requests already made in this forum and a lot more. Tables have to cover a whole range of requirements in different and diverse combinations. It turned out, that this is a full time job to do it right and to support it in an changing environment. I try hard to get this into your hands soon. There will be a message in the free version then or please occasionally watch out this repository page.
Cheers,
Johann