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

    (@fireproofsocks)

    Could you do a screencast? Something weird is going on if you can’t run the plugin normally.

    Thread Starter freaksauce

    (@freaksauce)

    The plugin runs ok and with older sites it shows the custom content types that I have already created but when I try it on a fresh install I can’t see the add post type button even with all plugins deactivated?

    Thread Starter freaksauce

    (@freaksauce)

    Oh and when I try removing the current version and using 0.9.3.3 it doesn’t show the new post types and when I add one and switch back to the new version that content type doesn’t show up but the one I setup with the new version does again…

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    Have you tried reinstalling? This sounds like an FTP error or something. In any case, I can’t reproduce the behavior, so there’s no way for me to fix it. Back-up your content type definitions (under the CCTM Tools menu), then do a complete reinstall. If the problem persists after a complete reinstall, you’ll have to do a screen capture (e.g. using Jing) so I can see what you’re doing. If it persists, then please file a bug in the bug tracker.

    Thread Starter freaksauce

    (@freaksauce)

    ok thanks

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    The data structure used in 0.9.3.x and 0.9.4.x is totally different, so flipping back and forth like that between versions will probably do any number of weird things: stick to the latest version.

    One of the problems that occurred in the update script required some people to have to edit their existing definitions and re-save them: that forced the data to be rewritten in the new data format. So if you’re not seeing a particular post-type in your menus, try editing and re-saving its definition.

    Beyond that, I really need to see exactly what you’re doing, so once again I’ll recommend that you do a screencast because it saves enormous amounts of time and it shows things that you might never think to mention in a forum post.

    Thread Starter freaksauce

    (@freaksauce)

    Tried it with a totally fresh install of WordPress and same problem, I recorded a screencast while I was doing it:

    http://dl.dropbox.com/u/26091284/screencast.mov

    Is there a way to manually add a post type?

    Thread Starter freaksauce

    (@freaksauce)

    By the way I just tried to import the exported JSON and nothing happened, the saved custom post types are still outputting to the browser as expected but I can’t access them in any way in the CCTM.

    Thread Starter freaksauce

    (@freaksauce)

    Oh and not sure I mentioned I’m using MAMP on Mac

    PHP Version 5.3.2
    MySQL 5.1.44

    Latest version of Chrome and FF in the screencast

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    Craziness. Do you have PHP errors enabled? I’m guessing there’s some error going on that’s not printing. MAMP doesn’t print them by default — you have to edit your php.ini file and restart Apache.

    If you visit this URL on your local installation directly, what happens?

    wp-admin/admin.php?page=cctm&a=create_post_type

    I’m pretty sure this is a problem with your environment and not with the plugin though.

    Thread Starter freaksauce

    (@freaksauce)

    Aha that url works! No worries I’ll try and get errors switched on and get back to you, thanks for your help by the way 🙂

    Thread Starter freaksauce

    (@freaksauce)

    Ok got errors on now thanks for the tip!

    Warning: sprintf() [function.sprintf]: Too few arguments in /Applications/MAMP/htdocs/2011/Client/PWB/wordpress/wp-content/plugins/custom-content-type-manager/controllers/list_post_types.php on line 9

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    Paste the first few lines of that file in here please. The line should look like this:

    $data['menu'] = sprintf('<a href="'.get_admin_url(false,'admin.php').'?page=cctm&a=create_post_type" class="button">%s</a>', __('Create Content Type', CCTM_TXTDOMAIN) );

    My guess is that if you viewed the source of the pages where the button is missing that you’d see the anchor tag there without clickable text.

    Thread Starter freaksauce

    (@freaksauce)

    $data 				= array();
    $data['page_title']	= __('List Content Types', CCTM_TXTDOMAIN);
    $data['menu'] 		= sprintf('<a href="'.get_admin_url(false,'admin.php').'?page=cctm&a=create_post_type">%s</a>', __('Create Content Type', CCTM_TXTDOMAIN) );
    $data['msg']		= CCTM::get_flash();
    
    $customized_post_types =  array();
    $displayable_types = array();
    Thread Starter freaksauce

    (@freaksauce)

    There’s an empty div when I use the code inspector <div id=”cctm_nav”></div>

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Plugin: Custom Content Type Manager] Create Content Type button not showing’ is closed to new replies.