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.

Category fields and images

March 14, 2012 4:17pm

Subscribe [1]
  • #1 / Mar 14, 2012 4:17pm

    fram

    6 posts

    I started to work on EE and so far I’m quite impressed with the product.
    I have a few very basic questions:

    1) Is it possible to add a new file field for a category in order to have an icon image and a full size image for the category ? Right now in order to implement this I have created a category and a corresponding channel with the two image fields, but I doesn’t look right and it’s more difficult to maintain from the cp.

    2) Is it possible to provide the user with the ability to add entry of a given channel e.g. books to his collection (user library) ? or I will need a relationship like playa module to implement a functionality like this ?

  • #2 / Mar 15, 2012 2:28pm

    Sean C. Smith

    3818 posts

    Hi fram,

    Welcome to the forums. We’re glad to have you here. Glad to see you like ExpressionEngine. Unfortunately it’s not possible to add a new file field for categories out of the box. I searched Devot://ee but was unable to find an add-on to help you out there.

    Re: Question 2 The answer here is probably yes, but if you could explain in a little more detail what you would like to achieve then I’ll be able to give you a better answer.

    Looking forward to your response.

    Sean

  • #3 / Mar 15, 2012 5:31pm

    fram

    6 posts

    Thanks for you reply !

    Regarding the second question here are some additional information. I have a channel books, entries for the channel are entered by the admin using the cp and I’d like to allow members to keep track of their collections of book by adding the entries to their collection.
    If I understand the product correctly in order to achieve this I will need to implement a Collection module that keeps the relationship between members and books and provides the frontend views to allow members to modify the collection. I read about Playa but it’s not clear from their description if it allows to create relationship between members and channels

    I have another question about automating multiple actions in the backend.
    In my ideal scenario everytime a Control Panel User creates a new channel of type “departement” the following automated action will take place:
    - A forum post is created without the cp users having to explicitly access to the forum tab.
    - A new category is created in a specific category group.
    - A new channel of type minisite is created. This channel is associated with the index of the minisite template group. The cp user can then go to the minisite and customize the minisite channel entry newly created by entering all the data in the channel.
    If I understand how the system work this can be easily implemented using the channel hooks. Is this correct or there is a better way to do it out of the box ?

    FraM

  • #4 / Mar 16, 2012 5:22pm

    Dan Decker

    7338 posts

    Hi fram,

    You are on the right track thinking about Playa, but Members can’t be related to entries in the fashion you describe. Not in its own.

    However, if you use Zoo’s Visitor, you can make this work. Visitor takes Member data and moves it into a Channel. Once that data is managed in a channel it can be related to entries in other channels using add-ons like Playa.

    This bit however:

    - A new category is created in a specific category group. - A new channel of type minisite is created. This channel is associated with the index of the minisite template group. The cp user can then go to the minisite and customize the minisite channel entry newly created by entering all the data in the channel. If I understand how the system work this can be easily implemented using the channel hooks.

    May not be entirely possible. It would require a good bit of coding for a custom module for this to work.

    Let us know if you have any other questions.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases