Viewing 15 replies - 16 through 30 (of 43 total)
  • Hi alicornea,

    I tried the version of the plugin and updating images is now working. However, updating other custom fields (i.e. text) is not working anymore.
    Do you have any clue on what’s happening?

    Thank you in advance,

    Daniel

    Hi all,
    I just found the fix for the problem updating text custom fields.
    You just have to replace the condition in line 28 in categoryCustomFieldsAdminHandle.php for:

    if( !(($f->field_type ==’image’ || $f->field_type ==’file’) && strlen($value)<=0))

    Hope it helps

    @alicornea: The reason the new versions aren’t showing up on http://ww.wp.xz.cn/extend/plugins/ may be that the “Version” field hasn’t been updated in categoryCustomFields.php. There’s been no update to the Changelog in readme.txt for 1.2, either.

    Also, @claudeschneider’s bug isn’t completely fixed: one of the occurrences of “width” is still misspelled as “widht” on line 74 of categoryCustomFields.php.

    I can put an image in the category, but now I decided to leave one category blank. the problem is that there is no button to remove the picture. how I do it?
    thanks

    How do i call the content in the fields within index.php?

    Is it something like:
    <?php get_category_meta(‘video’); ?> // Where ‘video’ is the name of my custom field.

    Thanks in advance for your help.

    Plugin Author alicornea

    (@alicornea)

    I will try to fix all the issues today and will provide a function for @rwalktheplank

    Plugin Author alicornea

    (@alicornea)

    Hi all. Please use version 1.4 (don’t know why it says Download version 1.0). If you whant to get the custom field of a category please use the method categoryCustomFields_GetCategoryCustomField(catID,fieldName)
    where catID is the category ID and fieldNAme the custom field for which you whant to retrieve the value. For any problems please address it on this topic.

    Cheers

    I’m still having trouble getting the function to display the content:

    I’m using function as follows:

    <?php categoryCustomFields_GetCategoryCustomField($category->cat_ID,’slideshow’); ?>

    to display the contents of the field “slideshow” for all categories.

    Plugin Author alicornea

    (@alicornea)

    @rwalktheplank you have to display the content :

    <?php $result = categoryCustomFields_GetCategoryCustomField($category->cat_ID,’slideshow’);
    print_r($result);

    ?>

    I can’t get this to work. I’m using

    $image = categoryCustomFields_GetCategoryCustomField(120, 'Series Image');
    print_r($image);

    Series Image is the name of the custom field I created using the plugin. It’s on a custom taxonomy attached to a custom post type. When I run this all I get is an empty array.

    When I go to the Edit Category screen my image field is always blank like I never uploaded an image.

    My ccf_Value field in the database is empty as well, which make me think that my uploaded image is not actually being uploaded.

    I’m running WP 3.3.1, so hopefully the plugin works with that version.

    Thanks for any help!

    Hi,
    I can’t use the plug-in because I’ve got an error :

    Parse error: syntax error, unexpected T_VARIABLE in /wp-content/plugins/categorycustomfields/pages/ccf_settings.php on line 1

    I’m using WordPress 3.3.1 with multisite and Advanced Custom Field.

    Thanks for help.

    Greg

    Plugin Author alicornea

    (@alicornea)

    @HDready Graphic I will take a look later today

    Here is the quick way around for the text field saving/update.

    Text fields can’t be saved if you use spaced Field Name (for example: ‘my field name’), however fields are correctly saved if you use Field Name without space (for example: ‘myfieldname’).

    I hope this was helpful and that this bug will be fixed in the new plugin version.

    Cheers!

    Plugin Author alicornea

    (@alicornea)

    New version is out (1.5).
    If a custom field would have been composed of words with spaces then saving would have failed. So this fixes @milanno and @jpyper problem.

    @HDready Graphic I couldn’t reproduce your defect. I don’t have multisite. Could you try without it?

    Thanks, I will see if I can because I’ve some troubles with my connexion this days :/

Viewing 15 replies - 16 through 30 (of 43 total)

The topic ‘Plug in support – categorycustomfields’ is closed to new replies.