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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 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 //--> |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| you are missing a period at the end of the line you added. That will fix it.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Thank you so much I knew it was some simple thing..but I just couldn't see it.. Naomi |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |