Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#136 2007-12-22 16:47:51

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

darock, please re-phrase your question. It is not clear to me what you’re asking. If possible, give an example.

Offline

#137 2007-12-22 17:00:09

darock
Member
Registered: 2007-11-23
Posts: 54

Re: zem_contact_reborn 4.0.3.20

Ruud- When I write an article but am using the hak_tinymce WYSIWYG editor instead of textile, is there a way to input the the zem_contact tag into the article? For example, I inputted

<txp:zem_contact  to="xxx@gmail.com" label="" form="contactform" /> 

when writing an article and using the WYSIWYG editor but it didn’t show up. I know the contact form will show up if textile is on, though.

I hope this is clearer.

Offline

#138 2007-12-22 17:06:51

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

In your TXP preferences, do you allow TXP tags inside articles? ZCR tags are no different from other TXP tags.

Offline

#139 2007-12-22 17:25:18

darock
Member
Registered: 2007-11-23
Posts: 54

Re: zem_contact_reborn 4.0.3.20

I don’t see an option for that in my Preferences Admin tab? I have the Use Textile field set to “Use Textile” as opposed to “Leave Text Untouched”

Offline

#140 2007-12-22 18:44:10

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

I am stupid. There is no such option. I thought there was, but apparently there is not.
How does that tag show up in the HTML source of your page and in the tag trace (visible in the HTML source when your site is in debug mode)?
Also, do other tags work when using hak_tinymce? If not, you should ask this question in the author support topic for that plugin, because then it’s related to hak_tinymce instead of ZCR.

Offline

#141 2007-12-22 22:35:43

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: zem_contact_reborn 4.0.3.20

The problem of hak_tinymce is that it eats txp tags when swithing the view of article. It’s common problem of that plugin


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#142 2007-12-22 23:41:11

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: zem_contact_reborn 4.0.3.20

the_ghost wrote:

The problem of hak_tinymce is that it eats txp tags when swithing the view of article. It’s common problem of that plugin

its not a ‘common problem’ of that plugin. its just tinymce does not read txp tags. its what happens when you want to use a wysiwyg editor.

Last edited by iblastoff (2007-12-22 23:42:01)

Offline

#143 2007-12-23 18:10:11

darock
Member
Registered: 2007-11-23
Posts: 54

Re: zem_contact_reborn 4.0.3.20

lol. No worries- it happens to the best of us.

in debugging mode, the code looks like this;

<p><br />&lt;txp:zem_contact&nbsp; to=&quot;xxx@gmail.com&quot; label=&quot;&quot; form=&quot;contactform&quot; /&gt; </p>

I don’t believe other txp tags work either with this editor as I’ve tried before. I could’ve sworn there was a work around this but I’ll look into it. If I find something, I post back. thx.

Last edited by darock (2007-12-23 18:10:27)

Offline

#144 2007-12-23 18:20:27

darock
Member
Registered: 2007-11-23
Posts: 54

Re: zem_contact_reborn 4.0.3.20

I didn’t notice it, but there were 2 responses prior to mine. I guess it’s not possible to use TXP tags in the editor.

So since the editor eats up the TXP tags does this mean that the only to input this form or any type of TXP tag for that matter, is to stay in Textile mode for that particular article?

Offline

#145 2007-12-23 19:05:25

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

Or (if possible in your situation) move the TXP tags to the template instead of entering them in the article.

Offline

#146 2007-12-24 02:31:44

darock
Member
Registered: 2007-11-23
Posts: 54

Re: zem_contact_reborn 4.0.3.20

Does this plugin allow one to upload documents/files or is there one that does? I was reading through the guide but didn’t see anything that might have resembled it.

Offline

#147 2007-12-24 09:02:12

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

Nope, it does not support file uploads.

Offline

#148 2007-12-28 11:36:09

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: zem_contact_reborn 4.0.3.20

Ruud, I have 2 forms on a site that uses a foreign language as a default. zem_contact_lang has been edited to reflect that language.

Now we have created a second form in English, I was wondering if its possible to have any error text display in English for the English language form?

Offline

#149 2007-12-31 20:26:48

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: zem_contact_reborn 4.0.3.20

Another question – I have this code that correctly produces a button instead of an input:

<li><txp:zem_contact_submit><img src="/images/5.png" alt=""/>Save</txp:zem_contact_submit></li>

But I can’t see how to add a class to the button itself – i.e class=“save”

Edit: I know I can use the default zemSubmit class, but is there a way to set my own class to the button?

Last edited by jstubbs (2007-12-31 20:35:23)

Offline

#150 2007-12-31 22:43:30

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: zem_contact_reborn 4.0.3.20

jstubbs, You could wrap the submit tag with another tag to act as a pointer so you can isolate that instance in the css.

Offline

Board footer

Powered by FluxBB