Forums / Basic Configuration / blank sidebox

blank sidebox

Locked

Started by mthem2003 on 6 May 2008, 1:26 AM · Views: 3,578

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
6 May 2008, 1:26 AM
#1
mthem2003 avatar

mthem2003

New Zenner

Join Date:
Jan 2008
Posts:
83
Plugin Contributions:
0

blank sidebox

hello

i have 1.3.8a zencart.

and installed the blank sidebox MOD and when enabling the blank box

my whole site went blank! just all white blank pages.. nothing loads and no error messages.

anyone else experiencing this issue?

https://www.thepurseworld.com

14 May 2008, 8:22 PM
#2
freshstart avatar

freshstart

New Zenner

Join Date:
Jul 2007
Location:
England
Posts:
84
Plugin Contributions:
0

Re: blank sidebox

Yes, me too. I edited the file in Cpanel, then immediately tested the site, which went blank. I went back into Cpanel, removed the code I had just added to that contribution, which meant that my site was visible again. Scary stuff...

14 May 2008, 8:29 PM
#3
freshstart avatar

freshstart

New Zenner

Join Date:
Jul 2007
Location:
England
Posts:
84
Plugin Contributions:
0

Re: blank sidebox

mthem2003,

How did you manage to get your Godaddy site seal to work? I have posted this questions elsewhere in the forum tonight. Any advice gratefully received.

Thanks.

15 May 2008, 7:10 PM
#4
mthem2003 avatar

mthem2003

New Zenner

Join Date:
Jan 2008
Posts:
83
Plugin Contributions:
0

Re: blank sidebox

freshstart:

mthem2003,

How did you manage to get your Godaddy site seal to work? I have posted this questions elsewhere in the forum tonight. Any advice gratefully received.

Thanks.

go to the following
/includes/languages/english.php

and add .. (just my script with yours:

Line #15 : define('FOOTER_TEXT_BODY', '<script language="Javascript" src="https://seal.godaddy.com/getSeal?sealID=199670800607fa45111127117d8d9ca2817dab0412999760"></script> ' .'<br/> </br>' .'Copyright © ' . date('Y') . ' <a href="http://ThePurseWorld.com" target="_blank">ThePurseWorld</a>. Powered by <a href="http://ThePurseWorld.com" target="_blank">ThePurseWorld</a>');

hope this helps :)

16 May 2008, 4:00 AM
#5
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: blank sidebox

Try using Clyde's Logo Sidebox. I've found it to be a good, solid module which I have cloned for use numerous times on my sites.

Good luck!

16 May 2008, 10:52 AM
#6
freshstart avatar

freshstart

New Zenner

Join Date:
Jul 2007
Location:
England
Posts:
84
Plugin Contributions:
0

Re: blank sidebox

Hey, thank you both for your help. I managed to figure out what I was doing wrong with the Godaddy.php box...appears to be working now :cool:

23 Jun 2008, 4:52 PM
#7
bettyc avatar

bettyc

New Zenner

Join Date:
Apr 2008
Posts:
37
Plugin Contributions:
0

Re: blank sidebox

How do you use the logo sidebox more than once? How do you rename it? I want to make sure I am doing it right before attempting it? I have several logos that I want to add. Is it possible to add more than one logo in a box? Please Advise. Thanks

23 Jun 2008, 11:54 PM
#8
bettyc avatar

bettyc

New Zenner

Join Date:
Apr 2008
Posts:
37
Plugin Contributions:
0

Re: blank sidebox

I figured out the correct way to name each new logo box.

But I am having problems with my link working.

Can anyone tell me what I am missing? Please Advise. Thanks

define('BOX_HEADING_LOGO_SIDEBOX2', 'Member');define('LOGO_SIDEBOX2_IMAGE_WIDTH', '85');define('LOGO_SIDEBOX2_IMAGE_HEIGHT', '115');define('LOGO_SIDEBOX2_IMAGE', 'iitc_logo.jpg');define('LOGO_SIDEBOX2_IMAGE_TEXT', '');define('LOGO_SIDEBOX2_LINK', 'http://www.i-itc.org.com/');//this is optional if you want to use the logo as a link//replace your_link.com with the link you choosedefine('LOGO_SIDEBOX2_LINK', 'http://www.i-itc.org.com/');

:frusty:

24 Jun 2008, 5:52 AM
#9
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: blank sidebox

look in includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php. You need to un-comment one area and comment out the other. just add or remove //

<?php // // Blank Sidebox Mod // includes/templates/templates_default/sideboxes/tpl_blank_sidebox.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: tpl_blank_sidebox.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> // // 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); $content = ''; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '">'; $content .= $logoimage; $content .= '</div>';
24 Jun 2008, 7:28 PM
#10
bettyc avatar

bettyc

New Zenner

Join Date:
Apr 2008
Posts:
37
Plugin Contributions:
0

Re: blank sidebox

I'm not sure what you mean on what to take out and what to replace it with. I don't understand uncomment one and comment out the other.

I took out a few things and most of my website was gone.

I am just learning code.

What should it look like to show the link? and do I change anything to show the link in this code?

Can you tell me what I should wind up with.

Here is what I have and the link should be http://www.i-itc.org/

//// Link Option - uncomment this if you intend to use the logo as a link//$logoimage = '<a href="' . LOGO_SIDEBOX2_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX2_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX2_IMAGE, LOGO_SIDEBOX2_IMAGE_TEXT) . '</a>';//comment this out if you use the above link option.$logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX2_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX2_IMAGE, LOGO_SIDEBOX2_IMAGE_TEXT); $content = ''; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '">'; $content .= $logoimage; $content .= '</div>';?>

I can do some code but I need to know what it needs to look like with the changes. Thanks for your help:unsure:
Please Advise. Thanks Betty

25 Jun 2008, 5:43 AM
#11
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: blank sidebox

In php code, you can turn off a piece of code by placing these lines in front of it:

//
To do so is to comment out that line.

In includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php find this line of code:

//$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE,

You need to uncomment this line by removing this from the front of it:

//

Next, just below where you were working, find this line:

$logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE,

You need to turn this line off, or comment it out. To do so, just place this in front of it:

//

Thant's it! Save and upload to includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php.

26 Jun 2008, 5:13 PM
#12
bettyc avatar

bettyc

New Zenner

Join Date:
Apr 2008
Posts:
37
Plugin Contributions:
0

Re: blank sidebox

Thanks so much for taking the time to explain it to me, I appreciate it.

It worked perfectly. :clap: