WordPress.org

Forums

Custom Content Type Manager
Relation names repeating (11 posts)

  1. Matthew3man
    Member
    Posted 3 years ago #

    Hi.

    First of all, hats off to a well constructed, clever plugin.

    I seem to be having an issue with the relation names repeating on a post / page, which is making it hard to manage for my client. For example, in relating News I have:

    News Item 1 (60)
    News Item 2 (62)

    (Where (60) and (62) are the post IDs.)

    I have played with '_relation.tpl' and '_relation_multi.tpl' to attempt to tweak. But the same thing happens whether I use [+post_title+] or [+post_name+] - the ID stays unique and the relation link is correct on the front end, it's just the back end where the issue exists.

    Any help or advice welcome.

    Matt

    http://wordpress.org/extend/plugins/custom-content-type-manager/

  2. fireproofsocks
    Member
    Plugin Author

    Posted 3 years ago #

    Yeah, this is a bug. Sorry for the trouble there. This issue is fixed in the dev version of 0.9.5.6 (due out in the next day or 2).

    See the original bug report here: http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=288

    You can download the dev version that contains the fix here: http://downloads.wordpress.org/plugin/custom-content-type-manager.zip

    Thanks for your post.

  3. Matthew3man
    Member
    Posted 3 years ago #

    Very fast reply - thanks mate. Is it in the this file in the dev version as discussed in the linked post:

    custom-content-type-manager/fields/relation.php

    If so, can I just download the dev version and overwrite that file alone?

    Matt

  4. fireproofsocks
    Member
    Plugin Author

    Posted 3 years ago #

    I wouldn't recommend overwriting just one file. The standard procedure here is to download the entire zip, and then replace the plugin's folder inside wp-content/plugins.

  5. Matthew3man
    Member
    Posted 3 years ago #

    Funny story - managed to fix it with the overwrite of the single file (relation.php) with a backup taken of course. But this morning...

    I noticed a new version was rolled out today - downloaded that, but it just shows the post ID now - odd.

  6. fireproofsocks
    Member
    Plugin Author

    Posted 3 years ago #

    "Just shows the ID" -- is this a bug? Please let me know -- I've got very limited internet availability right now, but I hate it if there's a bug in a release.

  7. Matthew3man
    Member
    Posted 3 years ago #

    Seems so unless I've missed something - I just hit update in the normal fashion and it seems to just be showing the IDs instead of Names and IDs

    It shows Names and IDs as you add them to the post, but when you save changes the revised post only shows the relation IDs...

    Thanks for your help so far.

  8. fireproofsocks
    Member
    Plugin Author

    Posted 3 years ago #

    I can't reproduce this. Please file a bug in the bug-tracker and include a screenshot or screencast if you could. Also include your .cctm.json definition file (export it under the CCTM Tools menu).

    http://code.google.com/p/wordpress-custom-content-type-manager/issues/list

    Thanks.

  9. Matthew3man
    Member
    Posted 3 years ago #

    Weird thing is - now that I am fully on version 0.9.5.6 it still shows purely the ID instead of the ID and name. Is there any chance you could talk me through the fix you did from version 0.9.5.5 to 0.9.5.6 so that I can tweak 0.9.5.5 to get the names to come through.

    I can update just the fields/relation.php file but that leaves errors in other areas of the plugin. Running out of ideas to be honest - can't understand why it's being a royal pain. I've not used the plugin out of context.

    Matt

  10. Matthew3man
    Member
    Posted 3 years ago #

    Just tried it on a completely simple blog and it does the same thing. Downloaded the plugin afresh via wordpress - and again, it shows the Name + ID when adding, but after saving only shows the ID.

    :(

  11. fireproofsocks
    Member
    Plugin Author

    Posted 3 years ago #

    Please add comments like this to the bug report, not to the forum: I can't monitor the forums the same way I can monitor the bug tracker. And please send me a WP admin login and an FTP login because I cannot reproduce this behavior, and if I can't reproduce it, I cannot fix it.

    Here's the bug:
    http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=297

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Content Type Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic