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.

Assigning multiple categories to one weblog entry?

July 17, 2010 1:40am

Subscribe [4]
  • #1 / Jul 17, 2010 1:40am

    jeramiah

    301 posts

    I know what I’m trying to accomplish but I don’t know how to ask which is why I’m probably not finding anything in the forums. 

    We have a site selling TV’s and I want each product to be searchable via Brand, Style, price etc.  See the screenshot so you can see what I’m talking about.

    I know it’s only possible to have one category.  But that’s kinda what I want to accomplish.  That a user can click on Mitsubishi and see the same tv that they would if they filtered the search by price or type of tv, like DLP, LCD etc…


    ***EDIT***

    What is related_categories_mode=“on” all about?  Could this be my solution?

  • #2 / Jul 17, 2010 7:00am

    tidy

    196 posts

    Hi Jeramiah,

    You can have multiple categories per entry (just select multiple ones in the multi select).

    In your case you would probably have multiple category groups (for brands, price range and styles), and it’s fine to assign multiple category groups to one weblog too.

    Hope this helps

  • #3 / Jul 17, 2010 1:16pm

    jeramiah

    301 posts

    Right on… I think I was over thinking this.  I didn’t realize you could multi-select.  My only question now is, how would one split up the categories so that they appear as they do in my screenshot?  I imagine you couldn’t do a loop of them, you’d have to manually create the links which is fine… I love the new site of EE but I can’t find the templates.  Do you know where they are?  I used those all the time.  Thanks!!!!!

  • #4 / Jul 17, 2010 1:45pm

    jeramiah

    301 posts

    How about something like this:

    STYLES:
    <a href="http://www.example.com/index.php/site/C1/">DLP</a>
    
    <a href="http://www.example.com/index.php/site/C2/">LCD</a>
    
    
    ...etc..
    BRANDS:
    <a href="http://www.example.com/index.php/site/C3/">MITSUBISHI</a>
    
    <a href="http://www.example.com/index.php/site/C4/">TOSHIBA</a>
    
    
    ...etc..
  • #5 / Jul 18, 2010 2:59pm

    Greg Salt

    3988 posts

    Hi Jeremiah,

    As Janine says you assign multiple categories to one entry. As for how to display your categories please have a look at the Channel Categories Tag in the documentation.

    Cheers

    Greg

    @Janine, thanks for helping out!

  • #6 / Jul 18, 2010 3:33pm

    jeramiah

    301 posts

    I did go to that page but it seems as though that’s not going to be what I need.  I will need to manually list them which is fine.  Thanks for all the help guys!

  • #7 / Jul 18, 2010 4:19pm

    Brandon Jones

    5500 posts

    Thanks for the assistance, tidy.

    Glad you’ve got a solution, jeramiah.

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

ExpressionEngine News!

#eecms, #events, #releases