Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    19
    Plugin Contributions
    0

    Default Box layout error

    Hello guys

    I have a problem.
    All boxes on my site are display correctly except the MANUFACTURER.
    As you can see here http://www.formosa-it.ch/shop on the bottom right side, the box manufacturer (that is in green) it's look stretched in the top part and don't have his name "Manufacturer" but he take the name bestsellers.
    I tried to move it and everytime he take the name of the box that are just on top. If I make on the 1th he had no name but it's look stratched.

    Here the code of the php file of box:

    Code:
    <?php
    /**
     * Side Box Template
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_manufacturers_select.php 2982 2006-02-07 07:56:41Z birdbrain $
     */
    
    
      $content_tm = zen_draw_form('manufacturers', zen_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get');
      $content_tm .= '<div class="dt col3_cell1 m1_dr" >
    								<div class="dr">
    									<div class="dc m1_t" >
    										<div class="dt m1_b" >
    											<div class="dr">
    												<div class="dc" ><div class="m1_pad">
    													<span class="m1_h_text">'.BOX_HEADING_MANUFACTURERS.':</span><br>'.zen_image(DIR_WS_TEMPLATE.'images/spacer.gif', '', '1px', '12px').'<br>
    													';
    	$content_tm .= zen_draw_pull_down_menu('manufacturers_id', $manufacturer_sidebox_array, (isset($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : ''), 'onchange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" class="sel1"') . zen_hide_session_id();
      $content_tm .= zen_draw_hidden_field('main_page', FILENAME_DEFAULT) . '
    												</div></div>
    											</div>
    										</div>
    									</div>
    								</div>
    							</div></form>';
    							
     //$content_head = tm_box_head(BOX_HEADING_MANUFACTURERS);
     $content_cont = tm_box_cont($content_tm,'style2');
     
     $content = $content_head.$content_cont;
    
    ?>
    Somebody have an idea where is the error?

    Thankssss

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Box layout error

    You are using a Template from TemplateMonster. Many find that their Templates have problems and to correct them, someone must make changes in the coding. If not sure how do that yourself you can make a post in the Commercial Section of the Forum for help. Unfortunately, since usually more than one file is involved, I doubt you can get a much help in the Forum. Unless someone comes along who has fixed this type of problem before but I wouldn't wait for that.

 

 

Similar Threads

  1. layout of switch box
    By Jerry5763837 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Dec 2008, 08:38 AM
  2. Layout box...Information
    By thelatinbarbie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Apr 2008, 03:43 AM
  3. Layout box customization..
    By nekosgrace in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Oct 2006, 01:43 PM

Posting Permissions

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