Logik Posted December 30, 2003 Share Posted December 30, 2003 Hi, I want to modify my shop but I don't want infoboxes. I just want plain text link in a table I made... Is there a way without changing the code of each damm box to do this or do I need to change all the phph source code & put "echo" & remove the infobox.... Link to comment Share on other sites More sharing options...
digi Posted December 30, 2003 Share Posted December 30, 2003 no, you can do this by modifying one page, goto wiki.oscommerce.com and it will tell you everything you would want to know how to config this "damm" shop *Outlined in chalk everone looks the same* Currently useing OSC 2.2 MS1 running on Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_jk/1.2.0 mod_perl/1.26 PHP/4.3.3 FrontPage/5.0.2 mod_ssl/2.8.12 OpenSSL/0.9.6b Link to comment Share on other sites More sharing options...
Logik Posted December 30, 2003 Author Share Posted December 30, 2003 about a link... that website is a maze... I just want to remove borders around $infobox so I have plain text or link Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2003 Share Posted December 30, 2003 Look at the stylesheet info in Wiki :blink: You will also probably wish to make the heading images transparent :P Matti Link to comment Share on other sites More sharing options...
Logik Posted December 30, 2003 Author Share Posted December 30, 2003 ya but that is still a box.... me don't like box.... example $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); to <tr><td><a href="<?php echo tep_href_link(FILENAME_SHIPPING); ?>"><?php echo BOX_INFORMATION_SHIPPING; ?></a><br> <a href="<?php echo tep_href_link(FILENAME_PRIVACY); ?>"><?php echo BOX_INFORMATION_PRIVACY; ?></a><br> <a href="<?php echo tep_href_link(FILENAME_CONDITIONS); ?>"><?php echo BOX_INFORMATION_CONDITIONS; ?></a><br> <a href="<?php echo tep_href_link(FILENAME_CONTACT_US); ?>"><?php echo BOX_INFORMATION_CONTACT; ?></a> </td></tr> Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2003 Share Posted December 30, 2003 The box is only a html table (if you remove corner gifs) - you need tables to control the layout of your store - it can be made completely invisible so all you see is your links.... unless you wish them spread all over your page? :P Matti Link to comment Share on other sites More sharing options...
Logik Posted December 30, 2003 Author Share Posted December 30, 2003 look I want this layout but included in oscommerce... I used STS so it looks like www.parafinart.com but now the box are ugle thats why I wanted to chop the INFOBOX & put echo Link to comment Share on other sites More sharing options...
Noobish-n-stuff Posted December 30, 2003 Share Posted December 30, 2003 i aggree with matti, just use your stylesheet. what's your reasoning for wanting to use "echo" anyway? if you want to do that, why don't you just hardcode your column? that kinda defeats the purpose though, you alredy have that info there, you just need to change how it looks. Link to comment Share on other sites More sharing options...
Logik Posted December 30, 2003 Author Share Posted December 30, 2003 even if I put css & put transperant corners there will be spacing between each box... I want a menu with text link all together I don't want little serate sections... anyway thx for helping I'l just recode evry damm box ;) Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2003 Share Posted December 30, 2003 Just set all cellpadding and cellspacing to "0" - this is easily done with a decent text editor. Matti Link to comment Share on other sites More sharing options...
paulm2003 Posted December 30, 2003 Share Posted December 30, 2003 Hi Logik, It looks like you are ready for the BTS contribution http://www.oscommerce.com/community/contributions,1263 Link to comment Share on other sites More sharing options...
Logik Posted December 31, 2003 Author Share Posted December 31, 2003 THX ! exactly what I needed! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.