1 mochababy Jun 05, 2008 22:45
3 mochababy Jun 06, 2008 04:14
EdB wrote:
* My post stack is now theoretically a mile high. woot!
So yeah this is no problem and can be handled in several different ways. To use a disp=foo method you have to create the page that foo will use. That is covered somewhere in the forums but I don't have a link handy at the moment. Search for "custom disp page" and see if that helps. So anyway yeah you can make disp=editorpicks filter to whatever you want it to be as long as there is something unique about posts that would qualify it for this filter.
I suggest adding a post type "editorpick" so that when you want to mark one as that you edit it and simply change the post type. You would then make your editorpicks file/page use the post type when building it's "MainList" array. After that it's a normal page that only shows that particular post type. BTW the post type thing will let you sort by number so for example your 'editorpicks' post type will probably be post_type 5001. You can search the forums for "custom post type" to find a few different ways that field has been successfully used.
I get what you are saying with the making it a different post type but i already have at least 100 posts that have similar titles, in fact they all start with Editor Pick in the title. That's why i wanted to use a filter to only show posts that have "Editor Pick" in the title. The problem that i'm having is that i don't know how to arrange this with the framework. I'm a little stupid when it comes to things like this...i don't know why. Do you mind holding my hand through this?
So i created the custom disp=editor page. and my skin recognizes it when i type it into the browser.
how do i construct the filter within that _editor.disp.php page? where do i go now? What do i even write?
it just baffles me, and i don't know here to find the possible filter options because the search widget is no help.
4 ianlewis Jun 06, 2008 04:21
Post types are different than the title. When writing/editing a blog entry you can click on advanced and in the upper right there is a dropdown for blog post types. The defaults are something like Post, and Page or something like that. It would be a way you could select the posts/entries that you want to view.
It would require modifying your skin pages to select the right types of posts, but look into the post type a bit more.
5 mochababy Jun 06, 2008 04:27
IanLewis wrote:
Post types are different than the title. When writing/editing a blog entry you can click on advanced and in the upper right there is a dropdown for blog post types. The defaults are something like Post, and Page or something like that. It would be a way you could select the posts/entries that you want to view.
It would require modifying your skin pages to select the right types of posts, but look into the post type a bit more.
well that's another complication i don't want to quite deal with now so that's why i thought it would be best to just use a filter.
Do you by any chance know how to use a filter using a "?disp=editor" method?
* My post stack is now theoretically a mile high. woot!
So yeah this is no problem and can be handled in several different ways. To use a disp=foo method you have to create the page that foo will use. That is covered somewhere in the forums but I don't have a link handy at the moment. Search for "custom disp page" and see if that helps. So anyway yeah you can make disp=editorpicks filter to whatever you want it to be as long as there is something unique about posts that would qualify it for this filter.
I suggest adding a post type "editorpick" so that when you want to mark one as that you edit it and simply change the post type. You would then make your editorpicks file/page use the post type when building it's "MainList" array. After that it's a normal page that only shows that particular post type. BTW the post type thing will let you sort by number so for example your 'editorpicks' post type will probably be post_type 5001. You can search the forums for "custom post type" to find a few different ways that field has been successfully used.