Web Design Help
It's free to register, to post a question or to start / join a discussion
free website template not functioning properly
Likes # 0
Posted September 24, 2012 at 5:07PM
I have download a free website template which looks very good. Only problem is that I cannot get the Contact Page/Form to work or the Site Search facility to work. Is there anyone out there that would be able to help.
Website: www.colourflow-images.co.uk
Likes # 0
Posted September 24, 2012 at 9:35PM
Hi
If you download a template, as in this case you tend to just get the visible aspects of forms/search boxes, not the parts which make them work i.e. process the data. There's a short explanation here:
http://www.ezyform.com/formprocess.html
Your host is likely to have built in options, or not to hard to find php examples on the web, or find a site which will make the file online (just search on "website email" and take your pick). The issue is that security aspects are rarely well covered and forms can present a vulnerability. You could also use a remote mail service, where they handle the processing.
If you have real problems with search, you could just use:
http://www.google.com/intl/en_uk/sitesearch/index.html
Easy to implement and plenty of support.
Another option is to contact the site builder and see if they have forms ready, they often do (again security not guaranteed). You could then also ask them if they have a responsive version of what is a pleasant template. A photography site will see high mobile/tablet use, the current site not good for that.
Final point, don't know if you are on some form of free/ over crammed hosting, looks as if the host offers that but in any event, the server is not happy handling your very good but heavy images. You might want to make a move.
Likes # 0
Posted September 24, 2012 at 10:35PM
Hi Ansolan
Thanks for coming back so quickly. Currently paying for Broadband and Hosting through Freeola. I have downloaded a Contact.php file from the website where I got the template from but do not have a clue how to get this up and running. New to all this coding lark. Files that came with the template are: HTML, CSS & JS In the JS there is atooltip, cufon-replace, cufon-yui, hover-image, html5, jquery.easing, jquery 1.2, prettyphoto, jquery 1.5.2, roundabout, roundaboutshapes, script, tabs and TerminalDosis_300 font also PIE.htc and PIE.php. So unfortunately still floundering.
Likes # 0
Posted September 25, 2012 at 12:48AM
In the HTML for Contact.html, you currently have on line 49:
< form id="search" method="post" >
Upload the php file to the server and make sure you know the correct path to where the file is stored. Then change the code to:
< form id="search" method="post" action="/path/thenameofthefile.php" >
Life isn't always that simple, so no guarantees, or on security but if this is the file built for the template, a fair chance. Make sure to change the destination email address in the php file to yours, probably something like:
$EmailTo = "youraddress@thedomain.com";
Still a good idea to read all you can on forms in general and security. Sounds as if you have plenty more to read as well, have fun.
Likes # 0
Posted September 25, 2012 at 4:03PM
Hi Ansolan
Thanks for your help will give it a try and see how it goes
Likes # 0
Posted September 27, 2012 at 4:15PM
Hi Ansolan
Have tried everything you suggested but to no avail. Still not able to get the contact form or the Site search working.
Regards
Likes # 0
Posted September 27, 2012 at 4:50PM
Hi
There's nothing in your contact page to make a form work at present, appreciate you may have deleted that.
Not too much more I can do from here. You could use an online service of the Wufoo type, most have a free option for one site. Or your hosts facilities, or search online for php email form, lots of examples but not all secure. If entirely stuck you could go somewhere like:
Stay on the old page, not the new. Then just build a php file to suit the options in your form and proceed as before, with this in place of the downloaded php file.
Likes # 0
Posted October 4, 2012 at 4:34PM
Hi Ansolan,
Have tried so many different things to try to get my contact page up and running but to no avail.
I am obviously doing something wrong but do not know what. Any help would be gratefully received.
Likes # 0
Posted October 4, 2012 at 11:07PM
Hi
A couple of points:
method="post" action="contact.php" is in the code for your search box, not the contact form.
The html entries for the contact form do not have any calls for the php file e.g. name="EmailFrom"
Your E-mail:
or whatever name"....." matches with the entries in contact.php.
You should get the idea from:
Likes # 0
Posted October 7, 2012 at 8:44PM
Hi Ansolan,
Have finally managed to get the Contact Page to partially work. When someone uses it I get notification on my hoster email but there is no text - what am I doing wrong!!!!
Likes # 0
Posted October 8, 2012 at 3:41AM
Hi
Have another read of the post above re name="EmailFrom" etc. and have a look at the example in the linked page.
Reply to this topic
This thread has been locked.
Check out PC Advisor's other tech forums
Top 5 Most Popular
-
Samsung Galaxy S4 vs Apple iPhone 5 comparison review
-
Best cases and covers for the new iPad: protect your tablet in style
-
What’s the best mobile OS: iOS, Android, Windows Phone 8 or BlackBerry 10?
-
How to set a song on your iPhone as a ringtone
-
Apple iWatch release date and specs: when will Apple's iWatch launch



