WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form (28 posts)

  1. unihead
    Member
    Posted 8 years ago #

    Hi. I've installed Ryan Duff's Contact Form plugin, but with no luck. I'm using WordPress 1.5.1.3 and ContactForm 1.3. My only other activated plugin is 'the excerpt Reloaded'.

    When I filled in the Options > ContactForm page it didn't send back the QuickTag information and I have no idea what code I have to put on my page to get the form to appear and work.

    Sorry this is a basic question but I can't find an answer in the archives. I'd appreciate some help. Or, if you know of a better way to add a contact form to my site, let me know.

    Thanks.

  2. First, on a side note, upgrade to WordPress 1.5.2.

    Second, did you read the readme / instructions on the site? It explains it all right there. ;)

  3. unihead
    Member
    Posted 8 years ago #

    Well, yes, actually, I did, and it says "If you don’t see the Contact Form quicktag, you can alternatively copy and paste <!--contact form--> where you want it to appear." Which I did, and it didn't work. So I was hoping if I asked politely someone would help me out a little here.

    I will upgrade, but according to the site this plugin should work in 1.5 and up.

  4. unihead
    Member
    Posted 8 years ago #

    Ummm ... anyone? Please?

  5. winterwish
    Member
    Posted 8 years ago #

    You can try inTouch, a modification from Ryan Duff version. It work for me, since I also have similar problem with you.

  6. MichaelH
    Member
    Posted 8 years ago #

    1. Install Contact Form 1.3 by putting wp-contactform.php and options-contactform.php in the wp-contents/plugin directory.
    2. Activate the Contact Form plugin.
    3. Then in Options, Contact Form put in your email address info. Also check the box that says Show'Contact Form' Quicktag.
    4. Do a Write Page and put <!--contact form--> in the Page Content. At that point you may need to update your Permalink Structure.
    5. That should be it.

  7. unihead
    Member
    Posted 8 years ago #

    Many thanks for the replies. Since what you suggest is exactly what I did MichaelH, there must be some strange bug. I'll check out inTouch.

    Thanks for the help!

  8. unihead
    Member
    Posted 8 years ago #

    Sorry, just a bit more help needed. I deleted ContactForm and installed inTouch - with the same result. Perhaps I'm doing something wrong when it comes to placing the code in my page?

    I have a page template I created called 'contact.php'. I know this is working because when I check the source on the site page the contact page is updated with any changes I make to the contact.php page.

    However, placing, in the case of inTouch, <!--intouch--> where I want the form to be doesn't work. Is this all the code I have to place in the actual template page? Am I missing something here? Help much appreciated!

  9. patrickw
    Member
    Posted 8 years ago #

    Write you own contact form script:

    http://www.thesitewizard.com/wizards/feedbackform.shtml

  10. patrickw
    Member
    Posted 8 years ago #

    your*

    And that link is if you dont know how to.

  11. unihead
    Member
    Posted 8 years ago #

    Thanks, but I'd really prefer to use a plugin, as I'm really a designer not a programmer, and I'm finding it hard enough as it is working out the whole WordPress paradigm without writing my own scripts as well!

  12. MichaelH
    Member
    Posted 8 years ago #

    You don't need contact.php. Just read closely my step 4 above to Write > Page. The Write Page is done from your admin panel.

    See: Write_Page_SubPanel

  13. unihead
    Member
    Posted 8 years ago #

    OK, I'm totally stuffed now. I obviously don't know what I'm doing despite days trying to work this out.

    I did make a page from the Write panel. Does the html for the page go in the 'page content' box?

    One of the reasons this is so confusing is that the Codex entry on 'Write Page' doesn't seem to match the options on the actual 'Write Page' page!

  14. MichaelH
    Member
    Posted 8 years ago #

    4. Do a Write Page and put <!--contact form--> in the Page Content. At that point you may need to update your Permalink Structure.

    Assuming here you're using Wp-ContactForm.

  15. unihead
    Member
    Posted 8 years ago #

    I guess the thing is here is that I have my own page layout, so what I did was create a new Template called 'contact.php', with my page layout in it and

    <?php
    /*
    Template Name: Contact Page
    */
    ?>

    at the top. Then I did a 'Write Page' to make my contact page, using Contact Page as my template.

    I put <!--contact form--> in my 'contact.php' - ie my template - page where I wanted the form to be.

    Can you tell me what I did wrong with this process? If I put <!--contact form--> in the Page Content box of the Write page form, how would it know where to put the form in my layout?

    Thanks for your patience with me, I appreciate it.

  16. MichaelH
    Member
    Posted 8 years ago #

    I really don't know how to use WP-ContactForm in the method you're suggesting.

  17. unihead
    Member
    Posted 8 years ago #

    So you can't put a contact form on a page you've created with a different template? Huh?

  18. MichaelH
    Member
    Posted 8 years ago #

    That plugin doesn't require changing any template files in your Theme.

  19. unihead
    Member
    Posted 8 years ago #

    So I suppose my question now is, does anyone know how I put a contact form on a page I have created with a custom template?

  20. Again, you DO NOT put <!--contact form--> into any template file, you put it into the contents of the Page.

    Create your custom Page template if you want, it doesn't matter. Just click "Write Page" and put <!--contact form--> into the contents area.

    You can however select your custom Page template if you wish. I personally use a no comments Page template (my standard page with the comments code removed).

  21. unihead
    Member
    Posted 8 years ago #

    Thanks. If you put <!--contact form--> into the contents area, how does it know where to place the form in your page layout?

  22. Just try it. *sigh*

    It gets displayed wherever the_content() is called.

    If this your Page's content in the admin area:

    You can contact me here:

    <!--contact form-->

    Thanks!

    It'll be outputted just like any other normal page, except with the contact form being inserted where <!--contact form--> would otherwise be.

  23. unihead
    Member
    Posted 8 years ago #

    OK, now I see. Since I was using a custom template that didn't have the_content() on it, it wasn't being called.

    I realise this is difficult, but to someone who doesn't know php and is trying to understand WordPress, it is extremely non-intuitive. I managed to teach myself how to modify MovableType effectively, but there is a lack of clear tutorials for WordPress, and I find the Codex to be very difficult to use (and incorrect, in the case of the Write page listing).

    Thanks for your help and patience.

  24. S.K
    Member
    Posted 8 years ago #

    @Unihead:

    <quote>but to someone who doesn't know php and is trying to understand WordPress, it is extremely non-intuitive.</quote>

    I think this observation is unfounded and unfair. If, according to you, you do not know PHP, I wonder why you attempted to create a custom template php file without adding the requisite call functions which are elementary. And the change in design can be achived by changing the appropriate css file (if you make one) if you find it difficult to make a custom template.

    And WP's codex is by far the best software manual ever written in a colloborative framework, IMHO. So many are vying to bring out a print version in pulp.

    I have cohabited with MT for long and it is no cakewalk with its own bizarre tag formats. And it has no amateur support any longer, similar to the help you get from the vibrant WP community (though at times you may get flamed, if you cross the Plimsoll line!).

    Nice flash site you have! :)

  25. unihead
    Member
    Posted 8 years ago #

    Thanks, I appreciate your perspective. Keep in mind though that if you read what I said it did not cast aspertions on anyone involved with WordPress, or WordPress itself. I'm referring to my own lack of knowledge, and how *I* find it difficult.

    It is true however - I believe - that I can't find any good clear tutorials and that the WordPress paradigm is more difficult to get your head around than MT (dynamically created pages vs static pages). Personally - again - I find the Codex difficult to use, and one page at least seems to be out of date (that on creating new Pages) but other mileage may vary.

    As these are all personal opinions, they are by definition unfounded - but hardly unfair! ;)

    I must say, though, I've made about six posts on this forum, and although I've eventually got answers, in virtually every case someone has got a bit impatient or shirty with me even though I have tried to be as polite as possible and tried first to find my answers in the documentation. I know that newbies can be frustrating to the 'old-timers', especially newbies who are more designers than programmers like myself, but surely the future of WordPress lies in bringing newbies into the fold a bit gently ...?

  26. unihead
    Member
    Posted 8 years ago #

    PS Thanks for the compliment. As someone who now does mostly XMTHL/CSS sites, it is desperately in need of a revamp! Cobbler's children not getting new shoes and all that ...

  27. S.K
    Member
    Posted 8 years ago #

    Very eloquently explained! :)

    I too have some issues with the page templates selection in case of certain themes yet to be resolved.

    Yes, the seniors and pundits get peevish at the freshers especially when they assume that RTFM and/or a search would have solved their problems. But sometimes the elements of the roadblock that someone faces may be a peculiar one which needs some fresh approach. Though it is common with any support forum that you should be prepared to get a dose of flaming, curt remarks and mild admonitions, you ultimately get someone condescending to help!

    And regarding your site, I'd prefer it a bit bigger. And where are the cobbler's children?

    And visit our south India next time!

  28. S.K
    Member
    Posted 8 years ago #

    <quote>where are the cobbler's children</quote>

    Oh God!

    Missed the proverb and the metaphor - my mental slothiness to blame!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags