osCmax v2.5 User Manual
Results 1 to 3 of 3

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 ...

      
  1. #1
    Lurker
    Join Date
    Apr 2003
    Posts
    3
    Rep Power
    0


    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 //-->

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

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


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    Apr 2003
    Posts
    3
    Rep Power
    0


    Default


    Thank you so much I knew it was some simple thing..but I just couldn't see it..
    Naomi

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •