Forums / Addon Sideboxes / Blank Side Boxes

Blank Side Boxes

Started by rspencer1762 on 10 Dec 2010, 6:22 AM · Views: 3,431

Results 1 to 20 of 22
10 Dec 2010, 6:22 AM
#1
rspencer1762 avatar

rspencer1762

New Zenner

Join Date:
Oct 2010
Location:
deep south
Posts:
88
Plugin Contributions:
0

Blank Side Boxes

I need some help please.... i am trying to get a picture into the blank side box on the right hand side of my website at: https://www.majikalpath.com If you look at the page you will see i have used 1 already but the content was simple on it cause the moon phases where created on another site and all i had to do was paste the HTML code into the side box.

What i want to do is place a picture into the box at the bottom right side called "Mystic Ravens Blog" and have it set that when you click on the picture you will go to the blog. Can some help me with this?

I am using zen cart 1.3.9g the blog link is: http://www.majikalpath.com/wordpress

The picture to be used is named: th_Broom0 and it is located in the folder : http://majikalpath.com/zencart/images

I do not know how to write the code for doing this... if someone could help me or point me in the direction as to knowing how to make this happen would be most appreciated. Thanks in Advance

10 Dec 2010, 6:42 AM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Blank Side Boxes

<a href="<http://www.majikalpath.com/wordpress>" target="_blank"><img src="images/th_Broom0.jpg" width="100" height="100" alt="" /></a>

Of course you will have to change the width and height to match your image...........which by the way, doesn't seem to exist. Is it a .jpg, .gif, .png, or what? I looked for all 3 and it doesn't seem to be there, and you never gave a file extension. The name CAN'T just be thBroom0...........it absolutely HAS to have an image extension. I used .jpg in the example since I couldn't find it.

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

10 Dec 2010, 7:06 AM
#3
rspencer1762 avatar

rspencer1762

New Zenner

Join Date:
Oct 2010
Location:
deep south
Posts:
88
Plugin Contributions:
0

Re: Blank Side Boxes

Thank you for the quick reply... the picture is a jpeg.... Can you tell me where i might learn how to make up code like this. I tried to create it in Web Expressions and then i remembered that kobra said to keep Web Expressions away from Zencart. Is there someplace for someone like me who has never done this to learn how to write code ?

10 Dec 2010, 7:20 AM
#4
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Blank Side Boxes

Sure, if you Google "learn HTML", you will find several thousand free places on the web to learn how to write code of all kinds. One of the best places to start IMO is W3Schools.com. You can learn the basics of just about any coding language there and it doesn't cost you a dime.

I'm still not seeing your image, though. You sure it's in that directory?

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

10 Dec 2010, 7:31 AM
#5
rspencer1762 avatar

rspencer1762

New Zenner

Join Date:
Oct 2010
Location:
deep south
Posts:
88
Plugin Contributions:
0

Re: Blank Side Boxes

It is showing up on the webpage cause i am trying to figure out how to change the collor of the text... thank you for the link.... i appreciate it... i have used front page 2000 and web expressions to create websites but never looked at code or learned it. I am new to all this so i ask alot of dumb questions i know but i am hoping to learn and make a great shop for all my customers...Thank you so much for your help Get Em Fast. i\It is hard for me to find alot of information cause to be honest... i am just learning as i go....LOL thank you for helping me.

10 Dec 2010, 7:46 AM
#6
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Blank Side Boxes

No problem at all. We ALL started at some time or another and asked a bunch of questions.............but I've always heard the only stupid question is the one you DIDN'T ask.

Add this to your stylesheet to change the color of text in that particular sidebox.

#logosideboxContent {color: #66ffff;}
#logosideboxContent:hover {color: #efefef;}

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

11 Dec 2010, 3:51 AM
#7
rspencer1762 avatar

rspencer1762

New Zenner

Join Date:
Oct 2010
Location:
deep south
Posts:
88
Plugin Contributions:
0

Re: Blank Side Boxes

Thanks Get Em... but today i have bigger problems...

11 Dec 2010, 9:28 PM
#8
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Blank Side Boxes

And that being? Anything I might be able to help with?

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

11 Dec 2010, 9:59 PM
#9
rspencer1762 avatar

rspencer1762

New Zenner

Join Date:
Oct 2010
Location:
deep south
Posts:
88
Plugin Contributions:
0

Re: Blank Side Boxes

