563 comments found

brieygu Purchased

Finally I decided to trigger a click: document.getElementById(‘secondtab’).click() Thanks for your help

Vasterad

Ok, it’s good idea.:P

yorks Purchased

I am enjoying working with this template but have a slight issue

on this page

http://buymymg.co.uk/yacht-charter

the distance between the main Yacht Charter / Sailing Holidays title and the subtitle “Yacht Charter” is larger than the one shown on your sample sidebar-right page. Any idea why this shoud be ?

thanks

yorks Purchased

think i have found the problem

Vasterad

Ok, great.

Waiting for the wordpress version. Hot theme! Very nice!

Vasterad

Will be this weekend. Stay tuned!

Hi, wicked theme btw.

I’ve changed the form fields on the contact us page to this;

<!- Form -> <form method=”post” action=”contact.php”>

 
        <label>Name:   </label>
        <input type="text" name="name" class="text" />
     
<label>Company: </label> <input type=”text” name=”company” class=”text” /> <label>Email: </label> <input type=”text” name=”email” class=”text” /> <label>Phone: </label> <input type=”text” name=”phone” class=”text” /> <label>Address 1: </label> <input type=”text” name=”address1” class=”text” /> <label>Address 2: </label> <input type=”text” name=”address2” class=”text” /> <label>City: </label> <input type=”text” name=”city” class=”text” /> <label>County: </label> <input type=”text” name=”county” class=”text” /> <label>Postcode: </label> <input type=”text” name=”postcode” class=”text” /> <label>Message: </label> <textarea name=”message” class=”text textarea” ></textarea> <input type=”button” id=”send” value=”Send Message”/>
</form>

I’ve also changed the contact.php to this but it says ‘sorry unexpected error….’ can you tell me what i’m doing wrong?

<?php

//Retrieve form data. //GET – user submitted data using AJAX //POST – in case user does not support javascript, we’ll use POST instead $name = ($_GET[‘name’]) ? $_GET[‘name’] : $_POST[‘name’]; $company = ($_GET[‘company’]) ? $_GET[‘company’] : $_POST[‘company’]; $email = ($_GET[‘email’]) ?$_GET[‘email’] : $_POST[‘email’]; $phone = ($_GET[‘phone’]) ?$_GET[‘phone’] : $_POST[‘phone’]; $address = ($_GET[‘address’]) ?$_GET[‘address’] : $_POST[‘address’]; $address = ($_GET[‘address’]) ?$_GET[‘address’] : $_POST[‘address’]; $city = ($_GET[‘city’]) ?$_GET[‘city’] : $_POST[‘city’]; $county = ($_GET[‘county’]) ?$_GET[‘county’] : $_POST[‘county’]; $postocde = ($_GET[‘postocde’]) ?$_GET[‘postocde’] : $_POST[‘postocde’]; $message = ($_GET[‘message’]) ?$_GET[‘message’] : $_POST[‘message’];

//flag to indicate which method it uses. If POST set it to 1 if ($_POST) $post=1;

//Simple server side validation for POST data, of course, you should validate the email if (!$name) $errors[count($errors)] = ‘Please enter your name.’; if (!$company) $errors[count($errors)] = ‘Please enter your company.’; if (!$email) $errors[count($errors)] = ‘Please enter your email.’; if (!$phone) $errors[count($errors)] = ‘Please enter your phone number.’; if (!$address) $errors[count($errors)] = ‘Please enter your address.’; if (!$address) $errors[count($errors)] = ‘Please enter your address.’; if (!$city) $errors[count($errors)] = ‘Please enter your city.’; if (!$county) $errors[count($errors)] = ‘Please enter your county.’; if (!$postcode) $errors[count($errors)] = ‘Please enter your postcode.’; if (!$message) $errors[count($errors)] = ‘Please enter your message.’;

//If the errors array is empty, send the mail if (!$errors) {

// ====== Your mail here  ====== //
$to = 'David Gould <david@davidgoulddesign.co.uk>';
// Sender
$from = $name . ' <' . $email . '>';
//subject and the html message
$subject = 'Message from your website';    
$message = '
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
Name:’ . $name . ‘
Company:’ . $company . ‘
Email:’ . $email . ‘
Phone:’ . $phone . ‘
Address:’ . $address . ‘
Address:’ . $address . ‘
City:’ . $city . ‘
County:’ . $county . ‘
Postcode:’ . $postcode . ‘
Message:’ . nl2br($message) . ‘
';
// Send the mail
$result = sendmail($to, $subject, $message, $from);
//if POST was used, display the message straight away
if ($_POST) {
    if ($result) echo 'Thank you! We have received your message.';
    else echo 'Sorry, unexpected error. Please try again later';
//else if GET was used, return the boolean value so that 
//ajax script can react accordingly
//1 means success, 0 means failed
} else {
    echo $result;    
}

// If the errors array has values } else {}

// Simple mail function with HTML header function sendmail($to, $subject, $message, $from) { $headers = “MIME-Version: 1.0” . ”\r\n”; $headers .= “Content-type:text/html;charset=iso-8859-1” . ”\r\n”; $headers .= ‘From: ’ . $from . ”\r\n”; }

$result = mail($to,$subject,$message,$headers);
if ($result) return 1;
else return 0;

?>

Thanks David

Vasterad

PHP script used to work contact form in Incredible will be difficult to modify, so I’ll recommend to use your own script. I had problems too with this script (I’m not PHP expert).

Mikjgens Purchased

could you show us what to add to the code in order to include a required phone number field (in addition to what’s already included with the template)??

Vasterad

Hi, sorry but script used to work contact form is a little hard to modify, so I don’t recommend use it if you want have more fields.

craZed Purchased

Hi, can you please explain me, how i can make the flex slider pictures smaller? not all, only on some sites.

thank you so much!

Vasterad

Sorry for delay, but it was night and I slept. :D

So, look at this code from single item’s page:
<!-- 960 Container -->
<div class="container">

    <!-- Slider -->
    <div class="sixteen columns">
        <div class="flexslider home">
            <ul class="slides">
                <li><img src="images/portfolio/portoflio-single-01.jpg" alt="" /></li>
                <li><img src="images/portfolio/portoflio-single-02.jpg" alt="" /></li>
             </ul>
        </div>
    </div>

</div>
<!-- End 960 Container -->
You can modify width of elements here (can be from one to sixteen columns):
<div class="sixteen columns" />
This way you can add text on the right of slider: Slider’s width:
<div class="twelve columns" />
Text column’s width:
<div class="four columns" />
craZed
craZed Purchased

thats great !! thank you so much!

Vasterad

You’re welcome. :)

yorks Purchased

sorry, mispost

Xsempre Purchased

Purchased. Exactly what a template should be: simple, clean, yet very attractive and loaded with possibilities. Congrats. And I’m impressed with the support you are giving here. Looking forward to start customizing it.

Vasterad

Thanks for kind words! :)

Hello. I am trying to play a vimeo video on the homepage flexslider but am not having too much luck. Could you possibly send me the correct script to do so. I found this on woothemes

<li> <iframe id="player_1" src="http://player.vimeo.com/video/39683393?api=1&player_id=player_1" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> </li>
Vasterad

Could you provide me a link to your site and desired video? :)

wordpress version?

Vasterad

Hi, definitely will be available on Monday, because we want to update it on the weekend. ;)

Hello Vasterad, Thank you for you last reply. In the end I found another workaround. Now I am getting back to you regarding the portfolio images overlapping over themselves. The extra bit of CSS you gave me seemed to have fixed the problem, but I noticed in IE7 and IE8 images still overlap… Here is a screenshot: http://i45.tinypic.com/dpec75.jpg Do you have a fix for old versions of IE? How do you know what values to set for pic’s height?. Thanks in advance for you help…

Vasterad

Lol, I thought about four and twelve columns (4/12), sorry. :D As for overlayed thumbnails – you need to add extra style with height for each item’s container.

Default-user

hehe that’s what I thought ^^ Okay okay, thanks again. Have a good day ;)

Vasterad

Okay, have a good day too! :D

Hi. I have a problem, when placing an flash file the image appears as a thumbnail. My swf file is 940px by 600px.

Any ideas?

Thanks!

Vasterad

Alright, but what’s wrong? :)

thisnthatguy

I want the swf file to be full width, not thumbnail size. :)

Vasterad

Could you provide me a link to your site, please? I need to see code. :P

Hi thanks.

http://lustrum.com/reine/our-installations.html

There should be a full width flash item here. :)

Vasterad

Okay, I hope that you’ll be first buyer! :D

thisnthatguy

Already have it marked for a project ;)

Vasterad

Cool, so stay tuned. :)

Stunning, stunning theme. I was about to purchase then I saw you are working on the wordpress version so I will wait for it. If it’s not here soon I will buy this anyway and do the WP theme myself but no point if you have it in hand.

Vasterad

Will be 100% on Monday. It’s almost done, but we want to start with selling from next week. In WordPress release will be available dark version and Revolution Slider too, so stay tuned. :)

wisenerl Purchased

Nice, however rarely do I see other people’s design and be so impressed with them, no idea how I missed this before. I am a complete minimalist when it comes to design and that’s why I love this so much, so I bought it anyway :)

Vasterad

Thanks. ;)

sfedigan Purchased

Hello! I purchased your awesome theme and just launched my website. The menu is not working on Android. I was hoping you could take a look and help me out. http://sarahfedigan.com

Default-user
sfedigan Purchased

Yes, it seems to be working now. Must have been something with the phone. Sorry and thanks for getting back to me!

Vasterad

Ok, you’re welcome! :)

Hello. I’m trying to embed a vimeo video into the flexslider on the home page, and I’m running into difficulties. The video will show up, but when I click on the “play” button, the video won’t play at all, and the slider will just move onto the next slide instead.

I’ve downloaded the code for FlexSlider 2, and I’ve tried to add in the necessary JavaScript to get this to work, but I’m stuck.

Here is the site I’m working with: http://dev3.stephenministries.org/Templates/Centum/

Vasterad
in flexslider.js find this:
useCSS: true,
touch: true,
video: false,
and set to:
useCSS: false,
touch: true,
video: true,
Default-user

Wonderful! Works great. Thanks for the help. Very nice template, by the way.

Vasterad

Thanks, you’re welcome! ;)

wisenerl Purchased

Well I set up my site using this template, smooth and quick, that’s what I like about 960 grid. It’s certainly packed with everything you need. Spent yesterday converting it into a WP theme and just as smooth, wish more would lay their designs out like you. 5 stars..

Vasterad

Thanks! :)

I’m running into the same problem as brieygu… I need to be able to link to a specific tab within a page. Simply adding an anchor onto a link (www.mysite.com/mypage.php#tab2 doesn’t work. I tried brieygu’s suggestion of using javascript, but it’s still not working (i’m testing in firefox). My code is as follows:

<script type=\"text/javascript\">document.getElementById('tab2').click();</script>

Of course, this is wrapped in some PHP code to make sure that there is a call to tab 2, so it only gets run if the request is made. I added alert('working'); to the end of the javascript, and the popup worked… The only thing I could think of is that maybe it’s not working because the javscript is being placed within the tags, and not the head tag. Should that make a difference?

Any ideas?

Default-user

Vasterad, click() doesn’t work in FF

Vasterad

It defeinitely works for me.

by
by
by
by
by
by