Zen Cart Logo
Forums / General Questions / using sidebars outside of the store

using sidebars outside of the store

Locked

Views: 961

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
14 May 2007, 2:14 PM
#1
greybeard avatar

greybeard

New Zenner

Join Date:
Mar 2007
Posts:
41
Plugin Contributions:
0

using sidebars outside of the store

I have my zen carts store based at /store/ and i have the information part of my site in the root.

Originally the idea was to have the store and information side of the site very seperate, but now they want them more combined, but they also want to have the information site updatable by themselves. They are going to be using contribute because its easy for them...

So what i want to do is somehow access the side boxes in a page that is outside of the store. When they use the links they are forward through to the store. Is there anyway to use the existing code, or do i need to create new separate connection to the database and set up the side box.

I can do this for the manufacturers and the products, but not sure about it for the shopping basket...

Any ideas?

Might have to use easy pages with includes but then the client will not have the best view of the page when they are editing...

Any help is greatly appreciated...

Thanks

Rob

14 May 2007, 2:47 PM
#3
greybeard avatar

greybeard

New Zenner

Join Date:
Mar 2007
Posts:
41
Plugin Contributions:
0

Re: using sidebars outside of the store

wow, that was quick.

Just having a look now, thanks very much!

Rob

14 May 2007, 3:06 PM
#4
greybeard avatar

greybeard

New Zenner

Join Date:
Mar 2007
Posts:
41
Plugin Contributions:
0

Re: using sidebars outside of the store

Im having trouble getting this to function correctly.

I ammended the code inside the sidebox.php to point towards application_top.php but when it finds it it tries to run the zen carts installer, which has been removed to it simply says that the file cannot be found.

Any ideas?

14 May 2007, 3:36 PM
#5
greybeard avatar

greybeard

New Zenner

Join Date:
Mar 2007
Posts:
41
Plugin Contributions:
0

Re: using sidebars outside of the store

Basically, when i do this it looks at the application_top.php, but looks at it as if it was in my rot folder so its not finding any of the bits it tests for so it tries to run the installer. Everything to do with the sidebox, is looking at the root folder rather that the store folder. How can i change this?

28 May 2007, 4:29 PM
#6
greybeard avatar

greybeard

New Zenner

Join Date:
Mar 2007
Posts:
41
Plugin Contributions:
0

Re: using sidebars outside of the store

Has anyone managed to get the external sidebox module working? :no:

14 Jun 2007, 11:45 AM
#7
briohny12 avatar

briohny12

New Zenner

Join Date:
Jun 2007
Posts:
48
Plugin Contributions:
0

Re: using sidebars outside of the store

Hey Greybeard,

I got it working but it's not following the CSS of the rest of the site.

http://www.surfworldireland.com/onlineshop/single_sidebox.php

If anyone knows how i can fix this... greatly appreciated!

27 Aug 2007, 2:18 AM
#8
greybeard avatar

greybeard

New Zenner

Join Date:
Mar 2007
Posts:
41
Plugin Contributions:
0

Re: using sidebars outside of the store

I have this working now. I had to move everything within the /store/ folder and to get the css working ok, i added the neccessary code from the zencarts css file to my sites css. And its now all working great...