[wp-testers] Removing rich editor in admin page edit
Would there be a posiibility of adding a filter/action to the whole rich editor so that we would be able of removing it and replacing it with our own content? I'm asking this cause this would be a great function for plugins that extend page functionality. I don't want to do any hooks so I'm asking of adding it to the Wordpress 3 functionality. ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] Removing rich editor in admin page edit
Have you tried the custom post type in version 3? It might be what you want! Azizur Rahman ProDevStudio http://prodevstudio.com If you are running east looking for a sunset, you'll never see it no matter how hard you try. On 28 Apr 2010, at 11:37 AM, Jakub Słaby w...@jakubslaby.com wrote: Would there be a posiibility of adding a filter/action to the whole rich editor so that we would be able of removing it and replacing it with our own content? I'm asking this cause this would be a great function for plugins that extend page functionality. I don't want to do any hooks so I'm asking of adding it to the Wordpress 3 functionality. ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] Removing rich editor in admin page edit
Nah, unfortunately the custom post isn't what I want ;) basicaly I need to rebuild a bit the page type. Wiadomość napisana przez Azizur Rahman w dniu 2010-04-28, o godz. 13:09: Have you tried the custom post type in version 3? It might be what you want! Azizur Rahman ProDevStudio http://prodevstudio.com If you are running east looking for a sunset, you'll never see it no matter how hard you try. On 28 Apr 2010, at 11:37 AM, Jakub Słaby w...@jakubslaby.com wrote: Would there be a posiibility of adding a filter/action to the whole rich editor so that we would be able of removing it and replacing it with our own content? I'm asking this cause this would be a great function for plugins that extend page functionality. I don't want to do any hooks so I'm asking of adding it to the Wordpress 3 functionality. ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] Removing rich editor in admin page edit
You can probably use the remove_post_type_support( $post_type, $feature ) function to remove the description and then add your own custom meta box. That should work. Haven't tried it, but don't see why it wouldn't work. 2010/4/28 Jakub Słaby w...@jakubslaby.com: Nah, unfortunately the custom post isn't what I want ;) basicaly I need to rebuild a bit the page type. Wiadomość napisana przez Azizur Rahman w dniu 2010-04-28, o godz. 13:09: Have you tried the custom post type in version 3? It might be what you want! Azizur Rahman ProDevStudio http://prodevstudio.com If you are running east looking for a sunset, you'll never see it no matter how hard you try. On 28 Apr 2010, at 11:37 AM, Jakub Słaby w...@jakubslaby.com wrote: Would there be a posiibility of adding a filter/action to the whole rich editor so that we would be able of removing it and replacing it with our own content? I'm asking this cause this would be a great function for plugins that extend page functionality. I don't want to do any hooks so I'm asking of adding it to the Wordpress 3 functionality. ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] Removing rich editor in admin page edit
Custom post type has support for page type. See http://codex.wordpress.org/Function_Reference/register_post_type Azizur Rahman ProDevStudio http://prodevstudio.com If you are running east looking for a sunset, you'll never see it no matter how hard you try. On 28 Apr 2010, at 12:18 PM, Jakub Słaby w...@jakubslaby.com wrote: Nah, unfortunately the custom post isn't what I want ;) basicaly I need to rebuild a bit the page type. Wiadomość napisana przez Azizur Rahman w dniu 2010-04-28, o godz. 13 :09: Have you tried the custom post type in version 3? It might be what you want! Azizur Rahman ProDevStudio http://prodevstudio.com If you are running east looking for a sunset, you'll never see it no matter how hard you try. On 28 Apr 2010, at 11:37 AM, Jakub Słaby w...@jakubslaby.com wrote: Would there be a posiibility of adding a filter/action to the whole rich editor so that we would be able of removing it and replacing it with our own content? I'm asking this cause this would be a great function for plugins that extend page functionality. I don't want to do any hooks so I'm asking of adding it to the Wordpress 3 functionality. ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] Removing rich editor in admin page edit
Thanks! I think it will do just fine Wiadomość napisana przez Deanna Schneider w dniu 2010-04-28, o godz. 13:36: You can probably use the remove_post_type_support( $post_type, $feature ) function to remove the description and then add your own custom meta box. That should work. Haven't tried it, but don't see why it wouldn't work. 2010/4/28 Jakub Słaby w...@jakubslaby.com: Nah, unfortunately the custom post isn't what I want ;) basicaly I need to rebuild a bit the page type. Wiadomość napisana przez Azizur Rahman w dniu 2010-04-28, o godz. 13:09: Have you tried the custom post type in version 3? It might be what you want! Azizur Rahman ProDevStudio http://prodevstudio.com If you are running east looking for a sunset, you'll never see it no matter how hard you try. On 28 Apr 2010, at 11:37 AM, Jakub Słaby w...@jakubslaby.com wrote: Would there be a posiibility of adding a filter/action to the whole rich editor so that we would be able of removing it and replacing it with our own content? I'm asking this cause this would be a great function for plugins that extend page functionality. I don't want to do any hooks so I'm asking of adding it to the Wordpress 3 functionality. ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] Custom Post Type with Meta Box - Permalink and Presentation Problems
Solved. Working solution for reference: http://wordpress.pastebin.com/98WywUCZ On Tue, Apr 27, 2010 at 10:09 PM, Jamie Oastler jamie.oast...@gmail.com wrote: Deanna gave an excellent example for #1 with a template_redirect action. For the second item, I have tried the following code which *should* work on two different servers and both result in a blank page display of the admin. Adding rewrite = false will have the post type menu, but not any permalinks. // Register custom post type - Manager register_post_type('manager', array( 'label' = __('Managers'), 'singular_label' = __('Manager'), 'public' = true, 'show_ui' = true, // UI in admin panel 'capability_type' = 'post', 'hierarchical' = false, 'query_var' = manager, // This goes to the WP_Query schema 'supports' = array('title' ,'thumbnail' /*'excerpt', 'editor' ,'custom-fields'*/) )); Also at http://wordpress.pastebin.com/3dZJZnJw On Tue, Apr 27, 2010 at 7:00 PM, Jamie Oastler jamie.oast...@gmail.com wrote: Using the nightly beta build I have managed to make a great custom post type following the instructions on http://www.deluxeblogtips.com/2010/04/how-to-create-meta-box-wordpress-post.html But now I am struggling with the presentation side of the big changes for WP 3.0. If someone could please share some generic examples for how to achieve the following it would be greatly appreciated. I've hunted through most of google and had no success. 1) How to create the equivelent of a category-#.php based file for custom post types and single.php for posts within. 2) How to have the permalink structure be the equivelent of http://site.com/custom-data-type/post-slug Anything I did to the rewrite parameter in register_post_type would usually cause the admin console and site to not render. Right now I get http://site.com/?album=album-title Thanks, Jamie ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] Custom Post Type with Meta Box - Permalink and Presentation Problems
Glad you got it working. :) On Wed, Apr 28, 2010 at 11:34 AM, Jamie Oastler jamie.oast...@gmail.com wrote: Solved. Working solution for reference: http://wordpress.pastebin.com/98WywUCZ On Tue, Apr 27, 2010 at 10:09 PM, Jamie Oastler jamie.oast...@gmail.com wrote: Deanna gave an excellent example for #1 with a template_redirect action. For the second item, I have tried the following code which *should* work on two different servers and both result in a blank page display of the admin. Adding rewrite = false will have the post type menu, but not any permalinks. // Register custom post type - Manager register_post_type('manager', array( 'label' = __('Managers'), 'singular_label' = __('Manager'), 'public' = true, 'show_ui' = true, // UI in admin panel 'capability_type' = 'post', 'hierarchical' = false, 'query_var' = manager, // This goes to the WP_Query schema 'supports' = array('title' ,'thumbnail' /*'excerpt', 'editor' ,'custom-fields'*/) )); Also at http://wordpress.pastebin.com/3dZJZnJw On Tue, Apr 27, 2010 at 7:00 PM, Jamie Oastler jamie.oast...@gmail.com wrote: Using the nightly beta build I have managed to make a great custom post type following the instructions on http://www.deluxeblogtips.com/2010/04/how-to-create-meta-box-wordpress-post.html But now I am struggling with the presentation side of the big changes for WP 3.0. If someone could please share some generic examples for how to achieve the following it would be greatly appreciated. I've hunted through most of google and had no success. 1) How to create the equivelent of a category-#.php based file for custom post types and single.php for posts within. 2) How to have the permalink structure be the equivelent of http://site.com/custom-data-type/post-slug Anything I did to the rewrite parameter in register_post_type would usually cause the admin console and site to not render. Right now I get http://site.com/?album=album-title Thanks, Jamie ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
[wp-testers] import broken in latest nightly?
I can reach the import page fine, but clicking through to try and import from any service renders a completely empty/blank page. Have tried reinstalling a few times to no avail. -Ross ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] import broken in latest nightly?
Try adding define('WP_DEBUG',true); to your wp-config.php and then post which, if any, error messages are being generated. On 4/28/10, Ross Chapman r...@folkspants.com wrote: I can reach the import page fine, but clicking through to try and import from any service renders a completely empty/blank page. Have tried reinstalling a few times to no avail. -Ross ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers -- -Doug ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] import broken in latest nightly?
We're tracking this bug down right now. It's actually affecting my test environment in 2.9 as well -- Ross, can you confirm? Please also provide PHP and Apache version if you could. We know what we need to do to fix this, but it'd be good to know what the environment situation is. On Wed, Apr 28, 2010 at 1:59 PM, Doug Stewart zamo...@gmail.com wrote: Try adding define('WP_DEBUG',true); to your wp-config.php and then post which, if any, error messages are being generated. On 4/28/10, Ross Chapman r...@folkspants.com wrote: I can reach the import page fine, but clicking through to try and import from any service renders a completely empty/blank page. Have tried reinstalling a few times to no avail. -Ross ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers -- -Doug ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] import broken in latest nightly?
@nacin: Is this the cannot redeclare add_cssclass() issue? On 4/28/10, Andrew Nacin w...@andrewnacin.com wrote: We're tracking this bug down right now. It's actually affecting my test environment in 2.9 as well -- Ross, can you confirm? Please also provide PHP and Apache version if you could. We know what we need to do to fix this, but it'd be good to know what the environment situation is. On Wed, Apr 28, 2010 at 1:59 PM, Doug Stewart zamo...@gmail.com wrote: Try adding define('WP_DEBUG',true); to your wp-config.php and then post which, if any, error messages are being generated. On 4/28/10, Ross Chapman r...@folkspants.com wrote: I can reach the import page fine, but clicking through to try and import from any service renders a completely empty/blank page. Have tried reinstalling a few times to no avail. -Ross ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers -- -Doug ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers -- -Doug ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
[wp-testers] unsubscribe
On 28 April 2010 21:05, Doug Stewart zamo...@gmail.com wrote: @nacin: Is this the cannot redeclare add_cssclass() issue? On 4/28/10, Andrew Nacin w...@andrewnacin.com wrote: We're tracking this bug down right now. It's actually affecting my test environment in 2.9 as well -- Ross, can you confirm? Please also provide PHP and Apache version if you could. We know what we need to do to fix this, but it'd be good to know what the environment situation is. On Wed, Apr 28, 2010 at 1:59 PM, Doug Stewart zamo...@gmail.com wrote: Try adding define('WP_DEBUG',true); to your wp-config.php and then post which, if any, error messages are being generated. On 4/28/10, Ross Chapman r...@folkspants.com wrote: I can reach the import page fine, but clicking through to try and import from any service renders a completely empty/blank page. Have tried reinstalling a few times to no avail. -Ross ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers -- -Doug ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers -- -Doug ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] import broken in latest nightly?
Yes, though in trunk, it'll be a different function. More or less, wp-admin/admin.php is being loaded twice -- once because that's the page requested, then again via a conditional include in admin-header.php. It results in WP being loaded twice, which predictably errors out on the first function it tries to re-define. I'm seeing this on my environment (Mac, Apache 2.2, PHP 5.3, standard include_path et al.) all the way down to 2.8 (that's just how far I've tested). The offending line has been there for a while. So it's definitely environment-specific. On Wed, Apr 28, 2010 at 2:05 PM, Doug Stewart zamo...@gmail.com wrote: @nacin: Is this the cannot redeclare add_cssclass() issue? ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
[wp-testers] (no subject)
I apologize if this has been discussed on this list previously, but I'm a new subscriber. WP Version: 3.0-beta1 Theme: Twenty Ten 0.7 I'm trying to use the Featured Image feature to change the header image on some of my posts. It works find on posts that have only one media library image in them. (http://troms.me/dr) If I have a featured image and one other media library image in the post, the featured image is not displayed anywhere on the page. (http://troms.me/my) Anybody else encounter this problem? Thanks, Jason ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] import broken in latest nightly?
Running apache 2.2.14 and PHP 5.3.1 . Not seeing any error messages with WP_DEBUG activated. -Ross @nacin: Is this the cannot redeclare add_cssclass() issue? On 4/28/10, Andrew Nacin w...@andrewnacin.com wrote: We're tracking this bug down right now. It's actually affecting my test environment in 2.9 as well -- Ross, can you confirm? Please also provide PHP and Apache version if you could. We know what we need to do to fix this, but it'd be good to know what the environment situation is. On Wed, Apr 28, 2010 at 1:59 PM, Doug Stewart zamo...@gmail.com wrote: Try adding define('WP_DEBUG',true); to your wp-config.php and then post which, if any, error messages are being generated. On 4/28/10, Ross Chapman r...@folkspants.com wrote: I can reach the import page fine, but clicking through to try and import from any service renders a completely empty/blank page. Have tried reinstalling a few times to no avail. -Ross ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers -- -Doug ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers -- -Doug ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers -- Ross Chapman www.FolksPants.com (e) r...@folkspants.com (c) (415) 633-6557 (twt) @rosspants (face) www.facebook.com/folkspants ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] import broken in latest nightly?
Make sure WP_DEBUG is added near the top of your wp-config.php file, at least above /* stop editing, happy blogging */... You should not be getting a white screen, it'll show you the core fatal error. On Wed, Apr 28, 2010 at 2:37 PM, Ross Chapman r...@folkspants.com wrote: Running apache 2.2.14 and PHP 5.3.1 . Not seeing any error messages with WP_DEBUG activated. -Ross @nacin: Is this the cannot redeclare add_cssclass() issue? On 4/28/10, Andrew Nacin w...@andrewnacin.com wrote: We're tracking this bug down right now. It's actually affecting my test environment in 2.9 as well -- Ross, can you confirm? Please also provide PHP and Apache version if you could. We know what we need to do to fix this, but it'd be good to know what the environment situation is. On Wed, Apr 28, 2010 at 1:59 PM, Doug Stewart zamo...@gmail.com wrote: Try adding define('WP_DEBUG',true); to your wp-config.php and then post which, if any, error messages are being generated. On 4/28/10, Ross Chapman r...@folkspants.com wrote: I can reach the import page fine, but clicking through to try and import from any service renders a completely empty/blank page. Have tried reinstalling a few times to no avail. -Ross ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers -- -Doug ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers -- -Doug ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers -- Ross Chapman www.FolksPants.com (e) r...@folkspants.com (c) (415) 633-6557 (twt) @rosspants (face) www.facebook.com/folkspants ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] (no subject)
Hello, I had this issue, maybe it is the same problem: http://core.trac.wordpress.org/ticket/13027 Regards, Martin 2010/4/28 Jason A. Trommetter ja...@trommetter.org I apologize if this has been discussed on this list previously, but I'm a new subscriber. WP Version: 3.0-beta1 Theme: Twenty Ten 0.7 I'm trying to use the Featured Image feature to change the header image on some of my posts. It works find on posts that have only one media library image in them. (http://troms.me/dr) If I have a featured image and one other media library image in the post, the featured image is not displayed anywhere on the page. (http://troms.me/my) Anybody else encounter this problem? Thanks, Jason ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
Re: [wp-testers] import broken in latest nightly?
Ah, got WP_DEBUG working. Here's error I get: Notice: Constant ABSPATH already defined in /Library/WebServer/Documents/Sites/wp/private/wp-load.php on line 20 Fatal error: Cannot redeclare _add_themes_utility_last() (previously declared in /Library/WebServer/Documents/sites/wp/private/wp-admin/menu.php:157) in /Library/WebServer/Documents/sites/wp/private/wp-admin/menu.php on line 158 ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers
[wp-testers] custom post types
I am curious if the codex page http://codex.wordpress.org/Function_Reference/register_post_type, is complete. I would like to be able to add a upload link, something like post thumbnails, but not for thumbnails per say, more for a gallery image 635x320. Is there any other documentation, or can you direct me to the proper source file to look at for other capabilities? Danny G Smith d...@riskiii.com ___ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers