Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Side box not showing

Side box not showing

Locked

Views: 2,167

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
27 Sep 2008, 5:31 PM
#1
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Side box not showing

I am attempting to add my own sidebox.
I created a .php file and added the code I wanted for it.
I went and placed it at the top right side from the admin page.
When I check the site, the box doesn't appear, and all boxes below it disappear.

Where am I going wrong?

27 Sep 2008, 5:37 PM
#2
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Side box not showing

Not sure why you are trying to reinvent the wheel?

In the Downloads section there is a "Blank Sidebox" module which should do what you want. If not, at least you can see how the file structure is done and use that as base for structuring your own. :wink:

27 Sep 2008, 5:47 PM
#3
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Side box not showing

Thanks - missed the download
Going to check it out.

27 Sep 2008, 6:37 PM
#4
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Side box not showing

Seems I am screwed now.

Uploaded the files, and now I can't login to the admin area.
Deleted the files and still can't login.
Tried reset password and still can't login.

Keep getting wrong username and password.

27 Sep 2008, 9:40 PM
#5
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Side box not showing

Ok

I finally fixed the admin login problem.

I got the blank box to appear.
I was able to edit the title of the box.

When I add the code, the entire right side disappears again.

28 Sep 2008, 1:17 AM
#6
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Side box not showing

That would indicate a syntax / coding error in whatever you are doing. Time to recheck your work.

28 Sep 2008, 2:01 AM
#7
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Side box not showing

It would appear that the blank box install was ok, because it appears when I activate it telling me to edit the files to add my content.

I am trying to add a Live Help button in the box using the below code:

<!-- Begin Volusion Live Chat --> <div align='center' id='VolusionLiveChat'><a href='http://www.volusion.com/livechat_software.asp'>Free Live Chat Software</a></div> <script defer type='text/javascript' src='https://livechat.volusion.com/script.aspx?id=155249' ></script> <!-- End Volusion Live Chat -->

This is just a copy and paste into the file, but when I add the code, the right side then disappears.

Not sure what the cause is.

28 Sep 2008, 4:10 AM
#8
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Side box not showing

breck:

It would appear that the blank box install was ok, because it appears when I activate it telling me to edit the files to add my content.

I am trying to add a Live Help button in the box using the below code:

<!-- Begin Volusion Live Chat --> <div align='center' id='VolusionLiveChat'><a href='http://www.volusion.com/livechat_software.asp'>Free Live Chat Software</a></div> <script defer type='text/javascript' src='https://livechat.volusion.com/script.aspx?id=155249' ></script> <!-- End Volusion Live Chat -->

This is just a copy and paste into the file, but when I add the code, the right side then disappears.

Not sure what the cause is.
There is already sidebox for chat in downloads area at
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=188

28 Sep 2008, 4:19 AM
#9
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Side box not showing

I'll check it out tomorrow, but was hoping to use the chat I already have. Don't know this chat.

28 Sep 2008, 4:29 AM
#10
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Side box not showing

breck:

I'll check it out tomorrow, but was hoping to use the chat I already have. Don't know this chat.

Just download mod..look at code..see if it helps with
your own.

28 Sep 2008, 10:46 AM
#11
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Side box not showing

breck:

It would appear that the blank box install was ok, because it appears when I activate it telling me to edit the files to add my content.

I am trying to add a Live Help button in the box using the below code:

<!-- Begin Volusion Live Chat --> <div align='center' id='VolusionLiveChat'><a href='http://www.volusion.com/livechat_software.asp'>Free Live Chat Software</a></div> <script defer type='text/javascript' src='https://livechat.volusion.com/script.aspx?id=155249' ></script> <!-- End Volusion Live Chat -->

This is just a copy and paste into the file, but when I add the code, the right side then disappears.

Not sure what the cause is.

You have syntax errors.

As you are putting the HTML code within PHP code, you cannot use single quotes for the HTML; that's not correct anyway so not sure why it is done that way. Use double quotes instead.

i.e.

<div align="center" id="VolusionLiveChat">
28 Sep 2008, 3:12 PM
#12
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Side box not showing

Well I tried the crafty mod, and couldn't get any icons to show in the box.

I tried changing the ' to ", and same result.

I did work around it and get it going.

I created a chat.html file and add the above code I am using to it.
I then edited the blank box mod and used <Iframe src="http://www.stuffupforgrab.com/chat.html" width="130" height="65"></Iframe>

All good now.

A bit of a work around, but thanks for your time guys and gals.