Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

LoginBox 5.2.1 - updating infobox.php with images?


Druss

Recommended Posts

I downloaded and installed this contribution....

 

http://www.oscommerce.com/community/contri...,Login+box+5.21

 

Functionally it works great, display wise it places the text SECURE_LOGIN, ACCOUNT_INFO, etc under the login and I wanted those to be replaced with buttons I created, fiddling with the code I was able to get the buttons to display properly but now they aren't clickable, though if I right click and do Open in New Window it opens properly. You can see the box here on the left

 

www.reiltoys.com/catalog

 

I'm sure its something in the coding but I'm not enough of a programmer to figure out what I'm missing, heres the code snippets I'm using

 

<A HREF=\"" . tep_href_link(FILENAME_LOGIN, '', 'SSL') . "\">" . tep_image_submit('button_secure_login.gif', IMAGE_BUTTON_SECURE_LOGIN) . "</A><BR>

 

            " . tep_draw_separator('pixel_trans.gif', '9', '4') . "<BR><A HREF=\"" . tep_href_link(FILENAME_CREATE_ACCOUNT, '','SSL') . "\">" . tep_image_submit('button_create_account.gif', IMAGE_BUTTON_CREATE_ACCOUNT) . "</A><BR>

 

            " . tep_draw_separator('pixel_trans.gif', '9', '4') . "<BR><A HREF=\"" . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . "\">" . tep_image_submit('button_forget_password.gif', IMAGE_BUTTON_FORGET_PASSWORD) . "</A>

          </center>

              ";

 

I placed the images in the includes\languages\english\images\buttons directory and created the handles(IMAGE_BUTTON_SECURE_LOGIN, etc) in the english.php file, the images load ok but won't click.

 

Did I miss something obvious in there?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...