Page 2 of 21 FirstFirst 123412 ... LastLast
Results 11 to 20 of 201
  1. #11
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Logo Sidebox Help

    Quote Originally Posted by ilonka View Post
    Hi Clyde,

    How can i alter the script to have the link shown in a new page?

    Thanks

    Ilonka
    Can you explain exactly what you are trying to accomplish?

  2. #12
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    272
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Hi Clyde,
    I'm obviously quite new at this & I need help getting my image & hyperlink to appear. I thought I had followed all of the directions, but when I try to insert my image or hyperlink, I get something like a "parse error on line 27 and/or 28". Any ideas how to get my image to appear? I've been looking all over and I can't find the answer...

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by gizmo_girl View Post
    Hi Clyde,
    I'm obviously quite new at this & I need help getting my image & hyperlink to appear. I thought I had followed all of the directions, but when I try to insert my image or hyperlink, I get something like a "parse error on line 27 and/or 28". Any ideas how to get my image to appear? I've been looking all over and I can't find the answer...
    URL for your site

  4. #14
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    272
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    Geez, sorry, it's: www.kings-kreations.com/zen

    Thanks!
    Mindy

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by gizmo_girl View Post
    Geez, sorry, it's: www.kings-kreations.com/zen

    Thanks!
    Mindy
    Can you post exactly what edits you have made.

  6. #16
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    272
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    <?php
    //
    // Blank Sidebox Mod
    // includes/modules/sideboxes/blank_sidebox_defines.php
    //
    // --------------------------------------------------
    // http://www.MommaMuse.com mod Zen-Cart - by Judi Cox
    // --------------------------------------------------
    // zen-cart Open Source E-commerce
    // Copyright (c) 2003-2006 The zen-cart developers
    // http://www.zen-cart.com/index.php
    // Portions Copyright (c) 2003 osCommerce
    // --------------------------------------------------
    // This source file is subject to version 2.0 of the GPL license,
    // that is bundled with this package in the file LICENSE, and is
    // available through the world-wide-web at the following url:
    // http://www.zen-cart.com/license/2_0.txt.
    // If you did not receive a copy of the zen-cart license and are unable
    // to obtain it through the world-wide-web, please send a note to
    // [email protected] so we can mail you a copy immediately.
    // --------------------------------------------------
    //
    // $Id: blank_sidebox_defines.php,v 1.0 6/24/2006
    // Original modification by Carter Harris [email protected] based on the tpl_featured.php file
    // Additionally modified by Judi Cox http://www.mommamuse.com

    define('BOX_HEADING_LOGO_SIDEBOX', 'Payment Methods');
    define('LOGO_SIDEBOX_IMAGE_WIDTH', '125');
    define('LOGO_SIDEBOX_IMAGE_HEIGHT', '125');
    define('LOGO_SIDEBOX_IMAGE', '');
    define('LOGO_SIDEBOX_IMAGE_TEXT', 'Pay quickly and easily with PayPal, using your credit
    card or bank funds. No PayPal account required
    !');

    //this is optional if you want to use the logo as a link
    //replace your_link.com with the link you choose
    define('LOGO_SIDEBOX_LINK', 'http://your_link.com/');

    ?>


    I tried to place an image here:

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by gizmo_girl View Post
    <?php
    //
    // Blank Sidebox Mod
    // includes/modules/sideboxes/blank_sidebox_defines.php
    //
    // --------------------------------------------------
    // http://www.MommaMuse.com mod Zen-Cart - by Judi Cox
    // --------------------------------------------------
    // zen-cart Open Source E-commerce
    // Copyright (c) 2003-2006 The zen-cart developers
    // http://www.zen-cart.com/index.php
    // Portions Copyright (c) 2003 osCommerce
    // --------------------------------------------------
    // This source file is subject to version 2.0 of the GPL license,
    // that is bundled with this package in the file LICENSE, and is
    // available through the world-wide-web at the following url:
    // http://www.zen-cart.com/license/2_0.txt.
    // If you did not receive a copy of the zen-cart license and are unable
    // to obtain it through the world-wide-web, please send a note to
    // [email protected] so we can mail you a copy immediately.
    // --------------------------------------------------
    //
    // $Id: blank_sidebox_defines.php,v 1.0 6/24/2006
    // Original modification by Carter Harris [email protected] based on the tpl_featured.php file
    // Additionally modified by Judi Cox http://www.mommamuse.com

    define('BOX_HEADING_LOGO_SIDEBOX', 'Payment Methods');
    define('LOGO_SIDEBOX_IMAGE_WIDTH', '125');
    define('LOGO_SIDEBOX_IMAGE_HEIGHT', '125');
    define('LOGO_SIDEBOX_IMAGE', '');
    define('LOGO_SIDEBOX_IMAGE_TEXT', 'Pay quickly and easily with PayPal, using your credit
    card or bank funds. No PayPal account required
    !');

    //this is optional if you want to use the logo as a link
    //replace your_link.com with the link you choose
    define('LOGO_SIDEBOX_LINK', 'http://your_link.com/');

    ?>


    I tried to place an image here:
    You didn't define an image to use. make sure to save the image in:
    includes/templates/YOUR_TEMPLATE/images/

    define('BOX_HEADING_LOGO_SIDEBOX', 'Payment Methods');
    define('LOGO_SIDEBOX_IMAGE_WIDTH', '125');
    define('LOGO_SIDEBOX_IMAGE_HEIGHT', '125');
    define('LOGO_SIDEBOX_IMAGE', 'YOUR_IMAGE_NAME.gif');
    define('LOGO_SIDEBOX_IMAGE_TEXT', 'Pay quickly and easily with PayPal, using your credit
    card or bank funds. No PayPal account required!');

  8. #18
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    272
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    I tried to place an image here: define('LOGO_SIDEBOX_IMAGE', 'image.gif'); but nothing actually shows up in Firefox. In IE, it shows as a blank box, so I took it out for now.

    Also, on this line, define('LOGO_SIDEBOX_LINK', 'http://your_link.com/'); I tried to place a linked image and in IE, the text runs out of the box and into the images/wording in the center of the page.

    Sorry, I accidentially cut my last post short! :-)

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

    Default Re: Logo Sidebox Help

    Quote Originally Posted by gizmo_girl View Post
    I tried to place an image here: define('LOGO_SIDEBOX_IMAGE', 'image.gif'); but nothing actually shows up in Firefox. In IE, it shows as a blank box, so I took it out for now.

    Also, on this line, define('LOGO_SIDEBOX_LINK', 'http://your_link.com/'); I tried to place a linked image and in IE, the text runs out of the box and into the images/wording in the center of the page.

    Sorry, I accidentially cut my last post short! :-)
    As I said, make sure your image is located in:

    includes/templates/YOUR_TEMPLATE/images/YOUR_IMAGE.gif

    Open includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php.

    find the following lines of code and edit as necessary.

    Code:
    // Link Option - uncomment this if you intend to use the logo as a link
    //$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT) . '</a>';
    
    //comment this out if you use the above link option.
    $logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT);

  10. #20
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    272
    Plugin Contributions
    0

    Default Re: Logo Sidebox Help

    My image is added here, but no change when I uploaded. There's still no image and when viewing in IE, the text extends far beyond the box.
    includes/templates/YOUR_TEMPLATE/images/pplogo.gif

    Open includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php.

    find the following lines of code and edit as necessary.

    I don't understand what I'm supposed to do here:

    Code:
    // Link Option - uncomment this if you intend to use the logo as a link
    //$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT) . '</a>';
    
    //comment this out if you use the above link option.
    $logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT);
    [/QUOTE]


 

 
Page 2 of 21 FirstFirst 123412 ... LastLast

Similar Threads

  1. Center Logo Sidebox, Live Help?
    By gee38l in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Dec 2008, 07:46 PM
  2. Replies: 1
    Last Post: 8 Dec 2008, 05:18 PM
  3. Replies: 0
    Last Post: 5 Nov 2007, 02:27 AM
  4. How do I center the Live Help logo in sidebox?
    By vivaraquel in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 29 Jul 2007, 09:23 AM
  5. Center Logo In sidebox, trust logo ?
    By [email protected] in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Feb 2007, 05:35 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