hungryfrank Posted December 7, 2016 Share Posted December 7, 2016 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 More sharing options...
hungryfrank Posted December 7, 2016 Author Share Posted December 7, 2016 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 More sharing options...
♥raiwa Posted December 7, 2016 Share Posted December 7, 2016 @@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 About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
hungryfrank Posted December 7, 2016 Author Share Posted December 7, 2016 thanks Rainer 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.