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!
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!
Which sidebox, and what page isn't it displaying on now ?
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.
Any ideas on this?
Would it be helpful if I included the php file of the box I am trying to fix?
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!
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.
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.
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]