I messed up search when paypal added

riverstarmyst

No avatar

2009-05-08 03:22

When I added paypal code it moved the search button plus is giving the paypal hyperlink for the search button. I removed the code for paypal but these errors still remained. Could someone point me to possible areas in the code to go to either correct this or to remove the search button and text box? The link to the page is http://iprfinc.com/pattyphp. Just ask if you want to see any particular code.
thanks

» Quick.Cart v3.x

riverstarmyst

beholder

Avatar: beholder

2009-05-08 11:59

interesting, can you post all the changes you made in order to make paypal work? I think the problem lies therein.

riverstarmyst

No avatar

2009-05-08 20:24

If I remove this code from the menu_1.tpl the search returns to normal but then it says

No sBlock: LIST in file: templates/menu_1.tpl
No sBlock: LIST in file: templates/menu_1.tpl

above menu 1. Am I on the right track?

I had entered and removed the paypal code into the menu on top to show beside the basket-I believe this caused it. So I can't copy that code since I removed it.

Thank you for your help.

riverstarmyst

riverstarmyst

No avatar

2009-05-08 22:24

Can't believe I fixed it, guess ya just sometimes have to keep walking away for the answer to come.

Removed line 1 in en_pages.php
30$0$<form target=&quot;paypal&quot; action=&quot;https://www.paypal.com/cgi-bin/webscr&quot; method=&quot;post&quot;>$$$1$0$1$1$0$

and replaced this back into the file menu_1.tpl

<?php <!-- BEGIN LIST --><li class="l$aData[sStyle]"><a href="$aData[sLinkName]" $aData[sSelected]>$aData[sName]</a>$aData[sSubContent]</li><!-- END LIST -->
?>

riverstarmyst

beholder

Avatar: beholder

2009-05-08 22:33

Dude, I am lost in what you did with the paypal code and after that. But be happy that it works.

Back to top
about us | contact