Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove infobox ?


Logik

Recommended Posts

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

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

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

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

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

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

Archived

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

×
×
  • Create New...