73 comments found

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • India
  • Sold between 100 and 1 000 dollars

Hi, I am very existed using your eleganmt template and it works well for me. I have an issue related to contact form, i have added a field called a mobile and need it to validate for numbers only also i need to get the mobile data to my email.

thanks in advance Arun

ParkerAndKent

Hi,

did you check the php/sendMail.php file of the template? All the fields are checked there and always in this file is composed the message with all the info.. so basically what you have to do is to play a little in this file.

Do you have any php knowledge to do this or you need help? If you need help I’d need to see the field you added to the html…

Cheers,

Parker

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • India
  • Sold between 100 and 1 000 dollars

Hi, Thanks for your quick response, i am just a logo designer. I don’t have any knowledge on PHP , it would be great if you could help me.

I have already added the field on the contact.html, now what i need is to validate that field (field name MOBILE ) to numbers only and lastly when submitted it should be in my email with rest of the details.

thanks in advance Arun

ParkerAndKent

Hi Arun,

can you paste on pastie.org the html of your contact form? Once you’ve done paste me here the link of your code.

Parker

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • India
  • Sold between 100 and 1 000 dollars

Thanks for your reply:

Contact.html: http://pastie.org/4056625 Sendmail.php: http://pastie.org/4056638

thanks!! Arun

ParkerAndKent

Hi Arun,

give me some time and I’ll let you know here in the next hours ;)

Parker

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • India
  • Sold between 100 and 1 000 dollars

Thanks Arun

ParkerAndKent

Hi,

you’re welcome :)

Make your sendMail.php file like this: http://pastie.org/4057115

This should validate the mobile number and attach it to the email subject.

Parker

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • India
  • Sold between 100 and 1 000 dollars

Hi, Thanks for your support, but its not working. Even if i put in the numbers in the mobile field and try submitting it, it says – please enter mobile number.


Check: http://www.firebrands.in/contact.html
thanks
Arun

ParkerAndKent

Hi Arun,

obviously I didn’t have the chance to try it… tomorrow I’ll look better into the validation function, maybe some mistakes on my side ;)

Cheers,

Parker

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • India
  • Sold between 100 and 1 000 dollars

Hi Parker,
Thanks for your support, looking forward to solve this issue.
thanks
Arun

ParkerAndKent

Hi Arun,

the problem with the mobile numbers check is that the preg_match function must check a specific format.

This function that I used:

preg_match(”/^([1])?[0-9]{3}[0-9]{3}-[0-9]{4}$/i”, $mobile)

is good to validate american numbers like:

555-123-4567 or 1-800-555-1234.

Now, I really don’t know how to create specific regular expressions, but if you ask on the forum or google a little, you will find for sure the regular expression to check your numbers format: in that case you will need to replace this part:
"/^([1]-)?[0-9]{3}-[0-9]{3}-[0-9]{4}$/i" 
with the exact regular expression.

Additionally, in the html form, I would add next to the Mobile label an example of valid numbers, so users will know how to enter it…

This format: 555-123-4567 is different than this one: 5551234567 or than this: 555 123 4567

So based on the format you require you will have a regular expression for the check and your users will know how to enter their number correctly.

Hope it’s clear ;)

Parker

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • India
  • Sold between 100 and 1 000 dollars

Hi Parker,

Thanks for your support, i did google and came across with simple numeric validation, which works fine for me.

return !preg_match (”/[^0-9]/”, $mobile);

thanks

Arun

ParkerAndKent

Hi Arun,

oh ok, if that simple check works for you I’m happy ;)

Cheers,

Parker

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

Great website!

Quick question: When I resize the browser window, the placement of the logo on the top left gets adjusted too. Is there a way to make it fixed so it doesn’t get moved around?

Much thanks! DV

ParkerAndKent

Hi,

open the pk_style.css file and replace line 227:

.pk_logo{ position:absolute; margin:0px; padding:0px; z-index:9000; text-indent:-9999px; }

with this one:

.pk_logo{ position:absolute; margin:0px; padding:0px; top:40px !important; left:0px !important; z-index:9000; text-indent:-9999px; }

Parker

  • Bought between 10 and 49 items
  • Has been a member for 1-2 years
  • United Kingdom

The background makes the site to be honest, it’s awesome. Nice Design m8

ParkerAndKent

Hi,

we made it… not so awesome, just ok :)

Parker

  • Has been a member for 3-4 years

Hey there, first, well done, I think your websites are the most beautiful ones.

Well, I was going to purchase this template to test it and I wanted to have some info about:

- could I use as first page (instead of that box with last projects etc) a picture or a video like in the flickr template? (this would be fondamental for me I think)

- is there any big difference between the wordpress one and this (a part from the wordpress). I would use it as photography site so I need just what is shown on the the template with of course some changes like the home, colors, background, and if I can bottons color.

Thank you a lot guys!

ParkerAndKent

- yes, you can use any pages as homepage but remember that it’s a html template and the flickr feature it’s not available

- there are two skins, light and dark. You can edit the pk_skin.css file to change all colors.

kent

  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
meste Purchased

Hi parker,

I have another two of your templates, both Flash and I already learned how to edit the xml files.

My question re this template is around how different/difficult is to edit it.

Can I get a sample file from somewhere to see what it takes?

Thanks, Serban

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

Hi Parker,

great theme… Is it possible to change the slideshow images to be a bit smaller, so when the thumbnails is open there’s still room between the big image and the thumbnails.

Default-user

I solved it in the js/pk_gallery_alpha.js file in the pkResizeObject function.

  • Bought between 50 and 99 items
  • Has been a member for 2-3 years
  • Indonesia

No one is gonna help us, dear fellow naive buyers of this theme.

i highly recommend not to buy all his works .. none of them have support anymore .. you can check from all his portfolio ..

please, no offence to you all guys, just very angry with this author, waste my money is one thing, but his label elite author make me sucks .. what an asshole ..

by
by
by
by
by
by