Skip to:
Content
Pages
Categories
Search
Top
Bottom

categorys and groups. howto connect them?

  • i have a category, called language,
    and i have a language group,
    what can do i , to automatically show the posts in the language category in the language group?

Viewing 1 replies (of 1 total)
  • Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    If your groups and categories have exactly the same name, you could try modifying your group home.php file (groups/single/home.php in the bp-default theme), accessing the group name and using that in a query_posts / have_posts loop

    If they have different names, you will have to look at extending your group, adding a parameter to capture the corresponding category id. Again, you would then add a query_posts / have_posts loop and use it your group home.php template.

    This page gives some more information on the groups API, and may be of some help: http://codex.buddypress.org/developer-docs/group-extension-api/

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.