Jump to content

OutOfStep

Members
  • Content count

    7
  • Joined

  • Last visited

  1. OutOfStep

    Order confirmation email text

    an idea anybody?
  2. I have installed the the contribution "Order confirmation email text": http://www.oscommerce.com/community/contributions,3115 And installed the latest FCKEditon (2.6.4) Everything seems to be fine, the editor is displayed as it should, but whenever I hit "refresh" the changes are not being applied but gone. It seems like nothing is written into the database at all. Is there anybody who knows about this problem and can help me out? Thanks a lot!
  3. OutOfStep

    Country-State Selector

    thanks for you reply!
  4. OutOfStep

    Country-State Selector

    I have narrowed it down, it must have something to do with the drop down field itself if i replace echo tep_draw_pull_down_menu('zone_id', $zones_array); with echo tep_draw_pull_input_field('zone_id', $zones_array); the field is just as big as it should be. Is the size for the drop down field taken from elsewhere? Thanks!
  5. OutOfStep

    Country-State Selector

    Hi, I have a problem with the width of the states field. Changing the width does not have any effect on the size of the field. Can someone please tell me what is wrong with the following code? Thanks a lot! <tr> <td class="main" width="30%"><?php echo ENTRY_CITY; ?></td> <td class="main" width="70%"><?php echo tep_draw_input_field('city') . ' ' . (tep_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">' . ENTRY_CITY_TEXT . '</span>': ''); ?></td> </tr> <?php if (ACCOUNT_STATE == 'true') { ?> <tr> <td class="main" width="30%"><?php echo ENTRY_STATE; ?></td> <td class="main" width="70%"><?php // +Country-State Selector $zones_array = array(); $zones_array[] = array('id' => 0, 'text' => PULL_DOWN_DEFAULT); $zones_query = tep_db_query("select zone_id, zone_name from " . TABLE_ZONES . " where zone_country_id = " . (int)$country . " order by zone_name"); while ($zones_values = tep_db_fetch_array($zones_query)) { $zones_array[] = array('id' => $zones_values['zone_id'], 'text' => $zones_values['zone_name'] . ''); } if (count($zones_array) > 1) { echo tep_draw_pull_down_menu('zone_id', $zones_array); } else { echo tep_draw_input_field('state'); } // -Country-State Selector if (tep_not_null(ENTRY_STATE_TEXT)) echo ' <span class="inputRequirement">' . ENTRY_STATE_TEXT; ?> </td> </tr> <?php } ?>
×