You are not logged in.
Please go to http://bitbucket.org/Manfre/txp-plugins if you…
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)
Offline
Manfre,
Your link is wrong there ace. ;)
Here’s the correct link
Thanks for this!
Last edited by renobird (2009-09-16 01:40:03)
Offline
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?
TXP Builders – finely-crafted code, design and txp
Offline
It’s missing from the documentation. article_id can be either a number or a txp tag that will yield an article id.
Offline
Great, thanks for the rapid feedback. That makes the plugin a potential all-in-one solution :-)
TXP Builders – finely-crafted code, design and txp
Offline
Hi Manfre,
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
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
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)?
TXP Builders – finely-crafted code, design and txp
Offline
@JanDW, you have an old version (v0.1 or v0.2) of mem_simple_form activated. Either update to v0.3 or deactivate the plugin.
Offline
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)
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
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 !
Thanks!
Last edited by PascalL (2009-10-03 21:39:56)
Offline