Page 2 of 10 FirstFirst 1234 ... LastLast
Results 11 to 20 of 93
  1. #11
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Bradford Pure Template Support Thread

    Quote Originally Posted by lhungil View Post
    The template performed well on a site with compression, expires, and ETags configured. Some minification and merging of the various CSS files would also give a small boost, but at the expense of readability.


    Probably from "includes/modules/product_listing.php". If it is you can provide "includes/modules/template_name/product_listing.php" with changes to generate 'style="width: 35%"' instead of 'width="35%"'. This would not require overwriting any core files and would make the template more W3C compliant (the width attribute on a 'td' has been depreciated since HTML 4.01 - and using this attribute generates a validation warning in XHTML).


    I just am not understanding what point an empty href attribute serves (note this generates a validation warning in XHTML). If you want it to call a number on mobile you can use <a href="tel:555555555">555-555-5555</a>. You can attach hover and javascript effects on just about any element (with some workarounds on old version of IE). If you need a wrapper element, you can always use a 'span'. If the link will attach to a script opening an online chat feature you could just have the link to call. Maybe you could educate me on why you have the phone number inside an 'a' attribute with an empty href?


    Makes sense to me. I believe this is what the Zen Cart code for creating html images does automatically. Not related to this template, but good to note: Adding width and height to the img will make sure the browser knows how much space the image will take up before it loads the image. This becomes very useful when dynamically positioning html snippets loaded by AJAX.

    EDIT: Looks like Anne answered the image question while I was typing :)
    The td's you are seeing are part of the column layout grid module ;-)

    Thanks,

    Anne

  2. #12
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Bradford Pure Template Support Thread

    Quote Originally Posted by picaflor-azul View Post
    The td's you are seeing are part of the column layout grid module ;-)
    Ahhh, thank you!
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  3. #13
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: Bradford Pure Template Support Thread

    When there is nothing in the cart, the link to "Checkout" still shows in the header portion of the page, resulting in a redirect to the time_out page if clicked. I think that there's a minor coding problem in /includes/templates/bradford_pure/common/tpl_header.php (around line 80) where this:
    Code:
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a> | </li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a> | </li>
        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | </li>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a> | </li>
    <?php } } ?>
    
    												
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CART ?>" alt="cart icon" class="cart-icon"  /><?php echo $_SESSION['cart']->count_contents();?> item(s) - <?php echo $currencies->format($_SESSION['cart']->show_total());?></a> | </li>
        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <?php }?>
    </ul>
    </div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->
    should be
    Code:
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a> | </li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a> | </li>
        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | </li>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a> | </li>
    <?php } } ?>
    
    												
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CART ?>" alt="cart icon" class="cart-icon"  /><?php echo $_SESSION['cart']->count_contents();?> item(s) - <?php echo $currencies->format($_SESSION['cart']->show_total());?></a> | </li>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php }?>
    </ul>
    </div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->
    P.S. This issue seems to appear in many of the recent releases of various Picaflor Azul templates.

  4. #14
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Bradford Pure Template Support Thread

    Quote Originally Posted by lat9 View Post
    When there is nothing in the cart, the link to "Checkout" still shows in the header portion of the page, resulting in a redirect to the time_out page if clicked. I think that there's a minor coding problem in /includes/templates/bradford_pure/common/tpl_header.php (around line 80) where this:
    Code:
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a> | </li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a> | </li>
        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | </li>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a> | </li>
    <?php } } ?>
    
    												
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CART ?>" alt="cart icon" class="cart-icon"  /><?php echo $_SESSION['cart']->count_contents();?> item(s) - <?php echo $currencies->format($_SESSION['cart']->show_total());?></a> | </li>
        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <?php }?>
    </ul>
    </div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->
    should be
    Code:
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a> | </li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a> | </li>
        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | </li>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a> | </li>
    <?php } } ?>
    
    												
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CART ?>" alt="cart icon" class="cart-icon"  /><?php echo $_SESSION['cart']->count_contents();?> item(s) - <?php echo $currencies->format($_SESSION['cart']->show_total());?></a> | </li>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php }?>
    </ul>
    </div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->
    P.S. This issue seems to appear in many of the recent releases of various Picaflor Azul templates.
    Thank you for posting this modification in case anyone wants to change this. I prefer to have the checkout link always visible in the header, so this is why the templates are coded as they are.

    Thanks,

    Anne

  5. #15
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: Bradford Pure Template Support Thread

    Quote Originally Posted by picaflor-azul View Post
    Thank you for posting this modification in case anyone wants to change this. I prefer to have the checkout link always visible in the header, so this is why the templates are coded as they are.
    OK, it just seems funny to knowingly have a link that could take your customer to the time_out page.

  6. #16
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Bradford Pure Template Support Thread

    Quote Originally Posted by lat9 View Post
    OK, it just seems funny to knowingly have a link that could take your customer to the time_out page.
    I think that it is a personal choice. I prefer to have the chekcout link visible at all times.

    Thanks,

    Anne

  7. #17
    Join Date
    Jan 2006
    Posts
    1,542
    Plugin Contributions
    0

    Default Re: Bradford Pure Template Support Thread

    I don't see this as a big issue. Why would anyone click checkout anyway if nothing is in the cart? I didn't even notice it.
    Steve
    prommart.com

  8. #18
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Bradford Pure Template Support Thread

    Quote Originally Posted by SPH View Post
    I don't see this as a big issue. Why would anyone click checkout anyway if nothing is in the cart? I didn't even notice it.
    I agree and this is why I am not updating the code with the change suggested. If people want to change the behaviour of the link then they can follow the instructions posted above.

    Thanks,

    Anne

  9. #19
    Join Date
    Nov 2012
    Posts
    4
    Plugin Contributions
    0

    Default Re: Bradford Pure Template Support Thread

    Hi Anne

    Firstly, thank you for a brilliant template.

    I have a couple of issues I wonder if you could help me with. I am using v1.5.1.

    First off, I cannot get the currency selector in the header to work. I click and it does nothing. I know currencies are working because if I enable the currency side box it allows me select from those. It also updates the currency selector in the top bar. I've ensured everything is turned on as per your readme file but still no joy. I noticed in the demo it doesn't seem to work either so not sure if this is a bug or you don't have extra currencies in that demo.

    Click image for larger version. 

