Zen Cart Logo
Forums / Addon Sideboxes / credit_card_sidebox_1-2-5 instal help

credit_card_sidebox_1-2-5 instal help

Locked

Views: 1,192

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
6 Sep 2008, 11:10 PM
#1
wagnerguy avatar

wagnerguy

Zen Follower

Join Date:
Aug 2008
Posts:
334
Plugin Contributions:
0

credit_card_sidebox_1-2-5 instal help

Hey folks, i need some help. I loaded credit_card_sidebox_1-2-5 free addon which has the credit card logos as a sidebox.

When activate the sidebox on the left side of my site, it pushes the entire template over and deleted the center boxes

when i activate on the right side, it just never shows up

please help, what did i do wrong

thanks

9 Sep 2008, 1:10 AM
#2
sadie avatar

sadie

Zen Follower

Join Date:
Aug 2004
Posts:
252
Plugin Contributions:
0

Re: credit_card_sidebox_1-2-5 instal help

I have the credit card sidebox installed and it works fine. I am not sure if it is the 1-2-5 mod or not. First, look at layout settings for the sideboxes in admin. See if the single sort order is at 0, if it is not, put it at 0 and see if that works. Sometimes small changes in these settings can make things go wrong. If this does not work, delete all of the files for this mod, and re-upload again.

10 Sep 2008, 11:54 PM
#3
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: credit_card_sidebox_1-2-5 instal help

Hi everyone,

I've added this mod and it works beautifully! Thank you Kurio!!

Question:

What do I need to add to this line of text

'<img id="ccMC" class="cc_img" src="images/cc_logos/logo_ccMC.gif" />' . "\n" .

found in the file includes/templates/MY_TEMPLATE/sideboxes/tpl_cc_accept.php

in order to get the text "MasterCard" to show up on mouse-over?

I know it involves adding the php equivalent to an html alt tag, but I don't know the syntax for adding it to a php file.

I've looked at the code for other sideboxes for an example, but they use define language for the alt text.

I need to know how to add an alt tag in PHP for files that don't have any define language for graphics.

Thanks in advance for the help!

11 Sep 2008, 4:16 AM
#4
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: credit_card_sidebox_1-2-5 instal help

While I'm at it, I need to be able to do the same thing for the payment method images on the payment method section of the step 2 of 3 checkout page (the payment info page).

Since the images from this page come from a different file than those that are in the sidebox, I assume I'll need to make the changes to both tpl_cc_accept.php file and the tpl_checkout_payment_default.php files.

Is that correct?

11 Sep 2008, 3:55 PM
#5
wagnerguy avatar

wagnerguy

Zen Follower

Join Date:
Aug 2008
Posts:
334
Plugin Contributions:
0

Re: credit_card_sidebox_1-2-5 instal help

which line would i add the code to?

12 Sep 2008, 2:35 AM
#6
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: credit_card_sidebox_1-2-5 instal help

Wagner,

I believe Sadie is suggesting that you log in to your admin, go to tools/layout boxes controller and look at the sort order for this sidebox.

She's suggesting you try setting it to 0 and then refresh your site page and see if that resolves the issue.

There's no need to modify code to change sort order.

It sounds like she's suggesting that your issue might be being caused by having two sideboxes occupying the same space (i.e. having the same numeral for their sort order) and that one is therefore pushing the other out of the way, which in turn distorts your entire template.

By changing the sort order of the credit card accept sidebox to 0, you essentially place it first on the list and therefore not in conflict with anything else.

If that doesn't work, she suggests you delete the files you installed for this mod and start all over - follow all instructions beginning to end.

Hope this helps.