Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

long string in my box shift the admin section


hungryfrank

Recommended Posts

i have made a simple new box and it works with one annoying exception.

i have to put a very long string in one of the fields. this causes the page to shift.

is there a way around this

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Link to comment
Share on other sites

ok i solved this issue.

here is what i did.

i created a function in my box to display an image when there is data in the field with long string.

then i entered that function in the db as use function.

now when the string is entered the image shows. no longer the ugly shift :lol:

you can cut up to 4 pages of your checkout by using my three add_ons

login create account in one page

Express checkout  

login pop up modal

Link to comment
Share on other sites

@@hungryfrank,

 

you could use this function in "use function" to shorten the displayed string:

  function shorten_string($text) {
    return substr ($text, 0, 10);
  }

rgds

Rainer

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...