osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Help on boxes

This is a discussion on Help on boxes within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I added a new side box and all went will -follow the oscdox guide and not problem until I wanted ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-20-2003, 10:05 PM
Lurker
 
Join Date: Apr 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
noppie
Default Help on boxes

I added a new side box and all went will -follow the oscdox guide and not problem until I wanted to add another page
and I get
Code:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/httpd/vhosts/nwcanopies.com/httpdocs/catalog/includes/boxes/canopy_info.php on line 26
here is my canopy_info.php --Line in blue it the one I added..
I cut and pasted and just changed the word tarp.
IF I take this line out it works fine.. I don't understand why I can't add a new line

I have all the correct files loaded.. I went over all of them from the tutorial that i mention above.
any and all help will be nice. also I use the information box to create this box.
Naomi


<!-- canopy_info //-->
<tr>
<td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => BOX_HEADING_CANOPY_INFO);

new infoBoxHeading($info_box_contents, false, false);

$info_box_contents = array();
$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT_OURS) . '">' . BOX_CANOPY_INFO_ABOUT_OURS . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_ACCESSORIES) . '">' . BOX_CANOPY_INFO_ACCESSORIES . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_TARPS) . '">' . BOX_CANOPY_INFO_TARPS . '</a><br>'
'<a href="' . tep_href_link(FILENAME_CUSTOM_CANOPIES) . '">' . BOX_CANOPY_INFO_CUSTOM_CANOPIES . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_ESTIMATES) . '">' . BOX_CANOPY_INFO_ESTIMATES . '</a>');

new infoBox($info_box_contents);
?>
</td>
</tr>
<!-- canopy_info_eof //-->
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 07-21-2003, 08:58 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,990
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

you are missing a period at the end of the line you added. That will fix it.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 07-21-2003, 09:15 PM
Lurker
 
Join Date: Apr 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
noppie
Default


Thank you so much I knew it was some simple thing..but I just couldn't see it..
Naomi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
change boxes background color now have double boxes ANNIE11 osCMax v1.7 General Mods Discussion 0 08-22-2005 08:16 PM
How do you add boxes in this version? lem osCMax v2 Customization/Mods 0 07-15-2005 12:45 PM
I need to put two <br>s after the boxes on the right - sasjamal osCMax v1.7 Discussion 2 04-27-2004 02:40 PM
boxes and CSS moisea osCommerce 2.2 Modification Help 6 01-08-2004 06:59 AM
Need Help With Boxes David717 osCommerce 2.2 Modification Help 1 04-05-2003 09:00 AM


All times are GMT -8. The time now is 05:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax