Fork me on GitHub

news module with categorie picture  Bottom

  • Hello

    i would like to know how we can assign a picture to a category,
    i think it's by using an attribute ?, but i don't know how we can access this attribute in the template

    the doc is not very usefull in this case
    http://community.zikula.org/Wiki-CategoriesAdmin.htm

    thanks
  • I've added a new section in the final of that Wiki page to talk about the topic_image attribute mumuri. Correct me if i was complicated in my explanation icon_razz

    --
    - Mateo T. -
    Mis principios... son mis fines
  • do we have to do this manually "Then make it available in the $info.topicimage field." ??? by hacking the news module ? or is it available by default

    note that your idea to customize the type of field (images, string ...) that we can create with the category module is interesting.
  • The $info.topicimage is used by default in the articlecontent template, but not in the index template, so, if you want to see the topic image in the article list screen you need to customize the index template.

    And customize the type of field?
    a'la PageMaster?

    --
    - Mateo T. -
    Mis principios... son mis fines
  • nestormateo

    The $info.topicimage is used by default in the articlecontent template, but not in the index template, so, if you want to see the topic image in the article list screen you need to customize the index template.

    ok only template mods, not PHP code

    nestormateo


    And customize the type of field?
    a'la PageMaster?

    yes you were talking about adding a special type of argument for pictures no ?

This list is based on users active over the last 60 minutes.