Child pages
  • [in-bulletin] User field display
Skip to end of metadata
Go to start of metadata

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/b9bbaee916b8e452#

Hello,

in in-bulletin/elements/posts.elm.tpl, in post_element definition, we have a field to display user country:

in-bulletin/elements/posts.elm.tpl
<inp2:PosterField name="Country"/>

and this field is filled when user fills his country in user's preference (and not in In-Bulletin preference).

Is there a way to display custom user's field here too? I tried all common tags and fields, but no luck I didn't found how to do ...

thanks for your help!

Related Tasks

MINB-16 - Getting issue details... STATUS

7 Comments

  1. So user have 2 country fields:

       - one in it's profile
       - one in in-bulletin profile

    Is that so?

    That's strange, how did you get that custom field usually (with other
    country)?

  2. thank for your reply Alex, it works using one of these 2 tags:

    <inp2:u.profile_Field field="cust_xxx"/>
    or
    <inp2:u_CustomField name="xxx"/>

    I don't know what's the difference, any usage's tip?

    thanks

    2010/10/15 Alexander Obuhovich <aik.b...@gmail.com>

  3. sorry, it works in user profile to display the current logged in user's
    fields, but not in post_element to display poster's infos.

    2010/10/15 Phil -- wbtc.fr -- <p...@wbtc.fr>

  4. Sadly, but tag PosterField only allows to selected real fields (not custom
    fields) from user record. That's a bug actually.

  5. is it the same if I try to display in-bulletin custom fields?

    2010/10/15 Alexander Obuhovich <aik.b...@gmail.com>

  6. PosterField tag is used to display post author's field. It can't display
    anything else. Best way to know for sure is to try. I never used topic
    custom fields, but they should work.

  7. Task:

    MINB-16 - Getting issue details... STATUS