Forums / General Questions / Can this be possible?????

Can this be possible?????

Locked

Views: 4,761

Results 21 to 40 of 40
This thread is locked. New replies are disabled.
3 Jan 2008, 5:12 AM
#21
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Can this be possible?????

First things first ... let's get your images working right.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jan 2008, 5:14 AM
#22
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Can this be possible?????

DrByte:

First things first ... let's get your images working right.

DrByte I got the images working currectly

3 Jan 2008, 6:07 AM
#23
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can this be possible?????

I just updated the contribution file: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=79

Now you can simply call it via single_sidebox.php?module=new_products or set $zcSBmodule='new_products'; before calling single_sidebox.php

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jan 2008, 2:30 PM
#24
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Can this be possible?????

DrByte,

the sidebox anywhere is just the left side up and down that won't work for me I need 3 down and 3 or 4 across. is that possible?

3 Jan 2008, 5:21 PM
#25
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can this be possible?????

That's just stylesheet stuff. The content is output the same as it is on the store's centerboxes.

Since you're running it in an iframe, you'll need to load your stylesheet inside the iframe as well.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jan 2008, 6:19 PM
#26
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Can this be possible?????

DrByte:

That's just stylesheet stuff. The content is output the same as it is on the store's centerboxes.

Since you're running it in an iframe, you'll need to load your stylesheet inside the iframe as well.

can you help me on that?

3 Jan 2008, 7:01 PM
#27
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can this be possible?????

What have you tried so far?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jan 2008, 7:03 PM
#28
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Can this be possible?????

DrByte:

What have you tried so far?

Right now, I don't know where to start.

3 Jan 2008, 7:35 PM
#29
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can this be possible?????

There are lots of online resources where you can learn about stylesheets and so on. I'm not going to go into that here.
It doesn't sound like you want to know "why", but just want the end-result handed to you.

Add this to the bottom of your single_sidebox.php file:

<style type="text/css"> @import "/gifts/includes/templates/future_zen/css/stylesheet.css"; </style>

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jan 2008, 7:59 PM
#30
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Can this be possible?????

DrByte:

Add this to the bottom of your single_sidebox.php file:

<style type="text/css"> @import "/gifts/includes/templates/future_zen/css/stylesheet.css"; </style>

Ok when put that code in I go this error:

Parse error: parse error, unexpected '<' in /home/content/m/o/r/morristech/html/gifts/single_sidebox.php on line 86
3 Jan 2008, 8:27 PM
#31
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can this be possible?????

Um ... did you put it at the VERY END of the file? ... after EVERYTHING ELSE?

Post the last 5 lines of the file.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jan 2008, 8:36 PM
#32
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Can this be possible?????

Ok I got it working. that is what exactly what I want. but when I click an product in the iframe it goes to the store inside the iframe but I want out of the iframe.

3 Jan 2008, 8:39 PM
#33
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can this be possible?????

Well, technically, it was never intended to be used in an iframe.

It was intended to be used as a PHP include(), as documented in the header of the file.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jan 2008, 8:46 PM
#34
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Can this be possible?????

Do you have any suggestions? on the main website at http://www.mtechama.com I did an iframe that is the only I can do it. but when you click an item it goes to the store in the iframe instead of open a seperate window for the store.

5 Jan 2008, 4:31 PM
#35
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Can this be possible?????

DrByte,

I have finally include the file on the main page with e107 but the images are trying to pull like this (https://www.mtechama.com/images/files.jpg or gif) instead of (https://www.mtechama.com/gifts/images/files.jpg or gif) could it be in the single_sidebox.php file? take a look at the front page at http://www.mtechama.com

Wade

5 Jan 2008, 5:49 PM
#36
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can this be possible?????

Change this line:[B]//[/B] define('DIR_WS_IMAGES', [B]$zcDir . '[/B]/images/');to this:```
define('DIR_WS_IMAGES', '/gifts/images/');

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

5 Jan 2008, 6:14 PM
#37
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Can this be possible?????

DrByte:

Change this line:[B]//[/B] define('DIR_WS_IMAGES', [B]$zcDir . '[/B]/images/');to this:```
define('DIR_WS_IMAGES', '/gifts/images/');


ok I got the way I want it. now my bar is to wide how can I shortin it? its making website to wide? and how do I change the links colors?
5 Jan 2008, 7:04 PM
#38
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can this be possible?????

Those would be stylesheet issues which you'll have to address.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Aug 2008, 5:54 AM
#39
anniti avatar

anniti

New Zenner

Join Date:
May 2008
Posts:
33
Plugin Contributions:
0

Re: Can this be possible?????

Hi,
I'd like to have the specials-sidebox, without the sideboxheader though, in the centerpart of the mainpage.
I put

<?php $zcSBmodule = 'specials.php'; $zcSBlayout = 'left'; require (DIR_WS_MODULES . 'sideboxes/single_sidebox.php'); ?>

in define_main_page.php

The result:

Warning: main(includes/application_top.php) [function.main]: failed to open stream: No such file or directory in C:\wamp\www\bio04082008\includes\modules\sideboxes\single_sidebox.php on line 41

Fatal error: main() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.;c:\php4\pear') in C:\wamp\www\bio04082008\includes\modules\sideboxes\single_sidebox.php on line 41

any idea?
thanks, anna

7 Oct 2008, 10:04 PM
#40
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Can this be possible?????

Hi, I forgot how I done this can someone help on this?

Wade