Forums / Addon Sideboxes / Logo Sidebox Help

Logo Sidebox Help

Views: 56,268

Results 21 to 40 of 201
26 Jan 2008, 2:52 AM
#21
clydejones avatar

clydejones

Deceased

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

Logo Sidebox Help

gizmo_girl:

My image is added here, but no change when I uploaded. There's still no image and when viewing in IE, the text extends far beyond the box.
includes/templates/YOUR_TEMPLATE/images/pplogo.gif

Open includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php.

find the following lines of code and edit as necessary.

I don't understand what I'm supposed to do here:

```
// Link Option - uncomment this if you intend to use the logo as a link
//$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT) . '</a>';

//comment this out if you use the above link option.
$logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT);


\[/QUOTE]

Let's get your image showing.

You're using the classic template, so make sure your image is located in:

includes/templates/classic/images/pplogo.gif

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

26 Jan 2008, 3:03 AM
#22
website_rob avatar

website_rob

Inactive

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

Re: Logo Sidebox Help

Clyde picked up on Classic (default) Template being installed. Makes my previous post moot. :smile:

BTW, Clyde, any difference between using your Mod and the Blank Sidebox Mod? Haven't used yours but have used the other and can see where the BS mod can do the same things, basically.

The learning is in the doing.

Potent Products

26 Jan 2008, 3:19 AM
#23
clydejones avatar

clydejones

Deceased

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

Re: Logo Sidebox Help

Website Rob:

Clyde picked up on Classic (default) Template being installed. Makes my previous post moot. :smile:

BTW, Clyde, any difference between using your Mod and the Blank Sidebox Mod? Haven't used yours but have used the other and can see where the BS mod can do the same things, basically.

Other than not having to write all the define statements from scratch and adding the necessary code in the tpl_(file).php to render the image. You could use either.

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

26 Jan 2008, 3:45 AM
#24
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Logo Sidebox Help

Clyde, thanks, that made the image appear like it should. :-) That's definitely progress! I want it to be a clickable image that opens in a new window. Here is the info from the PayPal site - not sure if it's what I need to use:

<!-- 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/cps/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 -->
26 Jan 2008, 3:58 AM
#25
clydejones avatar

clydejones

Deceased

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

Re: Logo Sidebox Help

gizmo_girl:

Clyde, thanks, that made the image appear like it should. :-) That's definitely progress! I want it to be a clickable image that opens in a new window. Here is the info from the PayPal site - not sure if it's what I need to use:

<!-- 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/cps/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 -->

Let me do some checking/testing on this.

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

26 Jan 2008, 6:50 AM
#26
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Logo Sidebox Help

Thanks so much for your patience and help!!

I have a sort of unrelated question - can you have more than one custom logo sidebox? If you can have a second box, can it contain more than one logo? I was trying to think of a clever way to do my link exchanges. I thought maybe clickable images with links to their sites (that open in new windows) would be neat.

26 Jan 2008, 7:09 AM
#27
clydejones avatar

clydejones

Deceased

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

Re: Logo Sidebox Help

gizmo_girl:

Thanks so much for your patience and help!!

I have a sort of unrelated question - can you have more than one custom logo sidebox? If you can have a second box, can it contain more than one logo? I was trying to think of a clever way to do my link exchanges. I thought maybe clickable images with links to their sites (that open in new windows) would be neat.

Why not try Links Manager available in the downloads section

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

3 Feb 2008, 3:28 AM
#28
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Logo Sidebox Help

Hi Clyde,
Have you had a chance to mull this over? I have my PayPal logo in it's own sidebox, but I wanted it to be clickable. I still haven't figured it out...any ideas? TIA!

Mindy

3 Feb 2008, 12:47 PM
#29
clydejones avatar

clydejones

Deceased

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

Re: Logo Sidebox Help

gizmo_girl:

Hi Clyde,
Have you had a chance to mull this over? I have my PayPal logo in it's own sidebox, but I wanted it to be clickable. I still haven't figured it out...any ideas? TIA!

Mindy

Have you tried the paypal verified logo sidebox available in the downloads section

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

3 Feb 2008, 4:15 PM
#30
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Logo Sidebox Help

Thanks, Clyde, that worked perfectly! I was able to change the logo & make it clickable, just like I wanted. I also figured out how to change the sidebox header & the logo size. It looks great! Thanks again for all of your help!! :-)

(OT, but I just realized you are in Colorado - me, too!)

Thx,
Mindy

3 Feb 2008, 4:41 PM
#31
clydejones avatar

clydejones

Deceased

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

Re: Logo Sidebox Help

gizmo_girl:

Thanks, Clyde, that worked perfectly! I was able to change the logo & make it clickable, just like I wanted. I also figured out how to change the sidebox header & the logo size. It looks great! Thanks again for all of your help!! :-)

(OT, but I just realized you are in Colorado - me, too!)

Thx,
Mindy

Glad to help.

Yeah, I'm in Colorado Springs. Where are you located.

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

17 Feb 2008, 11:59 PM
#32
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Logo Sidebox Help

clydejones I hope you are doing well. I have a 2 questions for you if you don't mind. I added my logo box and my logo picture is showing. How do I center it, and how do I add a hyper-link . I have read what to do but I seem not to be able to get it to work. Thank you

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

18 Feb 2008, 3:25 AM
#33
clydejones avatar

clydejones

Deceased

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

Re: Logo Sidebox Help

countrycharm:

clydejones I hope you are doing well. I have a 2 questions for you if you don't mind. I added my logo box and my logo picture is showing. How do I center it, and how do I add a hyper-link . I have read what to do but I seem not to be able to get it to work. Thank you

How do I center it:

add the following to your stylesheet.css
#logosideboxContent { text-align: center;}

how do I add a hyper-link:
Open includes/languages/english/extra_definitions/logo_sidebox_defines.php
Change the highlighted portion to suit you needs.

define('LOGO_SIDEBOX_LINK', 'http://your_link.com/');

Now open includes/templates/YOUR_TEMPLATE/sideboxes/tpl_logo_sidebox.php

uncomment this line of code: remove the highlighted portion
//$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . '">' . zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT) . '</a>';

comment out this line of code: add the highlighted portion
//$logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT);

Save everything and upload to your server.

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

18 Feb 2008, 4:38 AM
#34
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Logo Sidebox Help

Thank you clydejones as alway you need a great big pat on the back. :clap:

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

5 Apr 2008, 11:46 PM
#35
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Logo Sidebox Help

Hi Clyde,
So sorry, I've been MIA for a while! I'm in the SE corner, near Lamar. I've been in your corner of the world several times in the last few weeks.

Anyway, I have a quick question on the Link exchange addition. I'm sure it's blatantly obbvious, but what is the name of the sidebox to activate? Everything appears like it should (I think) in the admin settings, I just can't figure out which sidebox to activate.

6 Apr 2008, 1:49 AM
#36
clydejones avatar

clydejones

Deceased

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

Re: Logo Sidebox Help

gizmo_girl:

Hi Clyde,
So sorry, I've been MIA for a while! I'm in the SE corner, near Lamar. I've been in your corner of the world several times in the last few weeks.

Anyway, I have a quick question on the Link exchange addition. I'm sure it's blatantly obbvious, but what is the name of the sidebox to activate? Everything appears like it should (I think) in the admin settings, I just can't figure out which sidebox to activate.

If you mean the sidebox for the logo sidebox then its logo_sidebox.php

If you mean the sidebox for Links Manager then its links_box.php

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

6 Apr 2008, 2:52 AM
#37
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Logo Sidebox Help

Oh, sorry, I'm working with the Links Manager sidebox. I have a mysterious box in my layout boxes controller. It's in RED, which makes me think there are serious errors with it. Here's what it looks like:
sideboxes/classic/WS_FTP.LOG
Since there is not a .php extension, I am assuming that is where the error lies.

Additionally, when I activate that box, I have the following infomation displayed on my web page and it is not contained in a sidebox:
2007.11.02 09:24 B C:\Documents and Settings\zen\includes\modules\sideboxes\classic\empty.txt --> 216.147.62.63 /kings-kreations-www/zen/includes/modules/sideboxes/classic empty.txt

I have checked my path names, and as far as I can tell, I have changed all of the YOUR_TEMPLATE locations to CUSTOM. Any ideas where I should look? Thanks!!

Mindy

6 Apr 2008, 3:05 AM
#38
clydejones avatar

clydejones

Deceased

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

Re: Logo Sidebox Help

gizmo_girl:

Oh, sorry, I'm working with the Links Manager sidebox. I have a mysterious box in my layout boxes controller. It's in RED, which makes me think there are serious errors with it. Here's what it looks like:
sideboxes/classic/WS_FTP.LOG
Since there is not a .php extension, I am assuming that is where the error lies.

Additionally, when I activate that box, I have the following infomation displayed on my web page and it is not contained in a sidebox:
2007.11.02 09:24 B C:\Documents and Settings\zen\includes\modules\sideboxes\classic\empty.txt --> 216.147.62.63 /kings-kreations-www/zen/includes/modules/sideboxes/classic empty.txt

I have checked my path names, and as far as I can tell, I have changed all of the YOUR_TEMPLATE locations to CUSTOM. Any ideas where I should look? Thanks!!

Mindy

is WS_FTP the ftp client you use to upload your files?

if so WS_FTP.LOG is the log file for something you uploaded to your site.

the red just indicates that you are using the classic template on your site.

look in includes/modules/sideboxes/classic and just delete the WS_FTP.LOG file.

do this on both your PC and on your server.

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

6 Apr 2008, 3:49 AM
#39
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Logo Sidebox Help

OK, did that, but I still do not have a links_box.php file. Ideas?

6 Apr 2008, 4:08 AM
#40
clydejones avatar

clydejones

Deceased

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

Re: Logo Sidebox Help

gizmo_girl:

OK, did that, but I still do not have a links_box.php file. Ideas?

did you rename ALL the YOUR_TEMPLATE folders to classic.

These are the files you should have:

includes/extra_datafiles/links_manager.php
includes/functions/links.php
includes/languages/english/extra_definitions/YOUR_TEMPLATE/links_manager_defines.php
includes/languages/english/YOUR_TEMPLATE/links.php
includes/languages/english/YOUR_TEMPLATE/links_submit.php
includes/languages/english/YOUR_TEMPLATE/popup_links_help.php
includes/languages/english/html_includes/define_links.php
includes/languages/english/html_includes/define_links_submit.php
includes/languages/english/html_includes/YOUR_TEMPLATE/define_links.php
includes/languages/english/html_includes/YOUR_TEMPLATE/define_links_submit.php
includes/modules/pages/links
includes/modules/pages/links_submit
includes/modules/pages/popup_links_help
includes/modules/YOUR_TEMPLATE/link_listing.php
includes/modules/sideboxes/YOUR_TEMPLATE/links_box.php
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_links_select.php
includes/templates/YOUR_TEMPLATE/templates/tpl_links_default.php
includes/templates/YOUR_TEMPLATE/templates/tpl_links_submit_default.php
includes/templates/YOUR_TEMPLATE/popup_links_help
includes/templates/YOUR_TEMPLATE/css/links.css
includes/templates/YOUR_TEMPLATE/css/links_submit.css

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