[campsite-support] Extra Fields in the User table
  • Hi all,

    I am writing a template that uses the pref1, ... pref4 extra fields of the User table.
    Inside a form, I have added a .
    For testing, I selected the corresponding checkbox, and checked that it was written successfully to the database field.
    After that, I visited the page again, and found that the box is not checked allthougth the field has a 'Y' value in the database.

    So am I missing something?

    And how can I show the value of these pref1, pref2 ... variables in the private area?
    The campsite manual shows that this can be done by the campsite administrator. So is it a matter of configuration and do I have to write some coding?

    Thank you

    Maroun

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • 2 Comments sorted by
  • Hi Maroun

    > Inside a form, I have added a > ..>.
    > For testing, I selected the corresponding checkbox, and checked that it was
    > written successfully to the database field.
    > After that, I visited the page again, and found that the box is not checked
    > allthougth the field has a 'Y' value in the database.
    This is a bug I'll fix in the next campsite version

    > And how can I show the value of these pref1, pref2 ... variables in the
    > private area?
    You can't

    > The campsite manual shows that this can be done by the campsite
    > administrator. So is it a matter of configuration and do I have to write some
    > coding?
    You would have to modify the admin interface to add these fields in the user
    edit form.

    Regards,
    Mugur




    __________________________________
    Do you Yahoo!?
    Yahoo! Mail is new and improved - Check it out!
    http://promotions.yahoo.com/new_mail

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • Hi Maroun,

    I fixed the bug related to the Pref fields, please download the 2.1.6 beta 3
    version from:
    http://www.campware.org/look/campware/download/campsite-2.1.6-beta3.tar.gz

    Best,
    Mugur

    --- mboumaroun@mirsad.org.lb wrote:
    > Hi all,
    >
    > I am writing a template that uses the pref1, ... pref4 extra fields of the
    > User table.
    > Inside a form, I have added a > ..>.
    > For testing, I selected the corresponding checkbox, and checked that it was
    > written successfully to the database field.
    > After that, I visited the page again, and found that the box is not checked
    > allthougth the field has a 'Y' value in the database.
    >
    > So am I missing something?
    >
    > And how can I show the value of these pref1, pref2 ... variables in the
    > private area?
    > The campsite manual shows that this can be done by the campsite
    > administrator. So is it a matter of configuration and do I have to write some
    > coding?
    >
    > Thank you
    >
    > Maroun


    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com

    ------------------------------------------
    Posted to Phorum via PhorumMail