1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Help Wanted... with website template

Discussion in 'HTML & Website Design' started by Carl05, Dec 20, 2017.

  1. #1
    I am building a website using one of the many free website templates available on the internet.

    Anyways, I am trying to get the contact form working...
    Mailto: isn't working, and my server doesn't allow phpmail. So if possible it needs to be via SMTP

    The template is a one page html5 using bootstrap and css

    I am not knowledgeable about programming etc., just able to make simple changes using dreamweaver, so please make any help in plain English...
    SEMrush
    Many thanks...
     
    Carl05, Dec 20, 2017 IP
    SEMrush
  2. phpmillion

    phpmillion Member

    Messages:
    93
    Likes Received:
    8
    Best Answers:
    3
    Trophy Points:
    25
    #2
    Hi,

    What type of template do you use? I mean, is it a template for some CMS (WordPress, for example) or is it a "normal" template (just a bunch of HTML/CSS files)?
     
    phpmillion, Dec 20, 2017 IP
  3. Carl05

    Carl05 Well-Known Member

    Messages:
    576
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #3
    html
    some scss, some java, some css

    This is what I am trying to change... https:// freehtml5. co/demos/foodee/
     
    Carl05, Dec 20, 2017 IP
  4. Abu Waqar Arif

    Abu Waqar Arif Greenhorn

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    Digital Goods:
    2
    Articles:
    2
    #4
    If you are going to use the template for WordPress then it's not gonna work. What I know is WordPress has their own Themes.
    Maybe I can fix the problem if you are using WordPress.
     
    Abu Waqar Arif, Dec 20, 2017 IP
  5. Carl05

    Carl05 Well-Known Member

    Messages:
    576
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #5
    no... it's not wordpress....my current site is on wordpress but i'm with webhosting uk and it's sooooooo slow
    this is for a standalone html site

    The template, i'm trying to use as said is... https:// freehtml5. co/demos/foodee/ .... just remove the spaces after the // and before the co

    thanks
     
    Carl05, Dec 21, 2017 IP
  6. Carl05

    Carl05 Well-Known Member

    Messages:
    576
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #6
    Carl05, Jan 1, 2018 IP
  7. phpmillion

    phpmillion Member

    Messages:
    93
    Likes Received:
    8
    Best Answers:
    3
    Trophy Points:
    25
    #7
    Well, there's not much you can do about template then, if it's server restriction not to allow sending emails via phpmail. In order to fix the issue, you need to use another method to send emails from contact form, but it's not related to template itself, it's a PHP thing.

    Your guess that you need to send emails using SMTP was correct, so just go for it. I would recommend doing ith with Swift Mailer ( https://swiftmailer.symfony.com ) or another PHP mailing library, so you don't need to write all the code yourself.
     
    phpmillion, Jan 1, 2018 IP
  8. Carl05

    Carl05 Well-Known Member

    Messages:
    576
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #8
    Thanks.... I didn't know if there was a quick smtp way where I could just add a config file and call for it instead of mailto:
     
    Carl05, Jan 3, 2018 IP
  9. Gihan

    Gihan Member

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #9
    use PHP mailer plugin.
     
    Gihan, Jan 6, 2018 IP