Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    red flag Image Handle 2.0 for 1.3.7 Layout Probles of the table

    Hi all,

    After install, it look like working, but the layout is not what I want, since it is using table to control the images...

    Let see the web site here...
    http://www.rctoplist.com/testegro/in...products_id=26

    The products Description below have the Image Handle Image show up like that,

    ImageA ImageB ImageC
    ImageD ImageE ImageF

    but I don't want the layout like that, I want to the Layout like

    ImageA
    ImageB
    ImageC
    ....

    I know like above is since the
    table
    tr
    td
    td
    td
    tr
    table


    Just want to change it to be like that
    table
    tr
    td
    tr
    tr
    td
    tr
    tr
    td
    tr
    table

    then can show what the Image Layout I want

    Which files control this part table code?

    Thank you.

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Image Handle 2.0 for 1.3.7 Layout Probles of the table

    IH2 has nothing to do with the table thing you talk about. The code is located in the template file for additional_images
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: Image Handle 2.0 for 1.3.7 Layout Probles of the table

    But I don't see anything the <tr> and <TD> tag on addition image of the template ...

    Any other inform?

    Thank you.

  4. #4
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: Image Handle 2.0 for 1.3.7 Layout Probles of the table

    Hi all,

    I had read the /includes/modules/additional_images.php careful, find this

    PHP Code:
        // List Box array generation:
        
    $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' ' ' 'style="width:' 100 '%;"',
        
    'text' => "\n      " $link);
        
    $col ++;
        if (
    $col > (IMAGES_AUTO_ADDED -1)) {
          
    $col 0;
          
    $row ++;
        }
      } 
    // end for loop
    // endif 
    But no the <table> <tr> <td> tag etc here.....

    On my web site test, it is very special for IE, on FireFox, it is the result what I want .. but on IE it will be like that wrong, you can try using IE6/7 and Firefox to see what is the different that you will know what I want ...

    http://www.rctoplist.com/testegrm/in...roducts_id=368


  5. #5
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: Image Handle 2.0 for 1.3.7 Layout Probles of the table

    And ..

    /includes/templates/template_default/templates/tpl_modules_addition_images.php

    inside this file have a require of

    /common/tpl_columnar_display.php on my templates ...

    Then I open it, finded below coding ...

    PHP Code:
    ?>
    <?php
      
    if ($title) {
      
    ?>
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td height="14" class="infoBoxHeadingLcorner"> </td>
        <td height="14" class="infoBoxHeading"><?php echo $title?></td>
        <td height="14" class="infoBoxHeadingRcorner"> </td>
      </tr>
    </table>
    <?php
     
    }
     
    ?>
    <table border="0" width="100%" cellspacing="0" cellpadding="0" class="newProductsBox">
      <tr>
        <td>
        <table border="0" width="100%" cellspacing="0" cellpadding="4" class="productsBoxContents">
    <?php
    if (is_array($list_box_contents) > ) {
     for(
    $row=0;$row<sizeof($list_box_contents);$row++) {
    ?>
        <tr>
    <?php
        
    for($col=0;$col<sizeof($list_box_contents[$row]);$col++) {
          
    $r_params "";
          if (isset(
    $list_box_contents[$row][$col]['params'])) $r_params .= ' ' . (string)$list_box_contents[$row][$col]['params'];
         if (isset(
    $list_box_contents[$row][$col]['text'])) {
    ?>
        <td <?php echo $r_params?>
        <?php echo $list_box_contents[$row][$col]['text']; ?>
            </td>
    <?php
          
    }
        }
    ?>
        </tr>   
    <?php
      
    }
    ?>
    <?php
    }
    ?> 
            </td>
        </tr>
        </table>
        <td>
      </tr>
    </table>

  6. #6
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Image Handle 2.0 for 1.3.7 Layout Probles of the table

    Happy now? Please note files in modules/ have nothing to do with templates. If you want to change the layout, you should check the template files (most of the time)
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 

Similar Threads

  1. adding a table layout for my product description is it possible?
    By rickiesdiscount in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 9 May 2009, 06:25 PM
  2. table layout for products
    By inkuyo in forum Customization from the Admin
    Replies: 1
    Last Post: 4 Nov 2007, 08:29 AM
  3. table rate, how to handle international shipping
    By hipgirl in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 11 Sep 2007, 12:28 AM
  4. Table layout for a selection of items?
    By Peace Freak in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 May 2007, 07:05 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR