Page 15 of 50 FirstFirst ... 5131415161725 ... LastLast
Results 141 to 150 of 491
  1. #141
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Additional Customers Fields

    Text boxes and TextArea boxes gathers all data from the database. Pull down menus and radio buttons still gathers the data from the database by masking the original values with your questions used with _content['your_field'] at the end related with the _title['your_field'] by using the arrays.

  2. #142
    Join Date
    Jun 2004
    Posts
    184
    Plugin Contributions
    0

    Default Re: Additional Customers Fields

    Quote Originally Posted by TheOracle View Post
    Text boxes and TextArea boxes gathers all data from the database. Pull down menus and radio buttons still gathers the data from the database by masking the original values with your questions used with _content['your_field'] at the end related with the _title['your_field'] by using the arrays.
    I've decided to give up trying to install this mod. A shame because I can see the value in it, but after 5 days I'm admitting defeat.

  3. #143
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Additional Customers Fields

    Well, if you ever decide to keep it, you can always send me an installation note by email (see the installation text file) so that I could implement the first field for you for a small fee.

  4. #144
    Join Date
    May 2005
    Posts
    25
    Plugin Contributions
    0

    Default Re: Additional Customers Fields

    Hi Oracle,

    Fantastic Mod. I'm having issues with pull down Menu's. The age sample is not working correctly, it displays an empty textbox instead of a pulldown with the age list.

    Could you verify the php command in includes/templates/my_template/templates/tpl_account_edit_default.php to be

    PHP Code:
    <?php echo zen_draw_input_field('customers_age'$account->fields['customers_age'], 'id="customers_age"'); ?>
    For drop down menu's, I am not a PHP programmer but I have a hunch that the command is not correct. Should we be using zen_draw_pull_down instead?

    Bjorn

  5. #145
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Additional Customers Fields

    It wasn't a coding error actually. My personal example was simply stated under input type for the customers age field. However, if you wish to reform that entry into a dropdown selection form, you can use the built-in function from the DEV team called: zen_draw_pull_down_menu function. There's a good example you can use from your overrided tpl_modules_create_account.php file you can use.

  6. #146
    Join Date
    May 2005
    Posts
    25
    Plugin Contributions
    0

    Default Re: Additional Customers Fields

    Thanks Oracle. Perhaps you could help me with the pull down function?

    Sample provided;

    PHP Code:
    zen_draw_pull_down_menu('zone_id'zen_prepare_country_zones_pull_down($selected_country), $zone_id'id="stateZone"'); 
    Altered;
    PHP Code:
    zen_draw_pull_down_menu('customers_age'$account->array['customers_age'], 'id="customers_age"'); 
    Dropdown shows XX, I know the altered drop down is incorrect. Any ideas?

    Bjorn

  7. #147
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Additional Customers Fields

    $account->array['customers_age']
    Array ?

    As stated from my template example, both shows as:

    PHP Code:
    $account->fields['customers_age'

  8. #148
    Join Date
    May 2005
    Posts
    25
    Plugin Contributions
    0

    Default Re: Additional Customers Fields

    Not sure what you mean. Template example is as follows;

    PHP Code:
    <?php echo zen_draw_input_field('customers_age'''zen_set_field_length(TABLE_CUSTOMERS'entry_customers_age''40') . ' id="customers_age"'); ?>
    I'm obviously not understanding something here?

    Why would the customers_age example be a textfield if we're using a dropdown function in the admin? This is just confusing? Was the age sample not meant to be a dropdown but rather a textfield?

  9. #149
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Additional Customers Fields

    Sorry. I do not give support for template customization. This problem is not related to the MOD specifically. You're simply trying to switch from an input type into a SELECT list. Please see the wiki documentation, FAQs, PDF Documentation for more info on how to customize these forms within your template files.

    Was the age sample not meant to be a dropdown but rather a textfield?
    Incorrect. They were meant to be one of them (your choice between those two - which is why arrays were built in the first place).

    Thanks.

  10. #150
    Join Date
    May 2005
    Posts
    25
    Plugin Contributions
    0

    Default Re: Additional Customers Fields

    Odd. I'm not looking for custom template support but rather how to get the drop down working for the sample. The customer_age sample on my create account screen does not show a drop down but a textfield for input.

    Everything else works except the dropdown.

    Bjorn

 

 
Page 15 of 50 FirstFirst ... 5131415161725 ... LastLast

Similar Threads

  1. Additional Customers Fields
    By mizio78 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 12 Aug 2011, 09:27 AM
  2. Additional Customers Fields Addon SQL problem
    By Dasha in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 12 Sep 2008, 05:41 PM
  3. Additional customers fields v2-55 Question
    By balonglong78 in forum General Questions
    Replies: 0
    Last Post: 26 May 2008, 04:04 AM
  4. Need help installing "additional customers fields" module
    By CKlemow in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Sep 2007, 03:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg