Support Forums

Email a Friend: Form error

This is a discussion on Email a Friend: Form error within the TemplateCodes forums, part of the Third Party Support category; Hello, For some reason when I click on "email a friend" the form is skewed to the right and there ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

Reply
 
Thread Tools Display Modes
Old 01-12-2010, 02:22 PM   #1
Customer
 
Join Date: Dec 2009
Posts: 26
Rep Power: 7
FlyAgain is on a distinguished road
Default Email a Friend: Form error

Hello,
For some reason when I click on "email a friend" the form is skewed to the right and there is no submit button. Site address is : FlyAgainParts.com
same issue logged in or not.

I checked ADMIN, in the user groups and I do have it set to YES, each group can "email a friend"

Not sure what would be causing this?

THANK YOU,
Chris
__________________
4.1.9 Designer - Hosted/ template codes EVO- charcoal 2
FlyAgain is offline   Reply With Quote
Old 01-12-2010, 02:27 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,410
Rep Power: 137
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

the link to e-mail a friend employs javascript to pop open a new window and fill it with the form. Looks like there is no window size specified, you could try adding that so the new popup window is large enough to hold the form.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 01-12-2010, 02:37 PM   #3
Customer
 
Join Date: Dec 2009
Posts: 26
Rep Power: 7
FlyAgain is on a distinguished road
Default

Hi Larry,
Thanks for the Quick Response.
Makes sense.
Not sure exactly how to do that? I am really new to all of this.
Easy instructions - or should I ask 68c for tech help..

Thanks
Chris
__________________
4.1.9 Designer - Hosted/ template codes EVO- charcoal 2
FlyAgain is offline   Reply With Quote
Old 01-12-2010, 02:40 PM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,410
Rep Power: 137
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

oops, I stand corrected a size is specified already its just too small for the form. open your viewlisting template and look for the following ...


MM_openBrWindow('http://www.flyagainparts.com/friendmail.php?vehicle=13','contact','width=350,he ight=400')


edit the height an width numbers iuntil th windows opens at a size suitable for the form inside it.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 01-12-2010, 02:41 PM   #5
Customer
 
Join Date: Dec 2009
Posts: 26
Rep Power: 7
FlyAgain is on a distinguished road
Default

I think I can do that. THANK YOU for your time to assist with a solution.
Have a great day!

Chris
__________________
4.1.9 Designer - Hosted/ template codes EVO- charcoal 2
FlyAgain is offline   Reply With Quote
Old 01-12-2010, 05:42 PM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,317
Rep Power: 82
seymourjames is a jewel in the rough
Default

There is actually an issue on the friendmail.tpl file. The issue is this line near the top.

<link rel="stylesheet" href="templates/{$smarty.const.MAIN_TEMPLATE}/css/style.css" type="text/css" />

There is no css in the templatecodes template to completely deal with this form as we use the default template file. However it is not using the default template css so it is screwing up. Two small changes to the template file are needed. We shall supply this file in future but here is the fix. If you want the new file which will be correctly styled and structured please email me.

Make a copy of friendmail.tpl from the default template contact folder and put it in the contact folder of your templatecodes template folder. Then find the line above and change it to this

<link rel="stylesheet" href="templates/default/css/style.css" type="text/css" />

Now find the line 68 which says this

<th colspan="2">{$smarty.const.LANG_EMAIL_FRIEND}</th>

Change it to

<td colspan="2"><strong>{$smarty.const.LANG_EMAIL_FRIE ND}</strong></td>


all should be well afterwards.

I will move this thread into the Templatecodes section as it is a specific integration issue.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 01-12-2010, 06:13 PM   #7
Customer
 
Join Date: Dec 2009
Posts: 26
Rep Power: 7
FlyAgain is on a distinguished road
Default

Thank you for the information.
I will TRY to make these changes. I am using Filezilla and still learning.
I have not needed to add any files yet. I am not exactly sure how to copy/paste.
Your instructions seem clear. I will give it a try.
THANKS
Chris
__________________
4.1.9 Designer - Hosted/ template codes EVO- charcoal 2
FlyAgain is offline   Reply With Quote
Old 01-12-2010, 06:15 PM   #8
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,317
Rep Power: 82
seymourjames is a jewel in the rough
Default

Write to me and I will send you a new file to upload tomorrow which will be styled to the template.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 01-12-2010, 08:10 PM   #9
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,317
Rep Power: 82
seymourjames is a jewel in the rough
Default

A new friendmail template file is now available. Contact me if you want it. The fixed file is better than what I proposed above.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 01-13-2010, 12:25 PM   #10
Customer
 
Join Date: Dec 2009
Posts: 26
Rep Power: 7
FlyAgain is on a distinguished road
Default

Thanks for your time on this.
I went ahead before seeing your new information and made the changes you outlined.
The form is working just fine now.

THANKYOU
Chris
__________________
4.1.9 Designer - Hosted/ template codes EVO- charcoal 2
FlyAgain is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
remove Email A Friend chillyware Templates, HTML, CSS, and Design Help 6 11-22-2009 06:46 AM
SEO not working for Tell a friend email Isje Technical Support 2 06-01-2009 04:40 AM
email a friend dabdig Templates, HTML, CSS, and Design Help 2 02-17-2009 09:25 AM
SEO mod - email a friend not working Adam Waxler Modules / Plugins / Modifications 14 01-29-2009 06:47 AM
Email via Form Help HorseOptions Technical Support 1 12-30-2008 03:25 PM


All times are GMT -4. The time now is 11:17 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0