8 comments found

  • Exclusive Author
  • Has been a member for 1-2 years
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars

Simple and very nice theme. Good luck dude!

johneyboy

Thanks!

  • Sold between 1 000 and 5 000 dollars
  • Grew a moustache for the Envato Movember competition
  • Referred between 1 and 9 users
  • Exclusive Author
  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Good Job, I Like It, GLWS ;)

johneyboy

Thanks!

  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 0-1 years
  • Referred between 10 and 49 users
  • Bought between 1 and 9 items
  • Vietnam

Good work friend ;) Good luck with sales!

johneyboy

Thanks!

  • Exclusive Author
  • Has been a member for 0-1 years
  • Sold between 100 and 1 000 dollars

cool work friend :) simple awesome.

johneyboy

Thanks!

  • Bought between 10 and 49 items
  • Has been a member for 5-6 years

Hey Johney,
Great theme.
I’m having trouble integrating MailChimp correctly.

My form has a required first name field.
http://impactcolab.com/index2.html

So, I added that input to the page, like so:
<input type="text" value="" name="newsletter-name" class="form-control" id="newsletter-name" placeholder="Your Name" data-validate="validate(required, name)" >

Next, I found in scripts.js where to add the newsletter_name to data:
data: { newsletter_email: $('#newsletter-email').val(), newsletter_name: $('#newsletter-name').val() },


Finally, added to newsletter.php:
... $email = $_POST['newsletter_email']; $fname = $_POST['newsletter_name']; //replace us2 with your actual datacenter $submit_url = "http://us1.api.mailchimp.com/1.3/?method=listSubscribe"; $data = array( 'email_address'=>$email, 'FNAME' => $fname, ...

When submitting the form I’m directed to:
http://impactcolab.com/scripts/newsletter.php

With the message “You must specify a email_address value for the listSubscribe method”

How can I make the newsletter notify work with a required first name field?

Thanks for any assistance.

johneyboy

Hi crbarnett,

I’ve done some digging around to find a way of doing what you want to do. This is what I came up with. I have tested it to.

In scripts.js change data to this:
data: {
    newsletter_email: $('#newsletter-email').val(),
    newsletter_name: $('#newsletter-name').val()
},
In subscribe.php under $email var add this new var:
$merge_vars = Array(
    'FNAME' => $_POST['newsletter_name']
);
In subscribe.php in the $data var add this new line under ‘email_address’:
'merge_vars'=>$merge_vars,
Hope this works! :)
  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

I don’t have the file ‘subscribe.php’

How can I get or make this file to add mailchimp?

Thanks!

johneyboy

Hi there,

Have you looked in the scripts folder? That is where it is.
If it is not there let me know and I will send you the contents.

Hope this helps!
Jonathan

Default-user

uhh, can I send you a direct email?

BTW I love the template- very easy to edit! Oh, I see I think I just put the MC api key into newsletter.php instead, right?
Default-user

I see the problem- the instruction say to change a different php file- problem solved!

johneyboy

Glad you got it working!

If you need to send me a direct email you can use the contact form on my profile page.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Hello again! Question:how do you change the transparent color behind the different sections. I am trying to change the hex code in parts of the style.css but nothing is working once I upload it.

Thanks in advance!

johneyboy

You need to change the rgba color. The hex color is just a fallback for browsers that don’t support rgba.

Default-user

1. thanks for quick reply 2.More stupid questions_ Sorry! : how do I now change the text to a different color now that I have changed the bg is now offwhite?

Default-user

okay, so i figured out how to change the color of the text globally, but How do i change the color of the text in just one section like the footer or header? I will be looking on my own. Does the CSS override any color code I put in the index.html ?

johneyboy

To change the text color of a section you would add the color to the sections class. Example: the footer would be ’.footer’.

For your second questions. If the css code is put in index.html after where styles.css is linked in it won’t be overridden.

Default-user

So…., I might of asked these question too quickly since I have figured it all out on my own. You can erase this thread if you like.

johneyboy

Glad you figured it out! :)

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Hi Johney,

This theme is fantastic! I am figuring out how to customize most of it but one thing I can’t seem to figure out is how to get the background images changed. This is probably a stupid question but if you could point me to the file I am looking for I can ctrl-f for it but so far I have been through almost all of them and can’t find the lines I am looking for! Thanks very much.

johneyboy

It should be in ‘scripts/scripts.js’.

Hope this helps!


by
by
by
by
by
by