Name:	Top.jpg 
Views:	58 
Size:	33.1 KB 
ID:	11484

    Second, I have adjusted the background color of the sideboxes to red with white writing (see image below). This unfortunately seems to knock the product description out underneath as the product description writing also turns white. No matter which css color code I change, I cannot get white writing in the box description with grey writing as the product description.

    This is the area of code in the stylesheet.css that I have tried amending without success....


    Click image for larger version. 

Name:	code.jpg 
Views:	51 
Size:	42.5 KB 
ID:	11486

    Click image for larger version. 

Name:	sideboxes.JPG 
Views:	57 
Size:	32.3 KB 
ID:	11485

    Any help with these problems would be gratefully received.

    Best wishes to you


    Steve

  10. #20
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Bradford Pure Template Support Thread

    Quote Originally Posted by fishersj View Post
    Hi Anne

    Firstly, thank you for a brilliant template.

    I have a couple of issues I wonder if you could help me with. I am using v1.5.1.

    First off, I cannot get the currency selector in the header to work. I click and it does nothing. I know currencies are working because if I enable the currency side box it allows me select from those. It also updates the currency selector in the top bar. I've ensured everything is turned on as per your readme file but still no joy. I noticed in the demo it doesn't seem to work either so not sure if this is a bug or you don't have extra currencies in that demo.

    Click image for larger version. 

Name:	Top.jpg 
Views:	58 
Size:	33.1 KB 
ID:	11484

    Second, I have adjusted the background color of the sideboxes to red with white writing (see image below). This unfortunately seems to knock the product description out underneath as the product description writing also turns white. No matter which css color code I change, I cannot get white writing in the box description with grey writing as the product description.

    This is the area of code in the stylesheet.css that I have tried amending without success....


    Click image for larger version. 

Name:	code.jpg 
Views:	51 
Size:	42.5 KB 
ID:	11486

    Click image for larger version. 

Name:	sideboxes.JPG 
Views:	57 
Size:	32.3 KB 
ID:	11485

    Any help with these problems would be gratefully received.

    Best wishes to you


    Steve
    If you post a link to your site I can take a look.

    Thanks,

    Anne

 

 
Page 2 of 10 FirstFirst 1234 ... LastLast

Similar Threads

  1. v150 aBagon Template Support Thread
    By VJef in forum Addon Templates
    Replies: 54
    Last Post: 5 Sep 2020, 08:44 PM
  2. BecaBerry Template [Support Thread]
    By brandonturpin in forum Addon Templates
    Replies: 35
    Last Post: 14 Jun 2015, 09:35 AM
  3. TB Sempre Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 48
    Last Post: 19 Mar 2015, 06:33 PM
  4. Turpy Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 3
    Last Post: 20 Feb 2012, 07:36 PM
  5. Watermelon Template Support Thread
    By LissaE in forum Addon Templates
    Replies: 22
    Last Post: 14 Oct 2011, 04:03 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