Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2011
    Location
    Enid, OK USA
    Posts
    16
    Plugin Contributions
    0

    red flag black pure free missing tell a friend button image

    I don't know how I did this, or if I just noticed it but the Tell a friend button is showing up as a broken image file.

    I am not sure what file it uses to point to the image.

    Main site page.
    http://www.hiddensecuritysolutions.com

    Example shown:
    http://hiddensecuritysolutions.com/i...&products_id=1

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: black pure free missing tell a friend button image

    For some reason it's pointing to the wrong source:

    includes/templates/template_default/buttons/english/BUTTON_IMAGE_TELLAFRIEND

    Should be pointing to:

    includes/templates/black_pure_free/buttons/english/button_TellAFriend.gif

  3. #3
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: black pure free missing tell a friend button image

    The coding is screwed up:

    <img src="includes/templates/template_default/buttons/english/BUTTON_IMAGE_TELLAFRIEND" alt="BUTTON_TELLAFRIEND_ALT" title=" BUTTON_TELLAFRIEND_ALT " />

    Looks like it's been manually edited. What happens if you upload a fresh copy of tpl_product_info_display.php?

  4. #4
    Join Date
    Nov 2011
    Location
    Enid, OK USA
    Posts
    16
    Plugin Contributions
    0

    Default Re: black pure free missing tell a friend button image

    <!--bof Tell a Friend button -->
    <?php
    if ($flag_show_product_info_tell_a_friend == 1) { ?>
    <div id="productTellFriendLink" class="buttonRow forward"><?php echo ($flag_show_product_info_tell_a_friend == 1 ? '<a href="' . zen_href_link(FILENAME_TELL_A_FRIEND, 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_TELLAFRIEND, BUTTON_TELLAFRIEND_ALT) . '</a>' : ''); ?></div>
    <?php
    }
    ?>
    <!--eof Tell a Friend button -->

    snipped from /includes/templates/black_pure_free/templates/tpl_product_info_display.php

    I deleted the file /includes/templates/black_pure_free/templates/tpl_product_info_display.php and replaced the original file back from the zip it came in.

    I also deleted the file

    includes/templates/template_default/buttons/english/tpl_product_info_display.php and replaced the original file back from the zen cart zip file.

    I have not edited either file in the past and this is the first time I have opened it to look inside.

    Even if it's pointing the the template_default it still should show up because the .jpg files are there also in my non programmer logic it would show something vs a broken link?

  5. #5
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: black pure free missing tell a friend button image

    The code it's generating on the page is a mix of the code from the tpl_product_info_display.php template file and the way the link should be rendered. I don't know why it's doing that. What mods do you have installed?

  6. #6
    Join Date
    Nov 2011
    Location
    Enid, OK USA
    Posts
    16
    Plugin Contributions
    0

    Default Re: black pure free missing tell a friend button image

    Fairly fresh install. I have only added the USPS.php mod for shipping.... other than that and the pure black template, edited couple of files to change wording on checkout page and conditions.php nothing has been changed.

  7. #7
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: black pure free missing tell a friend button image

    edited couple of files to change wording on checkout page and conditions.php nothing has been changed.
    Put back fresh copies of any files you edited. There is a symbiotic relationship between many of the files in Zen Cart so a coding mistake in one can generate errors in another.

  8. #8
    Join Date
    Nov 2011
    Location
    Enid, OK USA
    Posts
    16
    Plugin Contributions
    0

    Default Re: black pure free missing tell a friend button image

    Guess since I'm not that far along with the setup, I will delete and fresh install. Wanted to upgrade to v1.5 any how.


    Thanks for you help ..

  9. #9
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: black pure free missing tell a friend button image

    The black_pure_free template does work in 1.50, so if that's the one you like you're good to go.

 

 

Similar Threads

  1. v151 Tell A Friend Button missing
    By X-Bumble in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 May 2013, 04:27 PM
  2. Black Pure Free Template Issue need some help
    By davidmk81 in forum Addon Templates
    Replies: 7
    Last Post: 6 Dec 2012, 05:00 AM
  3. Help with tpl_top_nav.php in Black Pure Free template
    By 0range98 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Nov 2011, 06:15 PM
  4. Black Pure Free adding to nav bar?
    By Nigraphics in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 29 Jul 2011, 11:45 AM
  5. How do I get back the tell a friend button image?
    By bubblegumgoods in forum General Questions
    Replies: 5
    Last Post: 1 Nov 2007, 07:41 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