WordPress.org

Ready to get started?Download WordPress

Forums

Custom Field Template
CFT deleting content when loading (12 posts)

  1. bhenselmann
    Member
    Posted 2 years ago #

    Hello,
    I´m using CFT for years on any WP-site and mulitsites - it´s one of the most important plugins I´m using.
    But now I suddenly have a big problem:
    When loading a CFT template on the edit-page, the content-box is disappearing. After saving the page, the content-box is back - but the content is deleted.

    Could anybody help?
    Thanx - Bernhard

    http://wordpress.org/extend/plugins/custom-field-template/

  2. bhenselmann
    Member
    Posted 2 years ago #

    I´ve just tested the plugin with WP 3.3.1:
    The problem started with plugin version 1.9.7.

    So I downgraded for a while to 1.9.6

    Anybody has a solution?

  3. Nihad Nagi
    Member
    Posted 2 years ago #

    try using CFT "save" first prior to saving or updating the page

  4. Brad Williams
    Member
    Posted 2 years ago #

    This bug still exists in 1.9.9. When you change the CFT template to add/update data in different fields the content editor completely disappears.

  5. salocined
    Member
    Posted 2 years ago #

    I can confirm this issue/bug on 1.9.8 and 1.9.9
    I had to downgrade to 1.9.6 to keep everything working

  6. security_man
    Member
    Posted 2 years ago #

    i can also confirm, but it seems to only happen on custom post types for me... downgrading to 1.9.6 has fixed the issue

  7. Inzman
    Member
    Posted 2 years ago #

    Confirming this. WP3.3.1 and downgraded also to 1.9.6. But still a bug in newer versions.

  8. Hiroaki Miyashita
    Member
    Plugin Author

    Posted 2 years ago #

    I can not confirm it so please send me the option file which is exported by the custom field template plugin.
    To: webmaster%%at%%wpgogo.com

  9. Alexey
    Member
    Posted 2 years ago #

    It's caused by loading <style type="text/css">#wp-content-wrap { display:none; }</style> with template.
    This cause disappearing of content box.
    There is wp_editor(...) also loading, i don't know what for. May be Hiroaki will explain.

    This code locates in custom-field-template.php (Version: 2.0.2) lines 2620-2625.

    if (substr($wp_version, 0, 3) >= '3.3' && !post_type_supports($post->post_type, 'editor') && $post->post_type != 'post' && $post->post_type != 'page') :
            wp_editor('', 'content', array('dfw' => true, 'tabindex' => 1));
            $out = '<style type="text/css">#wp-content-wrap { display:none; }</style>';
          else :
            $out = '';
          endif;

    Delete this code and content will not disappear next time you load template.

  10. carlymyman
    Member
    Posted 1 year ago #

    Hi -
    I am experiencing similar problems.
    Each time I enter content in the field (on a page) upon saving it, it disappears.
    Strangely enough, only one of them presents this problem. One of the Template contents does display (after saving) but other does not.
    Have tried most of the fixes suggested in the threads on this issue with no success.
    Am using Version 1.14.2 and WP 3.4.1

    Anyone have any other ideas?

    (I have emailed the to option file to webmaster%%at%%wpgogo.com)

    Thanks!

  11. Alexey
    Member
    Posted 1 year ago #

    to carlymyman:

    Am using Version 1.14.2

    Current version of Custom Field Template is 2.0.4

    You need to update your version.

  12. carlymyman
    Member
    Posted 1 year ago #

    Sorry, I made a mistake - I am using 2.0.4

    Still would love to hear if there are any solutions that might help.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic