Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Sidebox settings, help?

    Hi, does anyone know the code that I need to insert into my php file to set a side box to show on ALL pages? Thank you!

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Sidebox settings, help?

    Which sidebox, and what page isn't it displaying on now ?

  3. #3
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Sidebox settings, help?

    I added the login box add on. I've set up to appear in my sidebar and I want it to stay that way throughout the entire site. I'm tired of trying to deal with positioning and I think that would be an easy fix. =)

    Thank you.

  4. #4
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Sidebox settings, help?

    Any ideas on this?

    Would it be helpful if I included the php file of the box I am trying to fix?

  5. #5
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Sidebox settings, help?

    Helllooooo....can anyone help?

    I need to get a sidebox to appear on ALL pages. What do I add/remove in the sidebox php content to make this happen? Thank you!

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Sidebox settings, help?

    Same question. I use the login sidebox on a few sites, and it displays on every page (except, obviously, the login/create account page).

    What pages is it not displaying on for you ?

    When I go to your site, I see that box still in the header.

  7. #7
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Sidebox settings, help?

    Hi Stevesh

    I want that header box to remain throughout the entire site. Yes, even the actual login/registraton page. I don't care if it's not "correct" I'm just really tired of wasting so much time on positioning...

    Thank you.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

  9. #9
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Sidebox settings, help?

    Many thanks to both of you and your brilliant minds...

    However, the code changes don't seem to do anything. The box is still not visible.

    Would someone be able to make the changes in the source and just repost? I'm not sure what else to do...

    [SCR]<?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 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: login_box.php,v 1.0 2003/11/21 22:55:46 ajeh Exp $
    //

    // Designed for Zen Cart v1.00 Alpha
    // Created by: Linda McGrath [email protected]
    // http://www.thewebmakerscorner.com

    // Edited by: Ian Manson [email protected] 2006 08 13
    // to include my account links when actually logged in

    // show box when not logged in, and not when login/create account/forgot password pages are showing
    // change title of box when logged in

    if (($_GET['main_page'] != FILENAME_LOGIN && $_GET['main_page'] != FILENAME_CREATE_ACCOUNT && $_GET['main_page'] != FILENAME_PASSWORD_FORGOTTEN)) {

    $login_box[] = TEXT_LOGIN_BOX;

    if ((!$_SESSION['customer_id'])) {
    $title = BOX_HEADING_LOGIN_BOX;
    } else {
    $title = BOX_HEADING_LOGGEDIN_BOX;
    }

    require($template->get_template_dir('tpl_login_box.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_login_box.php');

    $left_corner = false;
    $right_corner = false;
    $right_arrow = false;
    $title_link = false;

    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
    }
    ?>[/SCR]

 

 

Similar Threads

  1. Ignores Meta Settings in Admin Product Settings
    By NewbietoEC in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Jul 2010, 04:04 PM
  2. e-mail settings help
    By Soulkreed in forum General Questions
    Replies: 1
    Last Post: 1 Jan 2010, 10:58 PM
  3. Standard settings back?? HELP!
    By Ikke345 in forum General Questions
    Replies: 2
    Last Post: 29 Sep 2009, 11:37 PM
  4. Font settings for category sidebox?
    By lyricwings in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Nov 2006, 07:58 PM

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