• Resolved cailean

    (@cailean)


    I’ve poked around quite a bit and haven’t seen this problem addressed…

    I am creating a blog system for an organization with several groups. Each group will post blog entries in one of two categories, ‘Event’ & ‘Journal’.

    Each group gets a Page in the system and that page will display the ‘Event’ & ‘Journal’ categories for that group separately…

    I think the multi-loop is dealt with fairly easily… but how do I assign the posts to the appropriate groups/pages in a way that is easy for the user/author?

    I thought perhaps the custom-field function could be massaged to serve this purpose… The requirements there would be: a)the user picks 1 from an admin-determined list of groups to post to b) the group page only displays posts that are assigned to it

    I’m not afraid of writing custom code, but I need a shove in the right direction…

Viewing 15 replies - 16 through 30 (of 31 total)
  • Thread Starter cailean

    (@cailean)

    K, quick question…
    I’m using the post_parent field for assigning the posts to pages (essentially a post becomes a child of a page…)

    Anyway, how would the custom query for the posts go? The first query (loop) on the page would be the page’s post content… (it can stay as is)

    The second loop would pull all the posts where the value of post_parent is the current page’s ID… I guess there isn’t a simple query_posts() method?

    apek

    (@apek)

    where is he plugin?

    Thread Starter cailean

    (@cailean)

    it’s coming… I haven’t had a chance to test it with the 2.0 beta, yet and I don’t see much point in releasing a plugin that will break with 2.0. It does work, though, which is cool!

    kenwinstoncaine

    (@kenwinstoncaine)

    Hi Cailean:

    I’m building my site with 1.5.2 and would very, very much like to experiment with this capability. It’s central to the design I’ve envisioned for a very large site covering 40 some topic areas with multiple (and ever growing) articles in each topic area.

    Would you consider letting me play with the current version as a beta? I’d really appreciate it.

    And if it breaks under 2.0, so be it. I won’t go to 2.0 until we’ve figured out a way to make this, or something similar, work in 2.0.

    If I offer a small monetary contribution/donation for your creative efforts, would that help?

    I’m at a point where I really need this functionality and am hoping you’ll concede to let me play with it.

    Thanks for considering.
    kwc

    kenwinstoncaine

    (@kenwinstoncaine)

    P.S. Cailean, if you want to contact me directly, please write to [email protected]

    Thread Starter cailean

    (@cailean)

    One zip file en-route to New Mexico…

    For the rest of you, if Ken gets it working, I’ll assume it’s good enough for the masses and release it. ??

    Very cool, Cailean. I’ll be reporting back by tomorrow evening (if not earlier). Expect to be playing with this tonight.

    Thank you.
    kwc

    Very grateful to Colin for sending me the plug-in. Have spent about 8 hours with it last night and tonight fiddling. Don’t yet have it working on the site I’m building.

    Will report as I progress. Colin let me know that it may not work with mod_rewrite Permalinks–which I’m using. He didn’t write it for them. That MAY be the problem I’m having. Or the problem may simply be that I’m not up to speed enough yet on Pages and posts and getting the two to work together. I’m probably a few more hours away from knowing which and then moving towards resolving it (or not).

    I’m suspecting that my own steep learning curve re: Pages is a factor. I’ve yet to get a Page to actually show up, with my template, and with a post on it. I’m no longer getting 404 errors, but I’m still not seeing a page show up.

    Will probably be able to get back to this tomorrow night.

    Best,
    kwc

    I’m tied up in a magazine deadline right now and probably won’t be clear of that ’til this coming Tuesday evening and haven’t gotten back to this since Sunday night.

    I will be back onto it just as soon as I get this mag out.

    Problem that tied me up in WordPress has to do with using Pages in my theme. For some reason, it’s assigning them under a category. (Which the Codex says shouldn’t be happening.) And it doesn’t seem to be using my theme on Pages or letting me choose the theme.

    I’ve got to do more studying of how to make Pages work and then see if I can do it with my current theme, or if I need to start from scratch with a new blog.

    That’s where I was stuck Sunday night. I plan to get unstuck by Wednesday or Thursday next week. And hopefully have this plug-in working.

    Best,
    kwc

    If anyone is still following this: I’m back onto it. Sorry for the long timeout. I pretty much wiped out my computer with a dumb download and spent about three weeks restoring it.

    I have a query into the support forum to see if someone can figure out why my Page template is not showing up on pages I create. Once that is figured out, I’ll know whether this plug-in is working well or not. So far, I’m suspecting that it WILL work with permalinks in WordPress 1.5.2 because I am seeing it showing up when I go the Write page. (OR….the reason my theme template is not coming up is because it DOESN’T work with permalinks? I doubt the two are related. But I’m pretty naive about this stuff.)

    In any case, a long overdue follow-up.

    Best,
    kwc

    Finally!

    Solved the “Page” problem I was having. Some bad code in my page.php file.

    With that resolved, the Post2Page plug-in seems to work WITH permalinks for ONE POST per page. I have not been able to use it to post multiple posts to a single page.

    That may not have been a function that Colin intended to build into this. Colin? Possible?

    Would be especially useful to be able to post multiple posts to a single page AND to have the option to be able to have later posts appear BENEATH earlier posts, rather than atop them in typical blog style.

    That way, one could build a strong informational page, with the intro material on top, and then add supplemental material with each post.

    Any idea how to do that, Colin?

    Grateful for everyone’s patience. Looks like the plug-in works fine with v 1.5.2 of WordPress with Permalinks enabled.

    Thanks,
    kwc

    Thread Starter cailean

    (@cailean)

    As I’ve already mentioned to Ken, one post per page is default WP behaviour. I suspect that the permalinks are, in fact, breaking the plugin.

    I’m currently trying to refactor the plugin for WP2.0, during which time I should be able to add support for permalinks.

    Hi Colin:

    Pretty sure you’re right that I don’t have it working, but rather am just publishing to category–or using WP default behavior. Played with it some more after getting your reply. And seem to have broken it more. And need to play a lot more, but have some appointments I must tend to. Will get back to this tonight and go over each of your suggestions/questions.

    In the meantime:

    I’m suspecting first that I still have a problem in my page.php file. I am going to post the original code to the forum and see if anyone can see a problem that would keep a new Page from pulling in my template theme. (That was the problem that hung me up for weeks and since I’m a very very beginner when it comes to coding, it takes me a long time to recognize and troubleshoot these things.)

    Related–to get the page.php file to finally start pulling in my theme, I deleted some code. Now, when I look at that code, I think I deleted the part that told the Page to pull up more than one post. So I think the problem I’m currently having is still *me* and my page.php file.

    Let me seek some help on that. (And I’ll post an update to the thread.)

    I’ll get back to you after I’ve done some more work/investigating.

    Thanks,
    kwc

    P.S. Glad to hear you are working on it for V 2.0. I’m not going to 2.0 until I have my site actually working and building out in 1.5.2. (The learning curve thing.)

    __________________________________________________________
    k e n w i n s t o n c a i n e
    Box 95, Cerrillos, NM 87010 505.780.1894

    I’ve posted my most broken and my less broken page.php files here:
    https://www.ads-software.com/support/topic/56348?replies=1

    Hopefully a theme building wizard will glance at them and immediately spot the problem and have me rolling again.

    I’ll report back.

    Best,
    kwc

    Thread Starter cailean

    (@cailean)

    page.php is part of your theme, so it need not ‘pull in’ a theme…

    I would suggest reverting to the Kubrick theme until you get plugin and default functionality sorted out. Then enable your theme and see if anything breaks.

Viewing 15 replies - 16 through 30 (of 31 total)
  • The topic ‘Assigning posts to pages?’ is closed to new replies.