Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • zoell Friend
    #205210

    Hi,

    I added a custom select field to the user profile which displays all the countries.

    plugins/user/profile/profiles/profile.xml:

    <field
    name="country2"
    type="sql"
    id="country2"
    description="PLG_USER_PROFILE_FIELD_COUNTRY2_DESC"
    filter="string"
    key_field="id"
    value_field="name"
    label="PLG_USER_PROFILE_FIELD_COUNTRY2_LABEL"
    query="SELECT id, name FROM countrylist ORDER by name"
    />

    plugins/user/profile/profile.xml:

    <field name="register-require_country2" type="list"

    description="PLG_USER_PROFILE_FIELD_COUNTRY2_DESC"
    label="PLG_USER_PROFILE_FIELD_COUNTRY2_LABEL"
    >
    <option value="2">JOPTION_REQUIRED</option>
    <option value="1">JOPTION_OPTIONAL</option>
    <option value="0">JDISABLED</option>
    </field>

    If I go to edit mode on the user’s profile page, the dropdown box seems displayed correctly, but when I click it to change the country, I get the thing which is on the attached joomlaproblem.jpg

    We tested this from Chrome. It seems it is working from Firefox.


    1. joomlaproblem
    Pankaj Sharma Moderator
    #565409

    Hello @zoell
    We do not provide support for Core Joomla products customization’s .
    Please raise your request on Joomla Forum Here

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Pankaj Sharma 9 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum