Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Darren Wilson 238 posts 646 karma points
    Jul 16, 2011 @ 16:30
    Darren Wilson
    0

    Newbie Question: How to create a simple contact form

    Hi Folks,

    I'm pretty new to .NET and Umbraco and I have a simple request. I've inherited a site running Umbraco 3.5 and I need to create a simple contact form for use in the site - can anyone advise a way of doing this.

    Apologies if this has been answered elswhere on this forum!

    Thanks in advance

    Darren

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 16, 2011 @ 22:41
    Fuji Kusaka
    0

    Hi Darren,

    If you are looking for a very simple one, try Doc2Form package which is very easy to use and configure.

     

    //fuji

  • John 115 posts 150 karma points
    Jul 17, 2011 @ 02:49
    John
    0

    Hello there, 

    I use the RV Contact form on my projects which I have found to be pretty good. (I'm on 4.6.1 with my installs at moment so I don't know how well it will work for v3.5).

    Have a look on link below. This is a list of all the packages you can install. 

    http://our.umbraco.org/projects ;

    Hope that helps

    John 

  • Darren Wilson 238 posts 646 karma points
    Jul 18, 2011 @ 11:08
    Darren Wilson
    0

    Thanks for your help guys.

    Fuji, I've downloaded the Doc2Form package and, please forgive my ignorance, have no idea where to start - this is my first Umbraco project. Would it be too much trouble to ask for an instruction (or a pointer to a forum post) to add a simple form (name, email, comment) to the text area of my page?

    Apologies for the request.

    Darren

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Jul 18, 2011 @ 11:19
    Jan Skovgaard
    0

    Hi Darren

    No need to make appologies - we're all here to help and this is the most friendly community in the world! :-)

    Are you sure that the Umbraco version you're running is 3.5? Because the last release of version 3 was 3.0.6 so maybe the site you have overtaken is another version but based on the .NET 3.5 framework perhaps?

    If you're using version 3 of Umbraco then none of the above mentioned packages will work - at least not the versions found on the project page since they require v4 of Umbraco and one of them requires .NET4 framework.

    You could easily make a simple form with XSLT and I will be happy to provide some simple code for this if you're interested?

    /Jan

  • Darren Wilson 238 posts 646 karma points
    Jul 18, 2011 @ 11:24
    Darren Wilson
    0

    Hi Jan,

    No, I've checked this morning and it's Umbraco 4 our client has installed.

    If you could provide me with some code (and an idiot's guide for installing!) that would be fantastic ! It's just a simple form to email that I require.

    Thanks

    Darren

    PS. You're right, this is indeed a very friendly community!

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 18, 2011 @ 11:40
    Fuji Kusaka
    0

    Hi Darren,

    As Jan mentioned earlier this forum is intended to help each and everyone, so no APOLOGIES.

    So you are running v 4.0? have you been able to install the package?

    //fuji

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Jul 18, 2011 @ 11:42
    Jan Skovgaard
    0

    Hi Darren

    Cool, I'll provide yout with an example on how to do it simply with an XSLT macro.

    In the mean time I would like to encourage you to make a local installation of Umbraco on your own machine and then go to the package repository in the developer section. And install the Creative website starter package, created by Warren Buckly and then play around with it to see how everything is made up. (Developer - Packages - Umbraco package repository - Creative Website Starter).

    I encourage you to do this since it's good to have an environment where you can play around with things without worrying about breaking something on a live site.

    If you don't know how to install Umbraco it can be done manually or using the Web platform installer. If you want to install it manually you can use this guide: http://our.umbraco.org/wiki/install-and-setup/how-to-install-umbraco-on-windows-server-2008

    You can probably also benefit from this guide: http://our.umbraco.org/wiki/how-tos/a-complete-newbie%27s-guide-to-umbraco

    I'll provide you with some XSLT in a minute.

    /Jan

  • Darren Wilson 238 posts 646 karma points
    Jul 18, 2011 @ 11:50
    Darren Wilson
    0

    Hi Jan,

    In the mean time I would like to encourage you to make a local installation of Umbraco on your own machine and then go to the package repository in the developer section. And install the Creative website starter package, created by Warren Buckly and then play around with it to see how everything is made up. (Developer - Packages - Umbraco package repository - Creative Website Starter).

    I think this is something I will look in to doing.

    Darren

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Jul 18, 2011 @ 12:04
    Jan Skovgaard
    0

    Hi Darren

    In my former post I totally missed that you're on a v4 install - then my idea of creating a XSLT snippet for you is totally cumbersome.

    Instead I recommend that you install the Cultiv contact form package, which does exactly what you require. And it's also well documented how you should install it and what you should be aware of - So go grab it here: http://our.umbraco.org/projects/website-utilities/cultiv-legacy-contact-form-%28pre-47!%29

    Let us know if you have any issues with installing this nice package from Sebastiaan Janssen :-)

    /Jan

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 18, 2011 @ 12:09
    Fuji Kusaka
    0

    Hey Jan,

    I myself will install the Cultiv Contact Form package from Sebastiann.

     

    //fuji

  • Darren Wilson 238 posts 646 karma points
    Jul 18, 2011 @ 12:09
    Darren Wilson
    0

    I'll give this a try!

    thanks

    Darren

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Jul 18, 2011 @ 12:10
    Jan Skovgaard
    0

    Hi Fuji

    Cool :-)

    If you're using v4.7 of Umbraco you should checkout the new Razor based one he has just released. It's still featured in the top5 new packages on the frontpage.

    /Jan

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 18, 2011 @ 12:12
    Fuji Kusaka
    0

    Yes thats the one am installing right now.

     

    //fuji

  • Darren Wilson 238 posts 646 karma points
    Jul 18, 2011 @ 12:25
    Darren Wilson
    0

    Jan/Fuji,

    That's me managed to get the CultivForm installed and working - easy! One question though - how do I get the form to appear within one of my templates, at the moment it just appears as the form in a browser window by itself.

    Thanks

    Darren

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 18, 2011 @ 12:38
    Fuji Kusaka
    1

    Darren sorry i didnt really understand what you said before......if am right you are using one template so only one layout??

    What you can do is use contentPlaceholder to achieve this by using only one main Layout but with different content.

    Under your main Template just create another one by selecting the main one > right click > Create. Then in your main template > Insert content area placeholder (give it a name) > then just go in the child template you created before Insert Content area (you will get the name of your created placeholder) > then just insert the Macro as in the Cultiv Razor Contact Form documentation.

    Hope it makes sense :)

     

    // Fuji

     

     

  • Darren Wilson 238 posts 646 karma points
    Jul 18, 2011 @ 12:57
    Darren Wilson
    0

    Hi Fuji,

    I'm using two templates - a homepage and textpage. Basically I want to display the form in the textpage template - see attached. I'm using the older version of Cultiv Form which, I might be wrong, doesn't have an instruction manual.

    Thanks

    Darren

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 18, 2011 @ 13:04
    Fuji Kusaka
    0

    I havent used the Older Version of Cultiv Form but it should be working under the same process i mentioned earlier. So bascially try to follow the steps by using the textpage template.

    " Under your textpage Template just create another one by selecting the main one > right click > Create. Then in your textpage template > Insert content area placeholder (give it a name) > then just go in the child template you created before Insert Content area (you will get the name of your created placeholder) > then just insert the Macro as in the Cultiv Razor Contact Form documentation. "

     

  • Darren Wilson 238 posts 646 karma points
    Jul 18, 2011 @ 17:10
    Darren Wilson
    0

    I think I'm getting somewhere! I've installed the package without any issue, followed Fuji's instruction above, however when the page is live I only get the intro text - no fields or title - I must be missing something on my template. Any ideas? When the CultivForm default template is selected it works.

    Thanks Darren

  • Darren Wilson 238 posts 646 karma points
    Jul 19, 2011 @ 01:08
    Darren Wilson
    0

    Jan/Fuji,

    Managed to get this working - it was inexperience that was causing the problem. I'm getting the hang of it now. Thanks for your help today.

    Darren

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Jul 19, 2011 @ 01:12
    Jan Skovgaard
    0

    Hi Darren

    I'm very happy to hear that.

    Please don't hesitate to ask further question as you are beginning to use Umbraco more on a regular basis. As you know by know we're a friendly bunch who likes to help each other out no matter the level of experience :-)

    And please mark Fuji's answer as the solution so others can benefit from it in the future should they have the same issues.

    /Jan

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 19, 2011 @ 05:34
    Fuji Kusaka
    0

    Hi Darren.....

    Great work if you got it working.....as Jan mentioned Do not hesitate to ask question and take part of the umbraco community.

    //fuji

  • Darren Wilson 238 posts 646 karma points
    Jul 20, 2011 @ 18:06
    Darren Wilson
    0

    Hi Guys,

    Another question - all is working with the form, however, my client isn't receiving the mail. When I try their personal address or mine it works. What might be causing this, I've tried the SSL tick box but this brings up a server error.

    Thanks

    Darren

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Jul 20, 2011 @ 18:09
    Jan Skovgaard
    0

    Hi Darren

    A few things to check.

    1) Are you sure that the email is not ending up in the clients spam folder?

    2) Are the SMTP settings correct? (If you are testing locally and using your default SMTP it might not be the same you should use on the server).

    /Jan

  • Darren Wilson 238 posts 646 karma points
    Jul 20, 2011 @ 18:13
    Darren Wilson
    0

    Hi Jan,

    How would I change the SMTP settings? It's strange that it's going to some addresses and not to others - could it be an issue with their set-up?

    Darren

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Jul 21, 2011 @ 00:42
    Jan Skovgaard
    0

    Hi Darren

    Well if you receive the email when you're testing it's probably not an SMTP issue.

    Are you sure the email has not ended up in their spam-folder?

    /Jan

  • Md Johirul Islam 37 posts 57 karma points
    Oct 18, 2011 @ 13:27
    Md Johirul Islam
    0

    Hi i install Cultiv Contact Form. But when i add this macro nito my master template. it show the error message.   

    A page can have only one server-side Form tag.

    Please help me. Thank you

  • Md Johirul Islam 37 posts 57 karma points
    Oct 18, 2011 @ 13:44
    Md Johirul Islam
    0

    I userd Cultiv razor macro but mail does not goto the email.... Any idea why 

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Oct 18, 2011 @ 23:26
    Jan Skovgaard
    0

    Hi Md

    Have you checked that the e-mail does not end up in the spam folder?

    And have you made sure that your SMTP settings in the web.config file are correct?

    /Jan

  • Md Johirul Islam 37 posts 57 karma points
    Oct 19, 2011 @ 10:20
    Md Johirul Islam
    0

    I did every thing but nothing happen. Any idea...........

  • Rich Green 2246 posts 4008 karma points
    Oct 19, 2011 @ 10:48
    Rich Green
    0

    Check the Umbraco Log table for errors.

    Rich

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies