Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
That could make mail delivery fail, but the local mailserver should still accept the mail and attempt to send it. And even if the local mailserver didn’t accept it, it shouldn’t cause a HTTP 500 error. Yet it does. If you can be sure that it is the TO email address, perhaps you can try a minimal custom PHP script that just sends and email to that address. If that crashes as well, at least we know it’s not something in ZCR that’s buggy:
<?php mail('to@example.com', 'my subject', 'my message'); ?>
Last edited by ruud (2007-01-23 07:32:14)
Offline
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
ruud wrote:
zanza, let me think about making customizable email messages. I think just one form will suffice, combined with a conditional tag to differentiate between recipients (to vs. cc)
Thanks ruud for thinking about that. It would be useful also for other related plugins, i.e, web-survey. This hypotetical plugin could build questions via your API, and at the end send a thanks mail to the user without all the data he filled.
And so on.
Bye
Z-
Offline
#93 2007-01-25 10:34:41
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
I upgraded my plugins, restyled css and made this simple form:
<txp:zem_contact to=“margusson@hot.ee”>
<txp:zem_contact_email />
<txp:zem_contact_text label=“Phone” min=7 />
<txp:zem_contact_textarea label=“Enquiry” />
<txp:zem_contact_submit label=“Enquire” />
</txp:zem_contact>
but I got this error:
Fatal error: Call to undefined function zem_contact_gTxt() in /www/06/muinasjutupidu.ee/textpattern/textpattern/lib/txplib_misc.php(512) : eval()’d code on line 12
Offline
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
gallex, I think you didn’t install zem_contact_lang or that plugin is not yet active.
Offline
#95 2007-01-25 11:10:02
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
ruud wrote:
gallex, I think you didn’t install zem_contact_lang or that plugin is not yet active.
of course I didn’t activate it!…idiot me , ohjah :)
Offline
#96 2007-01-25 14:34:29
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
please help me to style <txp:zem_contact_radio /> , <txp:zem_contact_select /> and <txp:zem_contact_checkbox /> in my form!
I’m watching my page source and I just don’t get it what classes I have to create. I’m going crazy allready :(
opera actually displays all correctly, but ie and firefox doesn’t
Offline
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
Hmm…. I really should get the next version out of the door, which has classes for each of those element tags (radio, select, checkbox, text…) instead of a separate class/id for each individual form element.
Still, as far as styling goes, the HTML source should provide enough clues for styling, otherwise you need a CSS manual. Keep in mind though that some proprietary CSS extensions (like scroll bar colors) won’t work in Firefox.
Offline
#98 2007-01-26 11:50:59
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
ruud wrote:
Still, as far as styling goes, the HTML source should provide enough clues for styling, otherwise you need a CSS manual. Keep in mind though that some proprietary CSS extensions (like scroll bar colors) won’t work in Firefox.
you have all rights to be angry for stupids like me, but belive me ,I tried everthing and it just don’t work…. I just want to get this (radio and checkbox) floating stuff correct. please, give me a hint
Offline
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
No anger here ;)
Your classes look like this: qe4578092ee013ea8c2a5e82a64809280
Not very practical. For easier class names, you’d have to specify the ‘name’ attribute for each form element or wait for the next version (mail me for a development copy, if you want to test) which adds classes like zemRadio, zemCheckbox to the corresponding form elements.
Offline
#100 2007-01-26 13:13:49
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
ruud wrote:
Your classes look like this: qe4578092ee013ea8c2a5e82a64809280
classes, not id’s?
Not very practical. For easier class names, you’d have to specify the ‘name’ attribute for each form element
ok, I added attribute name=“toit” to checkbox (<p><txp:zem_contact_checkbox name=“toit” label=“Hommikusöök:” break=”“ /></p>)
in source it looks now like this:
<p><input type=“checkbox” id=“toit” class=“zemRequired” name=“toit” /><label for=“toit” class=“zemRequired toit”>Hommikusöök:</label></p>
and made css:
#toit checkbox{
margin-left: 0.6em;
float: right;
}
but nothing happens :( what I’m missing?
Offline
#101 2007-01-26 13:29:54
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
Classes are needed because there can be multiple forms on the same page.
Try
.toit { margin-left: 0.6em; float: right; }
Last edited by ruud (2007-01-26 13:30:41)
Offline
#102 2007-01-26 14:19:50
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
ruud wrote:
Classes are needed because there can be multiple forms on the same page.
Try
.toit { margin-left: 0.6em; float: right; }
nothing happened. but when I made:
#toit {
margin-left: 0.6em;
border:0;
float: right; }
it floats but…from text which follows not from its own label “Hommikusöök” ,it’s seems to me….???
look at yourself
ruud, where in a source you see class=“toit”?
<p><input type="checkbox" id="toit" class="zemRequired" name="toit" /><label for="toit" class="zemRequired toit">Hommikusöök:</label></p>
I see id=“toit”
Offline
#103 2007-01-26 15:02:32
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
Oops, my mistake… you’re right, it’s an ID, not a class. I accidentally looked at the label, it’s a class there.
Perhaps someone else can help with the actual styling of those elements. I fear my CSS skills are not that good.
Offline
#104 2007-01-27 01:28:07
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
Gallex wrote:
Classes are needed because there can be multiple forms on the same page.
#toit { margin-left: 0.6em; border:0; float: right; }it floats but…from text which follows not from its own label “Hommikusöök” ,it’s seems to me….???
look at yourself
That is correct behaviour: the radiobutton is floated, but not the label. You’d have to wrap the combo label+radiobutton in a span, float that one, and float the radiobutton right as well. Then you’ll have the effect you expect, if I understand you correctly.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
#105 2007-01-28 14:04:47
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)
phiw13 wrote:
That is correct behaviour: the radiobutton is floated, but not the label.
yes, but how to get the checkbox label to be floated not the checkbox? that’s the main issue for me.
You’d have to wrap the combo label+radiobutton in a span, float that one, and float the radiobutton right as well. Then you’ll have the effect you expect, if I understand you correctly.
no I didn’t get…and I already have label+radiobutton wrapped in paragraph ( <p><input type=“checkbox” id=“check” class=”“ name=“check” /><label for=“check” class=” check”>Hommikusöök:</label></p> ) and floating right was absolutly unuseful.
and floating checkbox right…it floats from the text which follows not from label, unuseful as well.
somehow I managed to style the forms (I used <br> and margin-right) quite like I wanted, but it is absolutly wrong solution. if someone managed to style <txp:zem_contact_radio> and <txp:zem_contact_checkbox> correctly (label left button right) please let me know. and If somebody knows how to get border around the select form please let me know as well. thank’s
Offline