This is a discussion on Using a table backround image within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello I have my store mostly working correctly in secure and non-secure mode. My problem is Im using a backround ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello I have my store mostly working correctly in secure and non-secure mode. My problem is Im using a backround image in one of the tables on my mainpage.tpl. When you switch to secure mode, Non secure warning comes up and my backround image is missing making the cart content not visible. on mainpage.tpl? where I placed the image? Or is this a config setting? All other "standard" images are fine even the flash banner I added in the header shows in SSL just not my table backround I dont have ssl enabled right now because of this error but here is the site: http://awesomegiftstogo.com/giftcatalog msaek : thanks again for this excellent work |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| Use below info when you link or getting your images from mainpage.tpl <a href="<?php echo tep_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?></a> <img src="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>images/your_image.gif" width="25" height="20"> good luck |
|
#3
| |||
| |||
| ok on the above problem In dremweaver I added another table to the mainpag.tpl and set a backround img. for it. (to achieve the look the client wanted) So.....In ssl mode I get the non secure items warning. Can i set up a class for that table in stylesheet.css define the image and cure my ssl woes? This is the only img Im using outside osc standard. other than a header img (which is flash swf embeded with the https: link) correct???? that @!&# ssl lock is eluding me Does this sound like it will fly?? ... anyone? wlcmbeck: thanks for that info Ill try that first |
|
#4
| ||||
| ||||
| Just use a relative link to the image and you will avoid this problem. Intstead of putting a full url in the img src tag or in the stylesheet, just use a relative path. example: dont use : http://mysite.com/images/image.jpg use : images/image.jpg
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| Ive tried a couple of different ways, but still got the warning in SSL So I guess I need to find out which items are secure and which are not. Is there a way to find out which items are non-secure? So Im not chasing the wrong image Thanks |
|
#6
| |||
| |||
| after trying all of the "fixes" for SSL in the forums testing and then put it back to orig ive found that the cart will not even carry contents over to ssl with yes or no on the secure items warning. I dont quite understand what happened I have a plain - jane osCommerce store on the same shared server and have no problems BTW this works fine on the plain shop, contents carry over and orders complete in SSL mode no probs my host had me change this Code: if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF']; plain shop (my first osc shop). If this helps anyone Now this shop I tried to add a few foo-fooey backround pics and Blam it blew up on me. unfortunately its a live store that I was rushed to put up and Im trying my best to get the @#$%! Lock to show up Now it wont even remember your cart contents I might go with a plain style cart in SSL mode (because I need a copy of the shop in the secure area)to stop all these shenanigans with secure and non secure items eg.. table backround Images |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Products image missing popup image | islander | osCMax v2 Installation issues | 7 | 08-10-2005 12:30 PM |
| table file | flexx | osCommerce 2.2 Modification Help | 1 | 05-19-2005 05:15 AM |
| Backround image wont fill page | acrylictribesmen | osCMax v1.7 Discussion | 4 | 07-06-2004 03:42 AM |
| .css cant seem to fix table | Gus | osCommerce 2.2 Modification Help | 3 | 11-21-2003 07:32 AM |
| Add new fields/table to product table | Anonymous | osCommerce 2.2 Modification Help | 0 | 10-21-2002 04:23 AM |