Well When store went live we find out GoDaddy will not open the proper port for Firstdata to use their gateway to process CC. I spent all day yesterday trying to find a work around to this issue. I have come to the conclusion that I am moving BOTH websites to BlueHosting. I have been assured that it will not be an issue..(I HOPE AND PRAY).. to do this if you follow the tutorial https://www.zen-cart.com/tutorials/index.php?article=100 I am assured that by having a dedicated ip will work with the firstdata gateways and that they will open ports the ports needed. As being a newbie at this we will find out... i am doing the back up now of the databases. Once that is done i am going to download everything to hd...once that is done i am going to take both stores off line for maintance and point DNS to Bluehosting and begin the upload process.... If you have any advice would be great.

11 Dec 2010, 10:04 PM
#10
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Blank Side Boxes

None other than the host you picked. You're moving up, but not by much IMO. Sounds like you've got it all covered. Happy moving and we'll see you back online shortly.

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

11 Dec 2010, 10:24 PM
#11
rspencer1762 avatar

rspencer1762

New Zenner

Join Date:
Oct 2010
Location:
deep south
Posts:
88
Plugin Contributions:
0

Re: Blank Side Boxes

Thank you sir... What does IMO mean ? I am sure i will be back with questions..Thank you again for all you help....

11 Dec 2010, 10:25 PM
#12
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Blank Side Boxes

IMO......In My Opinion

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

11 Dec 2010, 10:33 PM
#13
rspencer1762 avatar

rspencer1762

New Zenner

Join Date:
Oct 2010
Location:
deep south
Posts:
88
Plugin Contributions:
0

Re: Blank Side Boxes

Oh ok... well i saw they where certified host on zencart website and they have 24-7 support which i need....LOL It fit my budget was another thing cause i bet GoDaddy is going to charge me and not give me a refund if any...

12 Jan 2011, 10:52 AM
#14
marcochampo avatar

marcochampo

New Zenner

Join Date:
Jan 2011
Posts:
11
Plugin Contributions:
0

Re: Blank Side Boxes

hi wonder if you can help , trying to get this code to work in a blank sidebox ,$content .= '<?php require_once('401fc368dbb57237814c256.php'); $voltRank = new VoltRank(); echo $voltRank->display(); ?>';
the files that it calls are in the root folder. but all it seems to do is crash part of the site.

thanks champo

12 Jan 2011, 6:01 PM
#15
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Blank Side Boxes

There is nothing inherently wrong with the code you posted. Your problem must be with the file you require. By "root", do you mean the folder that Zen Cart is installed in? Or a more basic folder, with ZC in a subfolder?

12 Jan 2011, 6:37 PM
#16
marcochampo avatar

marcochampo

New Zenner

Join Date:
Jan 2011
Posts:
11
Plugin Contributions:
0

Re: Blank Side Boxes

hi thanks for your reply, i can confirm that the files are in the root folder of where zen cart is installed , not in a seperate folder.. its done me head in this ,, as it should work without any problems ,,

champo

12 Jan 2011, 6:51 PM
#17
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Blank Side Boxes

Have you verified that the file you created does what it is supposed to do, independently of being called in your sidebox?

Look in your /cache/ folder in ZC root, for the latest "mydebug" file. That will tell you where the fatal error is occurring.

12 Jan 2011, 6:56 PM
#18
marcochampo avatar

marcochampo

New Zenner

Join Date:
Jan 2011
Posts:
11
Plugin Contributions:
0

Re: Blank Side Boxes

ok thanks .. i will try that now.. if you here a scream its me jumping out of the window...

champo

12 Jan 2011, 7:05 PM
#19
marcochampo avatar

marcochampo

New Zenner

Join Date:
Jan 2011
Posts:
11
Plugin Contributions:
0

Re: Blank Side Boxes

hmm just checking debug file not sure why that error is there ,didnt expect that really

[12-Jan-2011 18:58:34] PHP Parse error: syntax error, unexpected T_LNUMBER in /data03/c4896978/public_html/includes/templates/classic/sideboxes/tpl_sponsors.php on line 18

champo

12 Jan 2011, 7:10 PM
#20
marcochampo avatar

marcochampo

New Zenner

Join Date:
Jan 2011
Posts:
11
Plugin Contributions:
0

Re: Blank Side Boxes

not sure what the problem is here

$content .= '<?php require_once('401fc368dbb57237814c256.php'); $voltRank = new VoltRank(); echo $voltRank->display(); ?>';

line 18= require_once('401fc368dbb57237814c256.php');

champo