Textpattern CMS support forum
Please go to http://bitbucket.org/Manfre/txp-plugins if you…
- are having a problem and want to report a bug
- would like to request a new feature
- are looking for documentation
- are looking for the plugin code
- are looking to download the latest ready to install plugin file
I do not regularly follow this thread anymore. Any problems or questions posted here will most likely only get answered by other forum members.
This plugin allows for a site owner to create an article edit form on the public side of their site.
I had originally planned on ransoming this plugin, but after doing nothing with it for ~7 months I figured I might as well release it. Donations welcome
Last edited by Manfre (2010-10-03 16:20:12)
Manfre, this looks like it might simplify the process I’d written to you about with smd_query and mem_simple_form a great deal. Thank you again.
Could it be that a key attribute –
article_id – is missing from the help docs? Am I right in assuming by specifying this – or via a tag-in-tag – one can prepopulate the form with data from an existing article so that one can edit existing articles?
I was doing a little test with the following code:
<txp:mem_public_article article_id="1"> <txp:mem_form_text name="Title" /> <txp:mem_form_textarea name="Body_html" /> <txp:mem_form_submit /> </txp:mem_public_article>
however i get this error on submit:
Tag error: <txp:mem_public_article article_id="1"> -> Textpattern Notice: You must provide a table name as an attribute to mem_simple_form on line 101
It loads the article, why does it ask me for a table when I press submit? Is it a bug or am I misunderstanding things?
Cheers – Jan
Tag error: <txp:mem_public_article article_id=“1”> -> Textpattern Notice: You must provide a table name as an attribute to mem_simple_form on line 101
Do you happen to have mem_simple_form also active on the same installation? If so, does the error occur when you deactivate mem_simple_form (which should not be needed for mem_public_article)?
Thanks Jakob and Manfre. I did indeed have mem_simple_form v0.1 installed, I think it is still not working as supposed, but I’ll report on that later…
Last edited by JanDW (2009-09-25 03:15:23)
Same problem with mem_simple_form 0.3 here. It’s now deactivated
No more “you must provide a table name” error.
But, when I fill and submit the form, it tries to open a page which doesn’t exist. And the article is not present in the admin.
here is the content of my “public-article” form:
<txp:mem_form_text name="title" label="Title" /> <br /> <txp:mem_form_text name="section" label="Section" /> <br /> <txp:mem_form_textarea name="body" label="Body" /> <br /> <txp:mem_form_text name="author" label="Auteur" /> <br /> <txp:mem_form_submit />
could someone please post only one working example, I’m spending my afternoon trying to figure out how to use and what are the relationships between Manfre’s temptating public side plugins !
Last edited by PascalL (2009-10-03 21:39:56)