osCmax v2.5 User Manual
Results 1 to 1 of 1

tep_draw_input_field -Location? customize? where?

This is a discussion on tep_draw_input_field -Location? customize? where? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Just downloaded the "login anywhere on the page" script and it looks like this: PHP Code: <!--     -------------------------------------------------------------------- Login Anywhere 1.0 by Skeedo.com Enterprises info@skeedo.com Released under GNU General Public License for use with OSCommerce ...

      
  1. #1
    Member
    Join Date
    Mar 2007
    Posts
    31
    Rep Power
    0


    Default tep_draw_input_field -Location? customize? where?

    Just downloaded the "login anywhere on the page" script and it looks like this:
    PHP Code:
    <!--    
    --------------------------------------------------------------------
    Login Anywhere 1.0 by Skeedo.com Enterprises info@skeedo.com
    Released under GNU General Public License for use with OSCommerce
    --------------------------------------------------------------------
    -->
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>

    <BODY>
    <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2" class="infoBoxContents">
                      <tr>
                        <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif''100%''10'); ?></td>
                      </tr>
                      <tr>
                        <td class="main" colspan="2"><?php echo TEXT_RETURNING_CUSTOMER?></td>
                      </tr>
                      <tr>
                        <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif''100%''10'); ?></td>
                      </tr>
                      <tr>
                        <td class="main"><b><?php echo ENTRY_EMAIL_ADDRESS?></b></td>
                        <td class="main"><?php echo tep_draw_input_field('email_address'); ?></td>
                      </tr>
                      <tr>
                        <td class="main"><b><?php echo ENTRY_PASSWORD?></b></td>
                        <td class="main"><?php echo tep_draw_password_field('password'); ?></td>
                      </tr>
                      <tr>
                        <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif''100%''10'); ?></td>
                      </tr>
                      <tr>
                        <td class="smallText" colspan="2"><?php echo '<a href="' tep_href_link(FILENAME_PASSWORD_FORGOTTEN'''SSL') . '">' TEXT_PASSWORD_FORGOTTEN '</a>'?></td>
                      </tr>
                      <tr>
                      <td>
                      <?php echo tep_image_submit('button_login.gif'IMAGE_BUTTON_LOGIN); ?>
                      </td>
                      </tr>
    </table>
    </BODY>
    </HTML>
    now the variables for the two inputfields.. where are the code for them?
    I have two inputfields with css markups.. and I wonder how to transfer this:
    Code:
    <input class="login_form" onFocus="this.className='login_formON'" onBlur="this.className='login_form'" type="text" name="e-mail_login" size="22">
    ..into this tag:
    PHP Code:
    <?php echo tep_draw_input_field('email_address'); ?>
    ..and then some:

    "HOW TO INSTALL

    1. Upload loginbox.php to your /catalog directory.

    2. Insert <?php include('loginbox.php'); ?> anywhere you desire
    (replacing the <?php echo tep_customer_greeting(); ?> in default.php is a good place).

    3. Thats it!"

    1. what catalog directory? (templates/fallback?)
    2. default.php.. where's that? ._o ..can't I put it in main_page.tpl.php?
    Last edited by Luggruff; 04-05-2007 at 05:21 AM.

Similar Threads

  1. wget location?
    By allwebnow in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 11-07-2006, 07:56 AM
  2. Location gone screwy
    By learoypc in forum osCMax v1.7 Installation
    Replies: 0
    Last Post: 09-06-2006, 08:57 PM
  3. Customize Center Section on Main Page
    By keithxtreme in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 03-28-2004, 08:29 PM
  4. Customize Center Section on Main Page
    By keithxtreme in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 03-28-2004, 02:33 PM
  5. How to customize the new products center block?
    By alexfize in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 11-30-2003, 12:11 PM

Bookmarks

Posting Permissions

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