ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Obtain the category ids for a particular entry

November 21, 2007 11:17am

Subscribe [2]
  • #1 / Nov 21, 2007 11:17am

    adrian westlake

    24 posts

    Hi,

    I have been scanning through the user guide and cannot find an answer. I am displaying information for a particular category, and wish to display entries from another weblog with the same categories. Therefore I need the category ids for the specified entry. Is there an easy way to do this, or do i need to pass the category ids in the url string as well as the url_title for the entry?

  • #2 / Nov 21, 2007 9:15pm

    Erin Dalzell

    790 posts

    Well, you could definitely get the information from the DB, but I would check the wiki to see if there are any plugins that do that for you. Wouldn’t be that hard a plugin to write.

  • #3 / Nov 22, 2007 12:57am

    Lisa Wess

    20502 posts

    Look up related_category_mode =)

  • #4 / Nov 22, 2007 5:39am

    adrian westlake

    24 posts

    related category mode did the trick.

    Many thanks Lisa.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases