PDA

View Full Version : My Footer


Lyle C
Mar-30-2006, 05:11 PM
I have added PayPal buttons to all of my galleries. Everything is working fine. The only problem that I am having is on my home page, my footer is not showing.

Lyle
www.countryroadsphoto.com
:dunno

Barb
Mar-30-2006, 05:17 PM
I have added PayPal buttons to all of my galleries. Everything is working fine. The only problem that I am having is on my home page, my footer is not showing.

Lyle
www.countryroadsphoto.com (http://www.countryroadsphoto.com)
:dunno

I like how you've done the Paypal thing. Nice. Seems tho that somewhere in the process the footer disappeared. The Smugmug footer.

Barb
Mar-30-2006, 05:19 PM
I have added PayPal buttons to all of my galleries. Everything is working fine. The only problem that I am having is on my home page, my footer is not showing.

Lyle
www.countryroadsphoto.com (http://www.countryroadsphoto.com)
:dunno

Gees, that's twice today I've spoken and then re-read the initial post and found that I misunderstood. My apologies. It's time for me to step_away_from_the_computer.

Mike Lane
Mar-30-2006, 05:38 PM
You've got an un-closed div in your code is all.

Add the red:

<div class="paypalButton">

<form name="paypalForm" target="paypal" onSubmit="setPaypalForm(this)" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div align="Center"><input type="image" src="http://lylec.smugmug.com/photos/62258736-M.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</div>
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="lgcanterbury@countryroadsphoto.com">
<input type="hidden" name="item_name" value="">
<input type="hidden" name="item_number" value="Full Size">
<input type="hidden" name="amount" value="15.00">
<input type="hidden" name="no_shipping" value="1"> <input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-ShopCartBF">
</form>

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="lgcanterbury@countryroadsphoto.com">
<div align="Center"><input type="image" src="http://lylec.smugmug.com/photos/62258737-M.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="display" value="1">
</form>
</div>

Lyle C
Mar-31-2006, 04:33 AM
Thanks for the help Mike. I added the <div> to my code, but that did not fix the problem on my home page. Any other ideas.

Thanks,
Lyle
www.countryroadsphoto.com

ivar
Mar-31-2006, 04:40 AM
<div class="paypalButton"></div>

<form name="paypalForm" target="paypal" onSubmit="setPaypalForm(this)" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div align="Center"><input type="image" src="http://lylec.smugmug.com/photos/62258736-M.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">

<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="lgcanterbury@countryroadsphoto.com">
<input type="hidden" name="item_name" value="">
<input type="hidden" name="item_number" value="Full Size">
<input type="hidden" name="amount" value="15.00">
<input type="hidden" name="no_shipping" value="1"> <input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-ShopCartBF">
</form>

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="lgcanterbury@countryroadsphoto.com">
<div align="Center"><input type="image" src="http://lylec.smugmug.com/photos/62258737-M.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="display" value="1">
</form>
</div>

Try putting it like this...

Lyle C
Mar-31-2006, 05:02 AM
Ivar,

That put my footer back on the home page, but it also included my PayPal buttons. Not sure why they would be showing there, as I have the PayPal button turned off except for specific gallleries.

Lyle

www.countryroadsphoto.com

Mike Lane
Mar-31-2006, 05:49 AM
Sorry but you don't want to have what Ivar suggested. What that did was close the .paypalButton div right off the bat. Of course all your paypal stuff is going to show on the homepage. However your empty .paypalButton div won't. Go back to the way I told you and then we'll go from there.

And now that I look at your code there's another unclosed div. You've got to remember to add </div> for every single <div> that you use okay? Put in the red like I've got it below:


<div class="paypalButton">

<form name="paypalForm" target="paypal" onSubmit="setPaypalForm(this)" action="https://www.paypal.com/cgi-bin/webscr" method="post">

<div align="Center"><input type="image" src="http://lylec.smugmug.com/photos/62258736-M.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</div>
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="lgcanterbury@countryroadsphoto.com">
<input type="hidden" name="item_name" value="">
<input type="hidden" name="item_number" value="Full Size"> <input type="hidden" name="amount" value="15.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-ShopCartBF">
</form>

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="lgcanterbury@countryroadsphoto.com">
<div align="Center"><input type="image" src="http://lylec.smugmug.com/photos/62258737-M.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</div>
<input type="hidden" name="display" value="1">
</form>
</div>

<div id="MRPFooter">
<div align="center"><a href="http://www.countryroadsphoto.com" class="style1">Site design and all images &copy; Lyle Canterbury - Country Roads Photo</a></div>
</div>

Also that extra div in yellow is completely unnecessary. May want to remove it.

Lyle C
Mar-31-2006, 05:50 AM
Thanks Mike!, I am making the changes now.

ivar
Mar-31-2006, 05:50 AM
Sorry but you don't want to have what Ivar suggested. What that did was close the .paypalButton div right off the bat. Of course all your paypal stuff is going to show on the homepage. However your empty .paypalButton div won't. Go back to the way I told you and then we'll go from there.Yeah, just saw what i did, my bad.

Lyle C
Mar-31-2006, 06:10 AM
Thanks Mike and ivar. All is working now that I made ALL the changes Mike suggested. Someday I will learn all this.

Lyle
www.countryroadsphoto.com (http://www.countryroadsphoto.com)

:clap