Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
plh_front_edit
plh_frontEdit
Create and edit your content from front end on the fly.
Built upon the previous plh_edit_in_place but with support of custom_fields and other and of course txp4.5.4 compliant.
Download and help with template examples on Bitbucket.
You can view a screencast of the plugin on Vimeo.
This is much heavier and less simple than plh_edit_in_place. At the moment i don’t know if the 2 are needed. We’ll see in this thread if there is a need.
Edit, 2015-01-22 : Please, also note that this plugin is not tested for version higher than 4.5.4.
front_edit will need to be completely rewritten for newer version of tetxtpattern.
Last edited by planeth (2015-01-22 10:22:03)
Offline
Re: plh_front_edit
Awesome, I need to test this. By the way, does it require jQuery 1.7.1 or at least 1.7.1 (and also works with 1.9 for example)?
Yoko for Textpattern – A free blog theme • Minimum Theme – If all you want to do is write.
Note: I am currently not actively using Textpattern, so I am not in the forums very often
Offline
Re: plh_front_edit
At least jQuery 1.7.1
Offline
#4 2013-04-19 14:53:56
- jelle
- Member
- Registered: 2006-06-07
- Posts: 165
Re: plh_front_edit
Looks like a great plugin. Can’t get it to work.
Textpattern 4.5.4
jQuery 1.7.2
I’m logged in.
I get the following error in my console: Uncaught ReferenceError: textpattern is not defined
Can you give an example on how to use the tags?
Offline
Re: plh_front_edit
<txp:cbe_frontauth_protect>
<txp:plh_new_article section=“your-section”>
<txp:plh_front_input id=“Title”><txp:title /></txp:plh_front_input>
<txp:plh_front_textarea id=“Body”><txp:body /></txp:plh_front_textarea>
</txp:plh_new_article>
</txp:cbe_frontauth_protect>
Would be something like that
And you need to visit your page with ?plh_create_article=1 appended to the url (see help)
Last edited by planeth (2013-04-19 18:55:14)
Offline
#6 2013-04-19 19:56:58
- jelle
- Member
- Registered: 2006-06-07
- Posts: 165
Re: plh_front_edit
Hi Aleth,
I’ve setup everything as its supposed to be but it’s not working for me. Still a “Uncaught ReferenceError: textpattern is not defined” on the javascript, line 99.Offline
Re: plh_front_edit
Can you describe a bit ?
What is your markup ?
What do you get after login ?
Offline
#8 2013-04-19 20:19:42
- jelle
- Member
- Registered: 2006-06-07
- Posts: 165
Re: plh_front_edit
Markup is the default txp4.5.4 theme.
After login: I’m sorry. I’m afraid I can’t do that; article update is an unsafe operation.
Offline
Re: plh_front_edit
OK, its a problem of permission.
What’s your group permission ? You need write permission.
check the cookies values .
What is your admin path ?
I’ll be out for the whole day.
Offline
#10 2013-04-21 13:16:55
- jelle
- Member
- Registered: 2006-06-07
- Posts: 165
Re: plh_front_edit
I got full control, I’m the publisher of the textpattern install.
Admin path is correct.
Cookies txp_login and txp_public_login are there. What values do I need to check?
Offline
Re: plh_front_edit
just a question : have you visited the url with ?plh_create_article=1 appended to it ?
You check examples on the help
Offline
#12 2015-01-14 14:36:17
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: plh_front_edit
Hello,
Here with some students we need to use this plugin or a similar plugin or a workaround.
We get this error again :
I’m sorry. I’m afraid I can’t do that; article update is an unsafe operation.
Could you give us some tips, some help ?
Thanks
(Last official TXP 4.5.7, examples from the help)
Last edited by jpdupont (2015-01-14 14:38:22)
Offline