• 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

    https://www.ads-software.com/extend/plugins/custom-content-type-manager/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor fireproofsocks

    (@fireproofsocks)

    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: https://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=288

    You can download the dev version that contains the fix here: https://downloads.www.ads-software.com/plugin/custom-content-type-manager.zip

    Thanks for your post.

    Thread Starter Matthew3man

    (@matthew3man)

    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

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    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.

    Thread Starter Matthew3man

    (@matthew3man)

    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.

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    “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.

    Thread Starter Matthew3man

    (@matthew3man)

    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.

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    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).

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

    Thanks.

    Thread Starter Matthew3man

    (@matthew3man)

    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

    Thread Starter Matthew3man

    (@matthew3man)

    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.

    ??

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    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:
    https://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=297

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Custom Content Type Manager] Relation names repeating’ is closed to new replies.