akosh Posted June 6, 2005 Share Posted June 6, 2005 How would you add text here: Link to comment Share on other sites More sharing options...
FalseDawn Posted June 6, 2005 Share Posted June 6, 2005 includes/boxes/shopping_cart.php find: if ($cart->count_contents() > 0) { $info_box_contents[] = array('text' => tep_draw_separator()); $info_box_contents[] = array('align' => 'right', 'text' => $currencies->format($cart->show_total())); } new infoBox($info_box_contents); Change to: if ($cart->count_contents() > 0) { $info_box_contents[] = array('text' => tep_draw_separator()); $info_box_contents[] = array('align' => 'right', 'text' => $currencies->format($cart->show_total())); } $info_box_contents[] = array('align' => 'YOURALIGN', 'text' => 'YOURTEXT'); new infoBox($info_box_contents); Link to comment Share on other sites More sharing options...
akosh Posted June 6, 2005 Author Share Posted June 6, 2005 Would it be possible to do this with a table? Link to comment Share on other sites More sharing options...
akosh Posted June 7, 2005 Author Share Posted June 7, 2005 Would it be possible to do this with a table? <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Guest Posted June 7, 2005 Share Posted June 7, 2005 Do you mean a database table or table structure of layout? Link to comment Share on other sites More sharing options...
akosh Posted June 7, 2005 Author Share Posted June 7, 2005 Do you mean a database table or table structure of layout? <{POST_SNAPBACK}> HTML table. Link to comment Share on other sites More sharing options...
akosh Posted June 7, 2005 Author Share Posted June 7, 2005 HTML table. <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Wendy James Posted June 7, 2005 Share Posted June 7, 2005 You can use a table You would just need to change 'text' => 'YOURTEXT'); to something like this 'text' => '<table><tr><td>YOURTEXT</td></tr></table>'); and you can do all your table or cell attributes as well Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
akosh Posted June 7, 2005 Author Share Posted June 7, 2005 You can use a table You would just need to change 'text' => 'YOURTEXT'); to something like this 'text' => '<table><tr><td>YOURTEXT</td></tr></table>'); and you can do all your table or cell attributes as well <{POST_SNAPBACK}> How would you get php code to work in the table? Link to comment Share on other sites More sharing options...
Wendy James Posted June 7, 2005 Share Posted June 7, 2005 Depends on what you are trying to do. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
FalseDawn Posted June 7, 2005 Share Posted June 7, 2005 You would need to build the required HTML dynamically using PHP beforehand, store it in a string and then pass that as YOURTEXT Link to comment Share on other sites More sharing options...
akosh Posted June 7, 2005 Author Share Posted June 7, 2005 You would need to build the required HTML dynamically using PHP beforehand, store it in a string and then pass that as YOURTEXT <{POST_SNAPBACK}> Could you elaborate a little? Link to comment Share on other sites More sharing options...
akosh Posted June 8, 2005 Author Share Posted June 8, 2005 Could you elaborate a little? <{POST_SNAPBACK}> How and where would I define 'YOURTEXT'? Link to comment Share on other sites More sharing options...
Wendy James Posted June 8, 2005 Share Posted June 8, 2005 It all depends on what you are trying to do, as I stated above. Why not tell us what you want to add to the box? I am sure someone could better help you then. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
akosh Posted June 8, 2005 Author Share Posted June 8, 2005 It all depends on what you are trying to do, as I stated above. Why not tell us what you want to add to the box? I am sure someone could better help you then. <{POST_SNAPBACK}> I'm still trying to do this: http://www.oscommerce.com/forums/index.php?showtopic=153999&hl= Link to comment Share on other sites More sharing options...
Wendy James Posted June 8, 2005 Share Posted June 8, 2005 Did you try making the buttons smaller like they suggested? Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
akosh Posted June 8, 2005 Author Share Posted June 8, 2005 Did you try making the buttons smaller like they suggested? <{POST_SNAPBACK}> I just did, and it's still the same. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.