You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees
when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.
IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.
You are not logged in.
Pages: 1
Hi David, i have some questions.
1)
how to show error message, when user clicks to blank input message without pickup code?
http://www.maianscriptworld.com/demos/greetings/index.php?cmd=pickup&code=
or, how to block blank input click with js?
2) how to release preview and send buttons on primary page simultaneously? ( i mean a opportunity to send a card without preview)
3) and question about captcha) anybody installed it and maybe share worked codes for me?)
Offline
In the relevant template you can do:
<?php
if (isset($_GET['code']) && $_GET['code']=='') {
echo 'Please enter code..';
}
?>
Preview is required as this loads some hidden form fields. Changing it to not have a preview would be a little tricky and require many changes.
Offline
In the relevant template you can do:
<?php
if (isset($_GET['code']) && $_GET['code']=='') {
echo 'Please enter code..';
}
?>
where i put it? i paste this code in pickup template, but it doesnt work. can u assist with this? may be i need to paste this code in index.php, but i have already triend, doesn't work too.
Offline
I assume it can go in the showcard.tpl.php template file. Or in the main index.php file. On line 3288 find:
$code = (isset($_GET['code']) ? strip_tags($_GET['code']) : '');
So, after that.
if ($code=='') {
echo 'Error';
exit;
}
Offline
it doesnt work too) after it i see blank white page with text: error ![]()
Offline
Yes, so that means its working because thats what that code does. You can adapt it better if you want to.
Offline
Pages: 1