1 of 11
1
Standalone Edit Forms
Posted: 21 April 2005 07:39 AM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  140
Joined  02-04-2005

I already have a Standalone Entry form that works great.  Is there anyway I can make an Edit page similar to the one on the Control Panel. 

I want to be able to choose the variables to be edited based on who is logged in.  I do not want them to have to edit from the control panel because, there I dont have the ability to choose which variables I wanted edited.

Is it possible to make a standalone edit form?

Profile
 
 
Posted: 21 April 2005 08:54 AM   [ Ignore ]   [ # 1 ]  
Lab Assistant
RankRank
Total Posts:  147
Joined  06-26-2004

You might want to add your voice to the Feature Request for a Stand Alone Edit form.

Profile
 
 
Posted: 23 April 2005 03:46 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  292
Joined  01-30-2003

KevinSal,

Though the docs don’t include this yet, I have found that simply including the entry id as one of your form fields turns the stand-alone entry form into an edit form. You have to wrap the exp:weblog:entry_form tag inside an exp:weblog:entries tag pair (of vice-versa). Once you do that you can prefill all of the form fields. One problem is that you can’t very easily prefill the custom fields. I have a plugin that can help with that though. Holler if you need it.

Have fun.
mk

Profile
 
 
Posted: 23 April 2005 09:36 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11139
Joined  04-29-2002

It’s kinda hard to email when you don’t have an email link listed. smile

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 23 April 2005 10:05 AM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  31267
Joined  05-14-2004

He does in his profile....

 Signature 
Profile
MSG
 
 
Posted: 23 April 2005 10:44 AM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11139
Joined  04-29-2002

He didn’t until I called him. smile

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 23 April 2005 06:31 PM   [ Ignore ]   [ # 6 ]  
Lab Assistant
RankRank
Total Posts:  292
Joined  01-30-2003

It’s true. Sue saves the day. Thanks Sue. mk

Profile
 
 
Posted: 24 April 2005 09:40 PM   [ Ignore ]   [ # 7 ]  
Lab Assistant
RankRank
Total Posts:  292
Joined  01-30-2003

Ok, for those interested, you can dive into the plugin here:
www.solspace.com/software

I ask you to register before seeing available software. This way I can let you know about updates.

mk

Profile
 
 
Posted: 25 April 2005 04:47 AM   [ Ignore ]   [ # 8 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11139
Joined  04-29-2002

Thanks, Mitchell. Looks great, and love the docs.

I’ve already found a use for the form helper as well. I’ve been doing some of these by hand, but your solution is much easier. You’ll be getting some PayPal luv. smile

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 25 April 2005 08:00 AM   [ Ignore ]   [ # 9 ]  
Lab Assistant
RankRank
Total Posts:  292
Joined  01-30-2003

You’re the best Sue. You can also pay your donation in cookies. mk
p.s. Friggin’ amazing how many people contact you when they have your email address.

Profile
 
 
Posted: 25 April 2005 08:16 AM   [ Ignore ]   [ # 10 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  5958
Joined  08-04-2002

>> amazing how many people contact you <<
Probably a lot when you know how to author plugins and modules! grin

Profile
 
 
Posted: 25 April 2005 11:36 AM   [ Ignore ]   [ # 11 ]  
Lab Assistant
RankRank
Total Posts:  237
Joined  12-06-2002

I have a question about the incredible Form Helper Plugin from Solspace, as mentioned on this thread.

Basically, after a bit of configuration, I have the front-end edit form I always wanted. It works! This is great news, and almost seems too good to be true.

We’re testing it as thoroughly as we can, and it seems perfect. Some PayPal cash on the way to Solspace asap.

But, the big question. Is it secure? I mean, is it totally, 100% secure? We’re planning to use it on a site where thousands of members each have editable articles and (not member based) profiles. I’d hate to think it was an easy way into the database for some evil swine to run a script or similar.

I’m sure it’s cool, but better safe than sorry. Anyone from Solspace or EE tested this aspect?

Profile
 
 
Posted: 25 April 2005 11:44 AM   [ Ignore ]   [ # 12 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  5958
Joined  08-04-2002

Simon
I’ve downloaded it but haven’t had time to play around. Anything tricky in setting it up and getting it to work?
Looks like a really cool plugin.

Profile
 
 
Posted: 25 April 2005 12:24 PM   [ Ignore ]   [ # 13 ]  
Lab Assistant
RankRank
Total Posts:  237
Joined  12-06-2002

Pretty easy. They’ve explained it well, and provided a sample script which makes a great head-start. I have had to add formatting tools, make button JavaScriping work, and turn text inputs into textareas to retain link and image info in the fields (quotes seem to break the input fields), but once that’s done it’s easy to further refine it.

Basically, it’s great. But is it secure?

Profile
 
 
Posted: 25 April 2005 12:43 PM   [ Ignore ]   [ # 14 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11139
Joined  04-29-2002

You can always only allow the original author the ability to edit the entry, or a SuperAdmin.

From the plugin docs:

First Principals
1. To create a stand-alone edit form you will need to wrap the {exp:weblog:entries} tag inside the {exp:weblog:entry_form} tag. (Note that you can also wrap them in the reverse order.)

From the EE Docs: Entry Form

Users of this form must be members of the site and must be logged in. Further, the user’s Member Group must have permission to post entries to the appropriate weblog. No content will appear if the user is not logged in.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 25 April 2005 12:44 PM   [ Ignore ]   [ # 15 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  5958
Joined  08-04-2002

>> turn text inputs into textareas <<
I noticed on my quick review that they were all text input or drop-downs in the sample. How did you change it for text area?

Profile
 
 
Posted: 25 April 2005 12:47 PM   [ Ignore ]   [ # 16 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11139
Joined  04-29-2002

Here’s an example:

Quote:<br />
<textarea name="{exp:form_helper:field_grabber field_name=’q_quote’}” cols="50" rows="3"
onclick="setFieldName(this.name)">{q_quote}</textarea>

Replace q_quote with your field name.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 25 April 2005 12:50 PM   [ Ignore ]   [ # 17 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  5958
Joined  08-04-2002

Ok...now I feel stupid grin I should have spent a little more time browsing the sample and playing before asking questions.
Thanks Sue grin

Profile
 
 
Posted: 25 April 2005 12:57 PM   [ Ignore ]   [ # 18 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11139
Joined  04-29-2002

It’s not a stupid question at all. Perhaps Mitchell can update his docs and give an example on adding a textarea field. I always forget how to do it. smile

I use a third party tool called TreePad to maintain some code snippets. No Mac version, though.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
   
1 of 11
1
 
‹‹ empty new blog      MoBlog Auto Check? ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 61001 Total Logged-in Users: 40
Total Topics: 73767 Total Anonymous Users: 25
Total Replies: 397952 Total Guests: 487
Total Posts: 471719    
Members ( View Memberlist )