Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Side box not showing

Locked

Started by breck on 27 Sep 2008, 5:31 PM · Views: 2,169

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

Post #1 by breck

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

Post #2 by website_rob

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:

The learning is in the doing.

Potent Products

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

breck

Zen Follower

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

Post #3 by breck

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

Post #4 by breck

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

Post #5 by breck

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

Post #6 by website_rob

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

The learning is in the doing.

Potent Products

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

breck

Zen Follower

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

Post #7 by 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.

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

misty

Inactive

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

Post #8 by misty

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

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

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

breck

Zen Follower

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

Post #9 by breck

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

Post #10 by misty

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.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

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

Post #11 by website_rob

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">

The learning is in the doing.

Potent Products

28 Sep 2008, 3:12 PM
#12
breck avatar

breck

Zen Follower

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

Post #12 by breck

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.