Custom Content Type Manager
can i create a new post type with CCTM once and use it at all (8 posts)

  1. yyyyyywhy
    Posted 4 years ago #

    I'm using this plugin....it's really good, easy to use.

    i am usign wordpress as a CMS, which enabled multi-sites.

    after i created a new post type with CCTM on main site, i can't find it on the child sites.users can't not use the new type to post their article.
    It seems that i have to repeat the creating new type precess again and again for all children sites.

    So the question is, can i create a new post type with CCTM once and set it as a default to all children sites in the network?

    i thought the export and import function is a way to reduce the repeat creating work as much as possible. though i am not sure my understanding is right.

    i tried to export the main site definition and downloaded the *.cctm.json file and got an error message saying the uploaded format is not correct when i tried to import on a child site.

    then...i don't what else i can do now..do any body know other custom plugin can match my demand? or any one give me a clue or help on a right way to use this one?
    thanks in advance:)


  2. fireproofsocks
    Plugin Author

    Posted 4 years ago #

    I need a couple details here: first and foremost, I need to know the EXACT steps you are taking to setup multiple sites. I haven't tested the plugin using multi-sites, but I need to know exactly how you are trying to do this.

    Secondly, I need to know exact details of how you are trying import and export the .cctm.json file -- version 0.9.3 and before used a different format for the definition files, so if you are trying to import a 0.9.3 definition file on a 0.9.4 site, it won't work.

    So please, file a bug in the bug tracker, and include as much information as possible.


  3. yyyyyywhy
    Posted 4 years ago #

    the steps to enable multi-site:
    1,insert below into wp-config.php;
    define('WP_ALLOW_MULTISITE', true);
    2,create a folder named "blogs.dir" in /wp-content/blogs.dir;
    3,copy codes in tools-network menu to wp-config.php and .htaccess file;
    i think you can easily find more detail steps info by google;

    i exported .cctm.json from V0.9.3.3 and imported to another V0.9.3.3, failed;
    haven't try V0.9.4.2 yet....but i guess the same....it should not be related to version.....unless it's a issue you have know before V0.9.4.2 and you fixed it with plan.

  4. fireproofsocks
    Plugin Author

    Posted 4 years ago #

    Great! Please put this in the bug tracker so I see it when I sit down to work on bugs and features. Thanks!

    The data structure is completely related to the version -- huge changes occurred between 0.9.3 and 0.9.4 -- I tested importing and exporting with the new version. Please include the version number and server details when you file the bug.

  5. yyyyyywhy
    Posted 4 years ago #

    hi....i just exported from version and tried to imported at a children site also with version.....still fail...

    wish below info helpful to you:

    Please correct the following errors:

    The uploaded file is not in the correct format.

    Warning: Invalid argument supplied for foreach() in C:\wamp\www\wp-content\plugins\custom-content-type-manager\views\import.php on line 45
    Call Stack
    # Time Memory Function Location
    1 0.0011 462312 {main}( ) ..\admin.php:0
    2 3.0324 36977352 do_action( ) ..\admin.php:151
    3 3.0325 36978264 call_user_func_array ( ) ..\plugin.php:405
    4 3.0325 36978280 CCTM::page_main_controller( ) ..\plugin.php:0
    5 3.0341 37038688 include( 'C:\wamp\www\wp-content\plugins\custom-content-type-manager\controllers\import_def.php' ) ..\CCTM.php:1606
    6 3.0590 37226384 CCTM::load_view( ) ..\import_def.php:79
    7 3.0594 37290160 include( 'C:\wamp\www\wp-content\plugins\custom-content-type-manager\views\import.php' ) ..\CCTM.php:1530

  6. fireproofsocks
    Plugin Author

    Posted 4 years ago #

    Please, put this in the bug-tracker. It really helps me out. I don't groom the forums for bug reports when it comes time to work on the plugin. I get a lot of emails and notes about this plugin every day, and all of that time is time I would normally spend on my paying clients and the other deadlines I have, so if you can help me stay organized and post this in the bug tracker, it saves me a lot of time and it helps ensure that myself and others can search past issues and any related notes. Thanks.

  7. yyyyyywhy
    Posted 4 years ago #

    ok....submitted...as you wish

  8. fireproofsocks
    Plugin Author

    Posted 4 years ago #

    Thank you! It helps me keep my sanity and ensures that everybody benefits from the report.

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