Results 1 to 10 of 12

Threaded View

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

    Default Re: [Bug] - zen_set_field_length module.


    Thus, the use of the zen_set_field_length() function would usually not be encouraged for form fields related to TEXT database fields.
    Strange. From includes/templates/template_default/tpl_account_edit_default.php file, I found this result (originally from the downloaded package - unmodified):

    PHP Code:
    <?php echo zen_draw_input_field('customers_referral'''zen_set_field_length(TABLE_CUSTOMERS'customers_referral'15), 'id="customers-referral"'); ?>
    The zen_set_field_length is actually used with the zen_draw_input_field function. I have received a PM regarding this page, also, particularly (which has this reported problem). If I understand correctly, these two functions should not be related together ? If not, what would be the proper replacement ?

    Then, from admin/includes/modules/document_product/collect_info_metatags.php file, I found this result:

    PHP Code:
    <?php echo zen_draw_input_field('metatags_title[' $languages[$i]['id'] . ']', (isset($metatags_title[$languages[$i]['id']]) ? stripslashes($metatags_title[$languages[$i]['id']]) : zen_get_metatags_title($pInfo->products_id$languages[$i]['id'])), zen_set_field_length(TABLE_META_TAGS_PRODUCTS_DESCRIPTION'metatags_title''150'false)); //,'id="'.'metatags_title' . $languages[$i]['id'] . '"');?>
    From includes/templates/template_default/tpl_password_forgotten_default.php file, I found this result:

    PHP Code:
    <?php echo zen_draw_input_field('email_address'''zen_set_field_length(TABLE_CUSTOMERS'customers_email_address''40') . ' id="email-address"') . '&nbsp;' . (zen_not_null(ENTRY_EMAIL_ADDRESS_TEXT) ? '<span class="alert">' ENTRY_EMAIL_ADDRESS_TEXT '</span>'''); ?>
    Would these, also, require modifications ?
    Last edited by TheOracle; 10 Jul 2006 at 04:39 PM.

 

 

Similar Threads

  1. How does it work?
    By Bridy in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 19 Jan 2008, 05:13 AM
  2. How does it work
    By melkor in forum General Questions
    Replies: 3
    Last Post: 4 Nov 2007, 07:18 PM
  3. zen_mail - How does it work?
    By cmessa in forum General Questions
    Replies: 6
    Last Post: 25 Apr 2007, 03:25 AM
  4. How does Referral work?
    By dealbyethan.com in forum General Questions
    Replies: 0
    Last Post: 11 Apr 2007, 02:56 AM
  5. how does egold work?
    By tekram in forum Addon Payment Modules
    Replies: 0
    Last Post: 28 May 2006, 07:19 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