Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 45
  1. #31
    Join Date
    Apr 2008
    Location
    San Francisco
    Posts
    33
    Plugin Contributions
    0

    Default Re: Realigning Attribute IMAGES



    http://rachelfinley.com/zencart_2/in...ndex&cPath=1_7
    To the left of FEATURED there's a lone > chillin like it's the thing to do. How do I make it go to the naughty corner?

  2. #32
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Realigning Attribute IMAGES

    Line 40, blank space Add this: <div class="wrapperAttribNames"> Line 43: <br class="clearBoth" /></div> , Just the div on the end

  3. #33
    Join Date
    Apr 2008
    Location
    San Francisco
    Posts
    33
    Plugin Contributions
    0

    Default Re: Realigning Attribute IMAGES

    Added both.

  4. #34
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Realigning Attribute IMAGES

    R,
    You are going to love this I hope..

    Add the declaration to the .css

    .wrapperAttribNames {
    height: 27px;
    float: left;
    }

    1. What we had to do is create a seperate ID or class, so in the stylesheet we can control this puppy...
    2. What are you asking about the post above with the link...

  5. #35
    Join Date
    Apr 2008
    Location
    San Francisco
    Posts
    33
    Plugin Contributions
    0

    Default Re: Realigning Attribute IMAGES



    I don't like it, I LOVE it. H, you're the bestest.

  6. #36
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Realigning Attribute IMAGES

    I thought you would, I love it too

    What is the problem on that one page.

    I got an idea with the Cart add box.. you will see

  7. #37
    Join Date
    Apr 2008
    Location
    San Francisco
    Posts
    33
    Plugin Contributions
    0

    Default Re: Realigning Attribute IMAGES

    I attached a screencap of the one page. I think it's pretty obviously highlighted.

    I can't wait to see what you're coming up with!
    Attached Images Attached Images  

  8. #38
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Realigning Attribute IMAGES

    Quote Originally Posted by rfaau View Post


    http://rachelfinley.com/zencart_2/in...ndex&cPath=1_7
    To the left of FEATURED there's a lone > chillin like it's the thing to do. How do I make it go to the naughty corner?
    Again I believe you have edited a core file when building and messes with this file...

    Developers Tool Kit

    admin panel/ tools/ developers tool kit/
    1. In the bottom box (left hand corner) enter in the Search wording. productsListingListingTopLinks
    2. Click the drop down menu under all files and chose the top option (catalog/admin)
    3. Click search, and WALA, you will find the files associated with the search.

    I bet there is an extra > here in this file.

    Look in override folder first...

    includes/templates/template_default/templates/tpl_modules_product_listing.php

    Line #26 : <div id="productsListingListingTopLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y', 'main_page'))); ?></div>


    Or just post back with the .php coding to this page. So I can give her an eye.

  9. #39
    Join Date
    Apr 2008
    Location
    San Francisco
    Posts
    33
    Plugin Contributions
    0

    Default Re: Realigning Attribute IMAGES

    I don't see anything abnormal, but my PHP knowledge is just about non-existent.

    PHP Code:
    <?php
    /**
     * Module 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_modules_product_listing.php 3241 2006-03-22 04:27:27Z ajeh $
     * UPDATED TO WORK WITH COLUMNAR PRODUCT LISTING 04/04/2006
     */
     
    include(DIR_WS_MODULES zen_get_module_directory(FILENAME_PRODUCT_LISTING));
    ?>
    <div id="productListing">
    <?php
    // only show when there is something to submit and enabled
        
    if ($show_top_submit_button == true) {
    ?>
    <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_ADD_PRODUCTS_TO_CARTBUTTON_ADD_PRODUCTS_TO_CART_ALT'id="submit1" name="submit1"'); ?></div>

    <?php
        
    // show top submit
    ?>

    <?php if ( ($listing_split->number_of_rows 0) && ( (PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3') ) ) {
    ?>
    <div id="productsListingTopNumber" class="navSplitPagesResult back"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></div>
    <div id="productsListingListingTopLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE ' ' $listing_split->display_links(MAX_DISPLAY_PAGE_LINKSzen_get_all_get_params(array('page''info''x''y''main_page'))); ?></div>
    >
    <?php
    }
    ?>

    <?php
    /**
     * load the list_box_content template to display the products
     */
    if (PRODUCT_LISTING_LAYOUT_STYLE == 'columns') {
      require(
    $template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE$current_page_base,'common'). '/tpl_columnar_display.php');
    } else {
    // (PRODUCT_LISTING_LAYOUT_STYLE == 'rows')
      
    require($template->get_template_dir('tpl_tabular_display.php',DIR_WS_TEMPLATE$current_page_base,'common'). '/tpl_tabular_display.php');
    }
    ?>

    <?php if ( ($listing_split->number_of_rows 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')) ) {
    ?>
    <div id="productsListingBottomNumber" class="navSplitPagesResult back"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></div>
    <div  id="productsListingListingBottomLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE ' ' $listing_split->display_links(MAX_DISPLAY_PAGE_LINKSzen_get_all_get_params(array('page''info''x''y'))); ?></div>
    <br class="clearBoth" />
    <?php
      
    }
    ?>

    <?php
    // only show when there is something to submit and enabled
        
    if ($show_bottom_submit_button == true) {
    ?>
    <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_ADD_PRODUCTS_TO_CARTBUTTON_ADD_PRODUCTS_TO_CART_ALT'id="submit2" name="submit1"'); ?></div>
    <br class="clearBoth" />
    <?php
        
    // show_bottom_submit_button
    ?>
    </div>

    <?php
    // if ($show_top_submit_button == true or $show_bottom_submit_button == true or (PRODUCT_LISTING_MULTIPLE_ADD_TO_CART != 0 and $show_submit == true and $listing_split->number_of_rows > 0)) {
      
    if ($show_top_submit_button == true or $show_bottom_submit_button == true) {
    ?>
    </form>
    <?php ?>

  10. #40
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Realigning Attribute IMAGES

    No Problem you are learning fast..

    here is the fix:

    Please place in the override folder..

    The core file shows this element after the </div
    1. <br class="clearBoth" />
    2. when you deleted her
    3. You forgot the little
    4. DREADED
    5. >
    Find this:
    PHP Code:
    <div id="productsListingTopNumber" class="navSplitPagesResult back"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></div> 
    <div id="productsListingListingTopLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE ' ' $listing_split->display_links(MAX_DISPLAY_PAGE_LINKSzen_get_all_get_params(array('page''info''x''y''main_page'))); ?></div> 

    <?php 

    ?>
    Change to this:
    PHP Code:
    <div id="productsListingTopNumber" class="navSplitPagesResult back"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></div> 
    <div id="productsListingListingTopLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE ' ' $listing_split->display_links(MAX_DISPLAY_PAGE_LINKSzen_get_all_get_params(array('page''info''x''y''main_page'))); ?></div> 
    <?php 

    ?>
    Now did we kick some Major A-- tonight...

    Nice site by the way.
    1. clean
    2. nice color contrast
    3. If you ever need any other help just pm me and start a thread..

 

 
Page 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. v150 Attribute Images & Additional Images Replace Main Image Onclick w/ Zoom
    By rbarbour in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 1 Mar 2013, 10:46 PM
  2. v150 Attribute images not in-line with attribute selection
    By JacobBushnell in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Aug 2012, 11:51 PM
  3. Popup for both product images and attribute images
    By Fubarsmithuk in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Jan 2011, 03:15 PM
  4. Attribute images and/or attribute pricing
    By tryphon in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 6 Apr 2009, 09:38 PM
  5. Switching Attribute Images as Attribute Changes
    By standnbang in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 4 Feb 2009, 11:48 AM

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