Page 50 of 72 FirstFirst ... 40484950515260 ... LastLast
Results 491 to 500 of 720
  1. #491
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Comstock Template

    Quote Originally Posted by damiantaylor View Post
    I've found the code you mentioned thanks, but I'm still not sure how I can tell if the user has clicked any of the special categories.
    Is there a variable I can test to check if, for example, the user has just clicked 'New Products'?

    Thank you!
    I'm not sure I understand exactly what it is you're trying to accomplish.

    You might want to ask in the better categories sudebox support thread

  2. #492

    Default Re: Comstock Template

    Using ZC version 1.3.8a and the Comstock template. Web address: www.SarasSoapsnSuch.com.

    Question: In the footer, there's a graphic for the credit cards I (supposedly) take, listing MC, Visa, Discover and AmEx, plus Paypal. I don't take AmEx or PP, so how do I change that graphic? I looked in /public_html/includes/templates/comstock/common/tpl_footer.php, but couldn't see anything that looked like the line I'd need to edit for that. I need this to be more accurate. I honestly didn't realize it listed all of them (or I'd have troubleshot this earlier), and now I've got to contact a customer about her AmEx payment that I can't accept.

    Thanks!

    ~Sara

  3. #493
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Comstock Template

    Quote Originally Posted by Sara's Soaps View Post
    Using ZC version 1.3.8a and the Comstock template. Web address: www.SarasSoapsnSuch.com.

    Question: In the footer, there's a graphic for the credit cards I (supposedly) take, listing MC, Visa, Discover and AmEx, plus Paypal. I don't take AmEx or PP, so how do I change that graphic? I looked in /public_html/includes/templates/comstock/common/tpl_footer.php, but couldn't see anything that looked like the line I'd need to edit for that. I need this to be more accurate. I honestly didn't realize it listed all of them (or I'd have troubleshot this earlier), and now I've got to contact a customer about her AmEx payment that I can't accept.

    Thanks!

    ~Sara
    open includes/templates/comstock/common/tpl_footer.php

    find and comment out/delete the following:

    <div id="shopOptions">&nbsp;</div>

    -----------
    If you want to modify the image

    go to includes/templates/comstock/images/options.gif

    Edit the file in your image editor.

  4. #494
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Comstock Template

    Hi Clydejones,

    I am using ZC version 1.3.8a and the Comstock template.
    But I met a problem like www.SarasSoapsnSuch.com. In the bestsellers sideboxes, the sidebox_header_bg pic and side_box_content_bg pic can't be juncture. Could help take a look?
    How can fix this problem?

    Thanks a lot in advance.

    James

  5. #495
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Comstock Template

    Quote Originally Posted by jamesHe View Post
    Hi Clydejones,

    I am using ZC version 1.3.8a and the Comstock template.
    But I met a problem like www.SarasSoapsnSuch.com. In the bestsellers sideboxes, the sidebox_header_bg pic and side_box_content_bg pic can't be juncture. Could help take a look?
    How can fix this problem?

    Thanks a lot in advance.

    James
    link to your site?

  6. #496
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Comstock Template

    Quote Originally Posted by clydejones View Post
    link to your site?
    sorry, I build the web on my local host for testing, han't uploaded it on the internet. but effec looks likes the www.SarasSoapsnSuch.com. I have not installed any addone, only 1.3.8a and this template. pls help me. Thanks

  7. #497
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Comstock Template

    Quote Originally Posted by jamesHe View Post
    sorry, I build the web on my local host for testing, han't uploaded it on the internet. but effec looks likes the www.SarasSoapsnSuch.com. I have not installed any addone, only 1.3.8a and this template. pls help me. Thanks
    That is a problem with the default Zen Cart Bestsellers sidebox.

    The Comstock template does not include any modifications to this sidebox.

    Without seeing your site I'm afraid I can't offer any useful information on solving this problem.

  8. #498
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Comstock Template

    Quote Originally Posted by clydejones View Post
    That is a problem with the default Zen Cart Bestsellers sidebox.

    The Comstock template does not include any modifications to this sidebox.

    Without seeing your site I'm afraid I can't offer any useful information on solving this problem.
    Thanks ! I will upload my site as soon as possible

  9. #499
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Comstock Template

    Quote Originally Posted by calixto View Post
    Fixed,
    there is in tpl_best_sellers.php
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
    calls for definition bestsellersContent which does not exist rather than bestsellers. I could rename it as well but removed the content piece and set needed top margin
    I guess that is the same thing that happens in Bestseller box in general, that the browser assumes default top margin
    Hi clydjones,

    I searched forum, find some has the same issue.
    I referred his suggestion, add the new class in the stylesheet.css.

    .bestsellersContent {
    background-image:url(../images/sidebox_content_bg.gif);
    margin-top: 0;
    padding:0;

    }

    and change the /tpl_best_sellers.php.
    from
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";

    to
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="bestsellersContent">' . "\n";

    BUT it doesn't work, it still has a blank between the sidebox_content_bg.gif and sidebox_header_bg.gif.

    Could you help me on this?

    Thanks a lot.

  10. #500
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Comstock Template

    Quote Originally Posted by jamesHe View Post
    Hi clydjones,

    I searched forum, find some has the same issue.
    I referred his suggestion, add the new class in the stylesheet.css.

    .bestsellersContent {
    background-image:url(../images/sidebox_content_bg.gif);
    margin-top: 0;
    padding:0;

    }

    and change the /tpl_best_sellers.php.
    from
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";

    to
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="bestsellersContent">' . "\n";

    BUT it doesn't work, it still has a blank between the sidebox_content_bg.gif and sidebox_header_bg.gif.

    Could you help me on this?

    Thanks a lot.
    try the following:

    open includes/templates/YOUR_TEMPLATE/sideboxes/tpl_best_sellers.php

    replace the following code:

    Code:
        $content = '';
      $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
      $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
      for ($i=1; $i<=sizeof($bestsellers_list); $i++) {
        $content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
      }
      $content .= '</ol>' . "\n";
      $content .= '</div>' . "\n";
      $content .= '</div>';
    with this:

    Code:
        $content = '';
      $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
      $content .= '<ol>' . "\n";
      for ($i=1; $i<=sizeof($bestsellers_list); $i++) {
        $content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
      }
      $content .= '</ol>' . "\n";
      $content .= '</div>';

 

 
Page 50 of 72 FirstFirst ... 40484950515260 ... LastLast

Similar Threads

  1. v151 Reviews sidebox Comstock template
    By discoverytdi in forum Addon Templates
    Replies: 4
    Last Post: 7 Feb 2013, 04:49 AM
  2. Comstock template question
    By discoverytdi in forum Addon Templates
    Replies: 3
    Last Post: 11 Sep 2011, 10:28 PM
  3. Comstock template
    By grandpaj in forum Addon Templates
    Replies: 1
    Last Post: 25 Oct 2010, 10:09 PM
  4. Comstock template
    By grandpaj in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Oct 2010, 04:02 AM
  5. Comstock Template Help -
    By Mrsb in forum Addon Templates
    Replies: 1
    Last Post: 23 Mar 2009, 07:14 PM

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