Textpattern Forum

You are not logged in. Register | Login | Help

#81 2012-03-15 17:34:56

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,071
Website

Re: mem_simple_form

Hi all.

Do you think it is possible to create a “preview” button with mem_simple_form as the TXP commenting system offers?

Tks for your reply.

Offline

#82 2012-06-29 19:30:17

sacripant
Plugin Author
From: Dakar – Sénégal – Africa
Registered: 2008-06-01
Posts: 384
Website

Re: mem_simple_form

Hello mem_simple_form users,

Would you know if a solution exist for implementing multiple forms on one page?

mem_simple_form generates an id for the form and if you place several on one page form, all forms have the same id.

An idea? Thanks

Offline

#83 2012-08-02 15:01:17

MarcoK
Plugin Author
From: Como
Registered: 2006-10-17
Posts: 238
Website

Re: mem_simple_form

Jackob how you obtain

'?logged-in-user' as user login name by the variable?

Rah_function work with php function…but get_author_name is not a php function?

I don’t understand how your script work.
I hve the same problem… andi need understand the secret!

Last edited by MarcoK (2012-08-02 15:02:50)

Offline

#84 2012-08-02 15:29:39

MarcoK
Plugin Author
From: Como
Registered: 2006-10-17
Posts: 238
Website

Re: mem_simple_form

Ok, i found my answor by whaleen

Offline

#85 2015-02-08 12:07:41

mmelon
Member
Registered: 2006-03-02
Posts: 86

Re: mem_simple_form

does this plugin still work? I am getting a few errors on the page adding example from manfre:

Tag error: <txp:mem_simple_form table=“txp_page” id_field=“name” id_insert=“0”> -> Textpattern Error: Unknown column ‘submit’ in ‘field list’ while parsing form default on page archive

Tag error: <txp:mem_simple_form table=“txp_page” id_field=“name” id_insert=“0”> -> Warning: mysql_error() expects parameter 1 to be resource, boolean given while parsing form default on page archive

Tag error: <txp:mem_simple_form table=“txp_page” id_field=“name” id_insert=“0”> -> Textpattern Notice: Failed to store data to table. while parsing form default on page archive

Textpattern version: 4.5.7 (r5900)

Offline

#86 2015-02-09 12:59:38

mmelon
Member
Registered: 2006-03-02
Posts: 86

Re: mem_simple_form

can’t seem to get either mem_simple_form or mem_public_article working. Does anybody have any ideas?

Offline

#87 2015-02-09 16:42:33

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 6,468
Website

Re: mem_simple_form

mmelon wrote #288096:

does this plugin still work?

I believe so, but haven’t tried it recently.

Regarding your specific error, have you tried id_insert="1"? I’m not sure how you’re using this, but the txp_page’s primary key is not generated by Txp: it’s the name you supply. From what I can gather from the docs, you only set this attribute to 0 if the key field you nominate is an auto_increment.

Also check and double check your form fields in the container. They must adhere to the correct type_name convention or they won’t get inserted. And if you have a submit button in the form and you’ve renamed it, you’ll need to use the ignore_fields attribute to tell the plugin the name of your submit button. By default it excludes submit buttons named with the default mem_form_submit: if you’ve altered that, it’s probably trying to insert your submit button data into the table, when that column doesn’t exist.

Not sure if any of those will fix the issue, but they might be worth a shot.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#88 2015-02-09 21:40:09

mmelon
Member
Registered: 2006-03-02
Posts: 86

Re: mem_simple_form

thanks stef i will try your suggestions. I just assumed that the example given by the plugin author would still work. I feared the worst when it spat out so many errors.

Thanks for the help.

Mike

Offline

#89 2015-02-12 23:56:20

sacripant
Plugin Author
From: Dakar – Sénégal – Africa
Registered: 2008-06-01
Posts: 384
Website

Re: mem_simple_form

Hi,

I use with success mem_simple_form in a txp 4.5.1 installation (yes, I now, need a upgrade).
It’s for my personnal project manager (more info in french).
A Git repository exist in you want see how I use mem_simple_form for create new articles from front-end.

Offline

#90 2015-04-13 10:46:39

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 691
Website

Re: mem_simple_form

Hello,

Maybe this is trivial, but… Does anyone know if it’s possible to send the content of mem_simple_form also by email? I managed to save the form in a txp db table, but I’d also like it to be notified by email.

Thanks a lot!

Offline

Board footer

Powered by FluxBB