WordPress.org

Ready to get started?Download WordPress

Forums

Codepress Admin Columns
All columns shows numbers (7 posts)

  1. weiz
    Member
    Posted 1 year ago #

    I use "Codepress Admin Columns" together with Pods. At the beginning, the column shows the right custom field value which I created by Pods. But when I add some records, I found all columns show numbers such as 6, 1360997142:6 6, 1360997142:6 6, 1360997142:6 6, 1360997142:6 6, 1360997142:6 instead of the value and Custom Field & Field Type disappear when going to setting>Admin Column.

    And when I fill all custom fileds for at least one record and submit it, I find I can set the Admin Column, Custom Field and Field Type again.

    I wonder whether it is because of Pods field type File/Image/Video(I choose Plupload for File Uploader) under Relationship Media. Because when I leave the value of this type blank, the problem comes. When I upload some doccuments for even one record,I can set the admin column again. But this problem appearances from time to time and I have to resubmit the reord with media to make it work.

    I'm not sure whether I make it clear

    http://wordpress.org/extend/plugins/codepress-admin-columns/

  2. Scott Kingsley Clark
    Member
    Posted 1 year ago #

    What field type did you select under the Codepress Admin Columns settings for that field? Pods should handle this automatically, so you should leave it at the default field type it gives. If it's still happening for you, I can try to provide a patch for you to apply to your Pods install that should resolve it.

  3. weiz
    Member
    Posted 1 year ago #

    I select "Default" for all under Codepress Admin Columns. And I find another thing. All columns show numbers because all Custom Fields set by Pods under Codepress Admin Columns change to File/Image/Video type. I don't know why it happens.

  4. Scott Kingsley Clark
    Member
    Posted 1 year ago #

    Try replacing your pods/classes/PodsMeta.php with this file:

    https://gist.github.com/sc0ttkclark/5054302

    That should resolve your issues.

  5. weiz
    Member
    Posted 1 year ago #

    I add it, Scott, but it shows error
    Fatal error: Call to undefined method PodsForm::tableless_field_types() in

    Whhat does it mean?

  6. Scott Kingsley Clark
    Member
    Posted 1 year ago #

    Sorry, try one more time with the following file, this file included a reference to a new method in Pods 2.3

    https://gist.github.com/sc0ttkclark/5054302

  7. weiz
    Member
    Posted 1 year ago #

    Thanks, Scott, it works for now. I will pay attention to whether it appears again.
    Thanks a lot

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags