Forums / Addon Sideboxes / Logo Sidebox Help

Logo Sidebox Help

Views: 56,270

Results 121 to 140 of 201
15 Jan 2010, 9:10 PM
#121
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Logo Sidebox Help

bkeaton:

Thanks I got it working. Now I have several questions is there a way to center the images and spread the image spacing because they are so close together?

first: add the following to your stylesheet.css

#logosidebox{
margin: 0em;
margin-top: 1.5em;
border:none;
}

#logosideboxContent {
text-align:center;
}

#logosideboxHeading{
margin: 0;
padding: 0;
}

second: add additional <br /> to the following in tpl_logo_sidebox.php:

$content .= '<br />' . $logoimage1;
$content .= '<br />br />' . $logoimage2;

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Jan 2010, 9:12 PM
#122
wmorris avatar

wmorris

Totally Zenned

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

Re: Logo Sidebox Help

[QUOTE=clydejones;829502]first: add the following to your stylesheet.css

#logosidebox{
margin: 0em;
margin-top: 1.5em;
border:none;
}

#logosideboxContent {
text-align:center;
}

#logosideboxHeading{
margin: 0;
padding: 0;
}
QUOTE]

Can it be anywhere in the stylesheet or a specific spot?

15 Jan 2010, 9:13 PM
#123
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo Sidebox Help

[QUOTE=bkeaton;829504]> clydejones:

first: add the following to your stylesheet.css

#logosidebox{
margin: 0em;
margin-top: 1.5em;
border:none;
}

#logosideboxContent {
text-align:center;
}

#logosideboxHeading{
margin: 0;
padding: 0;
}
QUOTE]

Can it be anywhere in the stylesheet or a specific spot?

put it at the bottom of the stylesheet

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Jan 2010, 9:20 PM
#124
wmorris avatar

wmorris

Totally Zenned

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

Re: Logo Sidebox Help

Thank you clyde you da man :bigups:

1 Feb 2010, 6:26 PM
#125
wmorris avatar

wmorris

Totally Zenned

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

Re: Logo Sidebox Help

Hey Clyde,

I just change my template to Cherry Zen I got the box up on the right side but it doesn't show my two logos here is what have in

/includes/templates/Cherry Zen 1.7/sideboxes/tpl_logo_sidebox.php

but nothing is there

1 Feb 2010, 6:34 PM
#126
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo Sidebox Help

bkeaton:

Hey Clyde,

I just change my template to Cherry Zen I got the box up on the right side but it doesn't show my two logos here is what have in

/includes/templates/Cherry Zen 1.7/sideboxes/tpl_logo_sidebox.php

but nothing is there

I'm guessing you mean the "follow us on these sites" sidebox!

did you copy the two images to the cherry_zen image folder?
(includes/templates/Cherry Zen 1.7/images)

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

1 Feb 2010, 6:35 PM
#127
wmorris avatar

wmorris

Totally Zenned

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

Re: Logo Sidebox Help

I got it fixed,,, I need it the images centered in the box take a look

1 Feb 2010, 6:43 PM
#128
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo Sidebox Help

bkeaton:

I got it fixed,,, I need it the images centered in the box take a look

add the following to your stylesheet.css

#logosideboxContent {
text-align:center;
}

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Feb 2010, 6:40 AM
#129
cp00 avatar

cp00

New Zenner

Join Date:
Oct 2009
Posts:
12
Plugin Contributions:
0

Re: Logo Sidebox Help

Hi. I'm using the logo sidebox addon in combination with simple seo url mod. Because of some internet explorer problems not finding the correct path of folders with some seo urls, I need to put an absolute path to the logo image or at least add a leading slash in front of the relative location of the image, but I somehow don't manage to do it. In tpl_logo_sidebox.php I have the following lines:

$logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT, LOGO_SIDEBOX_IMAGE_WIDTH, LOGO_SIDEBOX_IMAGE_HEIGHT);

What I need is simple, but I can't figure out how to do it. I need /includes/templates/theme181/images/Photo11.jpg instead of the current includes/templates/theme181/images/Photo11.jpg

Here is a sample link of an internal page with the problem described: http://www.xn----7sbeocpcbufeok3buh.com/samoletni_bileti_do_avstria/sofia-vienna

10 Feb 2010, 3:56 PM
#130
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo Sidebox Help

CP00:

Hi. I'm using the logo sidebox addon in combination with simple seo url mod. Because of some internet explorer problems not finding the correct path of folders with some seo urls, I need to put an absolute path to the logo image or at least add a leading slash in front of the relative location of the image, but I somehow don't manage to do it. In tpl_logo_sidebox.php I have the following lines:

$logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT, LOGO_SIDEBOX_IMAGE_WIDTH, LOGO_SIDEBOX_IMAGE_HEIGHT);

What I need is simple, but I can't figure out how to do it. I need /includes/templates/theme181/images/Photo11.jpg instead of the current includes/templates/theme181/images/Photo11.jpg

Here is a sample link of an internal page with the problem described: http://www.xn----7sbeocpcbufeok3buh.com/samoletni_bileti_do_avstria/sofia-vienna

You could try to hard code the information as follows: (no guarantees that this will work)

$logoimage = '<img src="/includes/templates/theme181/images/Photo11.jpg" alt="" width="140" height="87" />';

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

11 Feb 2010, 8:07 PM
#131
cp00 avatar

cp00

New Zenner

Join Date:
Oct 2009
Posts:
12
Plugin Contributions:
0

Re: Logo Sidebox Help

clydejones:

You could try to hard code the information as follows: (no guarantees that this will work)

$logoimage = '<img src="/includes/templates/theme181/images/Photo11.jpg" alt="" width="140" height="87" />';

Well, it works just fine! Thank you.

26 May 2010, 12:43 AM
#132
creation avatar

creation

New Zenner

Join Date:
May 2010
Location:
South Coast of NSW Australia
Posts:
57
Plugin Contributions:
0

Re: Logo Sidebox Help

Have followed Clyde Jones advice and successfully added a sidebox with a logo...
one question...
what is the additional code/how do I center the logo within the sidebox?

26 May 2010, 12:54 AM
#133
wmorris avatar

wmorris

Totally Zenned

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

Re: Logo Sidebox Help

creation:

Have followed Clyde Jones advice and successfully added a sidebox with a logo...
one question...
what is the additional code/how do I center the logo within the sidebox?

Hey, Clyde help me on this try this post:

http://www.zen-cart.com/forum/showpost.php?p=829502&postcount=121

30 May 2010, 3:01 AM
#134
creation avatar

creation

New Zenner

Join Date:
May 2010
Location:
South Coast of NSW Australia
Posts:
57
Plugin Contributions:
0

Re: Logo Sidebox Help

My featured products (always three) are in a sidebox under that heading.

I can only fit two not three... how can I make the sidebox higher?? I thought they were dynamic?

https://www.creationsdelphine.com/catalogue

Thanks

30 May 2010, 3:52 AM
#135
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo Sidebox Help

creation:

My featured products (always three) are in a sidebox under that heading.

I can only fit two not three... how can I make the sidebox higher?? I thought they were dynamic?

https://www.creationsdelphine.com/catalogue

Thanks

This thread is specific to the logo sidebox and not the default sideboxes that are included with Zen Cart.

I don't see a "Featured Products" sidebox at the link you provided.

I do see a "specials" sidebox.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 May 2010, 12:35 PM
#136
creation avatar

creation

New Zenner

Join Date:
May 2010
Location:
South Coast of NSW Australia
Posts:
57
Plugin Contributions:
0

Re: Logo Sidebox Help

Works fine thanks

4 Jun 2010, 11:50 PM
#137
bigal49 avatar

bigal49

Zen Follower

Join Date:
Mar 2010
Location:
California
Posts:
236
Plugin Contributions:
0

Re: Logo Sidebox Help

I can't get this to work in the sidebox.> http://<!-- PayPal Logo --><table border="0" cellpadding="10" cellspacing="0" align="center"><tr>

         <td align="center"></td></tr><tr><td align="center"><a href="#" onclick="javascript:window.open
         ('https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no,
          location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350');">
          <img  src="https://www.paypal.com/en_US/i/bnr/vertical_solution_PPeCheck.gif" border="0" alt="Solution Graphics">
          </a></td></tr></table><!-- PayPal Logo -->/');

I need to put the logo for paypal in it and this is the verifying link.

Thanks for any help you can give.

BigAl49
Al Treadway
http://www.topnotchbassbaits.com

5 Jun 2010, 12:29 AM
#138
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo Sidebox Help

BigAl49:

I can't get this to work in the sidebox.

I need to put the logo for paypal in it and this is the verifying link.

Thanks for any help you can give.

Where are you trying to enter this information?

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

5 Jun 2010, 3:44 AM
#139
bigal49 avatar

bigal49

Zen Follower

Join Date:
Mar 2010
Location:
California
Posts:
236
Plugin Contributions:
0

Re: Logo Sidebox Help

That is the link information that is listed on PayPal for that image.

I want customers to be able to verify that I am a Verified Seller.

BigAl49
Al Treadway
http://www.topnotchbassbaits.com

5 Jun 2010, 3:54 AM
#140
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Logo Sidebox Help

BigAl49:

That is the link information that is listed on PayPal for that image.

I want customers to be able to verify that I am a Verified Seller.

Have you looked at the "paypal verified logo" sidebox available in the downloads section.

I'm suggesting that because you'll need to break down the information you have so it will conform to the way the logo sidebox is set up.

in other words it needs to go into the following defines from logo sidebox:

define('BOX_HEADING_LOGO_SIDEBOX', '');

//Logo number 1
define('LOGO_SIDEBOX_IMAGE_WIDTH', '125');
define('LOGO_SIDEBOX_IMAGE_HEIGHT', '125');
define('LOGO_SIDEBOX_IMAGE', 'logo_test.jpg');
define('LOGO_SIDEBOX_IMAGE_TEXT', 'My Logo');
define('LOGO_IMAGE', zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT, LOGO_SIDEBOX_IMAGE_WIDTH, LOGO_SIDEBOX_IMAGE_HEIGHT)); 

//this is optional if you want to use the logo as a link
//add  your link information to the define statement below
//example
//define('LOGO_SIDEBOX_LINK', 'http://your_link.com/" rel="external" target="_blank"');

define('LOGO_SIDEBOX_LINK', '');

//DO NOT edit below this line

if (LOGO_SIDEBOX_LINK == '') {
define('LOGO_IMAGES', LOGO_IMAGE);
}else {
define('LOGO_IMAGES', '<a href="' . LOGO_SIDEBOX_LINK . '>' . LOGO_IMAGE . '</a>');
}

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.