Cool Contact – kontaktní modul pro CMS Joomla 1.5 |
| Pondělí, Duben 26 2010 |
Počátkem roku jsme provedli úspěšný přechod webu z CMS Joomla 1.0 na nový Joomla 1.5. S přechodem bylo spojeno i několik vylepšení, a to zejména v oblasti správy webu, zpřehlednění ceníků, sofistikovaný objednávkový formulář a přidána možnosti kontaktovat zákaznickou podporu přímo z webu. Zmíněný kontaktní formulář je jednoduchým modulem, který byl napsán správcem webu coolhousing.net pro to, aby usnadnil navázání kontaktu mezi klientem a zákaznickou podporou. Tento krok se ukázal jako povedený a zejména poslední dobou velmi využívaný. Častou využíváme různých doplňků do Joomly a proto jsme se rozhodli i naší troškou přispět. Zkušení Joomlisté jistě řeknou, že podobných kontaktních formulářů je mnoho a není třeba přispívat dalším. Náš Cool Contact je ale trochu jiný. Nenabízí pouhou možnost zobrazit kontaktní formulář na veřejné části webu – jeho předností je možnost jednoduchého provázání s Google Goals a v případě užití modulu na více stránkách jednoho webu zároveň (například na našich stránkách s nabídkou služeb naleznete kontakt vždy v dolní části webu), víte i z jaké stránky klient svou zprávu/otázku napsal. Stáhnout(Modul je nabízen zdarma tak, jak je! V případě škody vzniklé instalací nebo užíváním Cool Contactu společnost Coolhousing nenese žádnou zodpovědnost.)Krátký manuál s vysvětlením položekI u malého kontaktního formuláře se dá nastavit mnoho parametrů. Některé názvy a vysvětlivky mohou být zavádějící, proto zde uvedeme krátký popis. Small Intro Text - úvodní text u formuláře. Můžete napsat pár vět a nebo jej nechat prázdný
Mail from Name Label - popiska k první kolonce formuláře. Takto popisovaná položka se využívá jako jméno odesilatele.
Email Label - popiska k druhé kolonce formuláře. Takto popisovaná položka se využívá jako email odesilatele.
Subject Label - popiska k třetí kolonce formuláře. Takto popisovaná položka se využívá jako předmět zprávy.
Message Label - popiska k čtvrté kolonce formuláře. Takto popisovaná položka se využívá jako tělo zprávy.
Button Text - Formulář má jediné tlačítko, které slouží k jeho odeslání. To co bude na tlačítku napsáno ovlivníte právě zde.
Email Recipient - email, na který bude zpráva po odeslání zaslána
Thank you text - text, který bude zobrazen po odeslání formuláře
Thanks Text Color - barva textu s poděkováním (Př.: #FF0000)
Error page text - text, který bude zobrazen když se nepodaří email z nějakého důvodu odeslat
Error Text Color - barva textu s chybou (Př.: #FF0000)
No Email Error Message - jediný email je z celého formuláře povinnou položkou. Pokud jej žadatel nevyplní, nemůže email odeslat
Invalid Email Error Message - barva textu se zprávou pro chybějící email (Př.: #FF0000)
Name Width - délka kolonky v pixelech (pouze číslo)
Email Width - délka kolonky v pixelech (pouze číslo)
Subject Width - délka kolonky v pixelech (pouze číslo)
Spam Width - délka kolonky v pixelech (pouze číslo)
Message Width - délka kolonky v pixelech (pouze číslo)
Button Width - délka tlačítka v pixelech (pouze číslo)
Exact URL - pouze pomocné nastavení, pokud Váš hosting odporuje http i https
Disable HTTPS - někdy může https dělat problémy v kombinaci s dalšími komponentami Joomly
Anchor for url - když odešlete formulář, tak se stránka obnoví. Je li formulář v dolní části webu, musíte scrolovat, aby jste viděli zda-li byl nebo nebyl email odeslán. Touto položkou vytvoříte kotvu, díky které budete po odeslání formuláře opět nasměrován k formuláři.
Enable Anti-spam - spam je všudepřítomný. Pokud ovšem modul zobrazujete jen registrovaným uživatelům, je antispam zbytečný.
Anti-Spam Question - antispamová otázka dle Vašeho uvážení
Anti-Spam Answer - správná odpověď na antispam otázku
Enable Image - chcete obrázek u formuláře?
Select Image - vyberte obrázek k formuláři
Image CSS - CSS styly ovlivňující obrázek
Enable Google Goals - používáte-li Google goals, můžete jej zde aktivovat
Google Goals script - vložte script pro Google Goals
Module Class Suffix - přidejte suffix k třídě modulu
Enable Link for Coolhousing - používáte-li náš modul a jste s ním spokojeni, budeme rádi když u modulu zobrazíte náš odkaz. Díky
Comments (29)
![]() written by Jirka Coolhousing, August 13, 2010
Thank you for your report, bug has been fixed and one new feature (phone label) has been added.
Bug fix: - no line breaks in email (repaired) New feature: - added phone label - enable/disable phone label option written by Martin Danko, September 10, 2010
Hello, I have tried your COOL CONTACT module and it is really awesome and easy to setup and use. The only thing which I can`t solve is that I need to show this form only on the level of Articles and not in the categories and sections.
In the setup menu I am able to select specific items on the menu where it should be shown but it works both for articles and categories. Is it possible to narrow the selection only to Articles? Thank you for any answer. Kind regards written by Tadej, September 18, 2010
Hello,
Im interesting how i get the plugin work?? Do i must create a article or ?? how to get it to work.?? Thanks four your help, lp, TadejR
written by Jirka Coolhousing, September 20, 2010
To Martin Danko: It is a bit complicated. At the moment it is not possible, but i will try to find solution for you.
To Tadej: Cool contact is a module - not a plugin. YOu can place this module to your template to all pages and all positions...
written by David, September 24, 2010
If you want the module to appear in an article...
1. Control Panel > Extensions > Plug-in Manager Enable the plug-in "Content - Load Module" 2. Control Panel > Extensions > Modules Edit the module "Cool Contact" and overwrite the position to be a name of your choice eg. cool-contact 3. In your article, insert the string... This will show your module in an article. Good luck! written by John, September 29, 2010
Greetings, great module but I get a 'Could not connect to SMTP host' error whihc hopefully you can help with. Regards, John
written by Nuno, October 08, 2010
It's a great module. I have one request. Basically I prefer to see the mail is coming from my website instead of the sender name on my inbox. It seems like this now:
Nuno Inquiry You received a message from:..... I'd like to see like this for every single one: mywebsite.com Inquiry You received a message from...... It will not be any confusion in this way and I'll be able to see which mails are spam which ones from my website. Kind Regards Nuno written by David, October 12, 2010
If you want the module to appear in an article...
1. Control Panel > Extensions > Plug-in Manager Enable the plug-in "Content - Load Module" 2. Control Panel > Extensions > Modules Edit the module "Cool Contact" and overwrite the position to be a name of your choice eg. cool-contact 3. In your article, insert the following string between curly brackets... loadposition cool-contact written by djg, October 13, 2010
hey hi i dont get my emails.when i submit firefox says Unable to connect....and i dont get the emails also..Please reply as soon as possible.thank you....
written by Jorge Coello, November 11, 2010
How put a value initial in subject instead the user write your own subject.
also I put the module inside a article with this extension: http://www.nonumber.nl/extensions/modulesanywhere and work very well. written by Ugo, November 30, 2010
Loading a module in an article
where my position is the value of the position in the module setting written by Phil Sanz, December 01, 2010
hi eveybody,
your module it's amazing, so cool to set up!!! I like that! but when I sent an email the CCS for image appears (float: right; margin: 5px; border: 0px on my page web!!! another thing, I don't know if it's normal but all the field dissappear after I sent my email And last thing, after sending an email, if I type F5 my site web gone!!! I've got to click on contact if I wanna stay on my site!! written by Phil Sanz, December 01, 2010
hi, for the css image it's allright now.but for the F5 it's still the same.
written by michael, January 30, 2011
I keep getting the warning message "please write a valid email" when i test this contact form. Am i doing something wrong?
written by dejoe, February 13, 2011
Try to incorporate ReCaptcha instead of the anti-spam question. The extension is very superb, look forward to an improved version.
Thanks written by Kenan, May 01, 2011
hello
i didint receive in my recipient mail contact responding why? written by Cristian, May 25, 2011
nice module thanks i have one suggestion it will be nice to add a height setting for the message box.
written by Ash, July 27, 2011
Hi guys, I've been looking for a great quick contact form for a while and found yours, while it is easy to set up and looks good, I'm wondering if there is supposed to be a delay on when you hit the send button and when it is received by the specified contact... because I have installed the module and sent a test contact to the address and it still hasn't come through some 15 minutes later.
If it arrives before I get a response I'll let you know, otherwise it'd be great to know if I have a problem or not. Ta written by Ash, July 27, 2011
The message was being sent to my trash. Soooo... feel free to ignore me and thanks for the great module.
Ta written by shinigami, September 29, 2011
Hello, very nice module, thank you very much.
I was wondering how to grab the IP of the sender on submit and how can I add more fields? Thanks written by Max, November 01, 2011
Hi I really liked the module, but was having an error about deprecated function in php 5.3 to do with eregi on line 86 of mod_cool_contact.php file. found a work around and here it is
this is the unchanged line if (!eregi("^[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]+)*(.[a-z]{2,3})$", $_POST["co_email"])) This is the fixed line if (!preg_match("/^[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]+)*(.[a-z]{2,3})$/i", $_POST["co_email"])) Hope it helps someone get the form working . Thank you written by Jirka D, November 01, 2011
Max, thank you for your advice. At the moment I´m working on new version and this informations is helpful for me.
written by Max, November 09, 2011
It's me again, the form just doesn't send any email, a php test script and other forms work, just this one is having problems. What I think is happening is the fact that this is not compatible with later versions of php. the default version that my host uses is 5.3.8, and through cpanel i dropped it down to 5.1.6 and it worked once and again stopped working. I hope a solution can be found as I really like this module. Hoping there will be good news and thank you in advance.
written by Max, November 17, 2011
Me again, after further testing on a better hosting everything is working as it should be. Just have a small question, how can I remove the url from the email body?
written by Jdornski, January 10, 2012
Hi:
I am following these instructions Correction to module appearing in an article written by David, října 12, 2010 >If you want the module to appear in an article... >1. Control Panel > Extensions > Plug-in Manager >Enable the plug-in "Content - Load Module" >2. Control Panel > Extensions > Modules >Edit the module "Cool Contact" and overwrite the position to be a name of your >choice eg. cool-contact >3. In your article, insert the following string between curly brackets... >loadposition cool-contact But on step 2, I do not know how to get Module cool contact" to appear in the list. I have uploaded the 3 files into public_html/modules/mod_coolcontact (just guessing). help please Write comment
|











Thank you for your module, it's been easy to set up and sends mail, which is great! But the message received has no line breaks.
You received a message from: n Name MunecanPhone 4155551212nEmail email@gmail.comn(http://dangerouscat.com/lmylm/press-kit)nnthis is a test message
At http://php.net/manual/en/function.echo.php it says:
"Outputting n won't generate a line break in the browser,
is required for line break."
How do I change the script so that it will appear like the example below?
You received a message from:
Name: Muneca
Phone: 4155551212
Email: email@gmail.com
this is a test message