Questions tagged [safecracker]

SafeCracker allows you to add Stand Alone Entry Forms (SAEFs) to your website's front end.

Filter by
Sorted by
Tagged with
1
vote
2answers
502 views

Adding New Grid Entries With Channel:Form

I am using the grid field as a custom field for one of my channels. My form is setup correctly from what I can tell. What happens is, when trying to add to an entry and already having added a few ...
6
votes
2answers
227 views

SafeCracker + Assets: Restrict file browser to display logged-in member's files only.

Is there a way to configure the Assets file browser in a SafeCracker form to only show assets for the currently logged-in member?
7
votes
3answers
500 views

Building a UGC site using ExpressionEngine

Apologies in advance for the long post... I've been tasked with building a User-generated content site with ExpressionEngine. I had a rough idea of how I was going to proceed but - as I have ...
7
votes
1answer
710 views

Simple HTML file field uploads with Assets and Safecracker

The release notes for Assets 2 says "Added support for simple HTML file field uploads via SafeCracker". Does anyone have any example template code of how this should work, including how to remove the ...
3
votes
1answer
1k views

How to work with the new channel forms and the new grid fieldtype ( and updateing it)

My little test looks like blow (fecthing a static channel entry 2 - works getting the data out ) When I submit my grid fields gets empty'ed Can somebody please help with the right syntax to update ...
3
votes
2answers
1k views

Can I see the most basic example of a File field in Channel Form (Safecracker)?

I'm using Channel Form/Safecracker and a File field (photo of a person) doesn't work; the UI is messed up: Clicking the "x" only goes to the top of the screen and there's no "Browse" button. I've ...
2
votes
2answers
318 views

P&T Dropdown and Checkboxes with Channel forms

I have been trying to get P&T's Dropdown as well as Checkboxes to work with Channel Forms but I do not seem to have any success as of yet. I have tried using {my_field_name} <...
1
vote
1answer
260 views

P&T Field pack within Safecracker

Having a few problems with the P&T field pack working within safecracker. I am trying to get a checkbox field working... If I use the short field name tag i.e. {field:mycheckboxes} it works, it ...
5
votes
2answers
295 views

Restrict Assets directory access per-user in Safecracker

Taking a look at Assets 2.0 docs I can see that with the {exp:assets:folders} tag we can determine the folder where the photos are uploaded in a simple file uploading field, my question is if the same ...
2
votes
3answers
279 views

Safecracker error after upgrading from 2.6.1 to 2.7

I changed my tag pair from {exp:safecracker} to correspond with the new docs {exp:channel:form}. I even removed my tag pair and used the Basic Example from the docs with the same results. A PHP Error ...
10
votes
2answers
645 views

P&T Dropdown - how to display in Safecracker?

I have a Matrix that contains a P&T Dropdown field. I'm trying to control the markup generated by the Matrix, so I am trying to follow breaking up a matrix field for use in safe cracker form. ...
5
votes
1answer
675 views

SafeCracker + Matrix, jQuery declaration, and Object has no method 'markItUp'

I'm trying to use SafeCracker with a Matrix field. My jQuery is being included at the bottom of my page, right before the closing </body>. My SafeCracker tag is as follows: {exp:safecracker ...
3
votes
2answers
560 views

Multiple custom matrix field in channel form issue

Working with Channel form, I have encountered some problems when working with multiple Matrix fields in a single edit form. [EE v2.7.3 and Matrix 2.5.10] When I work with "native" channel form ...
3
votes
1answer
497 views

P&T Checkboxes and Channel Form

I am having trouble displaying checkboxes for a P&T Field Pack Checkboxes custom field in a Channel Form (ExpressionEngine 2.7.1, Field Pack 2.1.1) using the {custom_fields} and {options} loop. I'...
3
votes
1answer
170 views

Limit Safecracker access to specific entries, using member groups and categories

I'm wondering about best practice, and if I'm setting myself up for trouble. The goal: Limit an editor's Safecracker access to specific entries within a channel, based on the member group of the ...
2
votes
1answer
135 views

How can I control the filenames of files uploaded via SAEF/Safecracker using Safecracker File in a Matrix?

Firstly, I think the files should have unique names by default - nevertheless a problem came up yesterday in which one member's images were being displayed in place of another member's images because ...
2
votes
3answers
342 views

Safecracker error after upgrading from 2.5.5 to 2.7

I see this in pages where I have Safecracker forms A PHP Error was encountered Severity: Warning Message: require_once(/home/dsvrtwo/public_html/system/expressionengine/third_party/safecracker/mod....
1
vote
1answer
345 views

Add New Grid Rows via Channel Form

I have a channel where I would like admin to be able to create entries and then anonymous users would be able to add rows to a grid field. I do not want the users to be able to see existing rows(if ...
1
vote
4answers
834 views

Setting entry status with Channel Form

I have a Channel Form set up which is working fine and inserting entries into a Channel with the default status. Now there is a requirement to allow the status to be changed when creating the entry ...
1
vote
2answers
235 views

Custom Matrix Field in Channel Form

Implementing the solution found on Bring Matrix Data Editing to the Front-End I've a matrix field that contains a P&T Dropdown field type <select name="role_level[row_new_0][col_id_46]"> {...
0
votes
0answers
200 views

Channel Form and Matrix - not saving Data

I'm building out a multiple page channel form which was working fine until I got to where I need to use a Grid/Matrix field. I was unable to find documentation on how to customize the look of Grid so ...
5
votes
2answers
750 views

How to manually add Content to a Matrix-Row with SafeCracker

I need to use SafeCracker to publish a new entry into a Channel whose Custom-Field-Group exists of only one field — which is a quite large Matrix-field. (Matrix -> pixel&tonic Fieldtype) The code ...
5
votes
6answers
2k views

How to create a form and insert form data to database in ExpressionEngine?

I am developing a website in ExpressionEngine and I am a newbie for ExpressionEngine and CodeIgniter. I want to create a form on page and want to insert it data after submission to my customized ...
4
votes
2answers
705 views

How to automatically populate fields based on the value in another field

I've got three custom dropdown fields - town, county, and region in a SafeCracker form. The client is asking if it's possible for them to just select one value (in the town dropdown field), and for ...
3
votes
1answer
542 views

Saving Multiple Relationships via checkboxes in a Channel Form

I have relationships field Foo where people can have more than one entry, basically a multiple relationships field. I am not using {field:foo} to output my form field. Instead I am using multiple ...
3
votes
2answers
2k views

Upload file via channel form

I am trying to set up a form on the front-end with channel:form but it doesnt behave. channel-form-file-upload http://supinum.com/bilder/channel-form-file-upload.png Clicking the 'Undo Remove'-link ...
2
votes
1answer
349 views

Channel Form checkbox fields not saving on edit

I have a channel form with several checkbox fields. They go in fine but when I try to edit the form content the edits do not save. The rest of the fields save when edited so I am looking for how to ...
2
votes
1answer
1k views

Adding Category and Subcategories in a multiselect dropdown in Channel Form

I am using channel form to allow users to add a new entry. I need to output a category to allow then to select multiple categories and sub categories. The following code works but it does not order ...
1
vote
1answer
274 views

Channel Fields Error After Updating to 2.7

I just updated to 2.7 and I was in the backend.. When I clicked on the name on one of the channel fields I got: Fatal error: Declaration of Safecracker_file_ft::display_field() must becompatible ...
1
vote
2answers
251 views

Adding Channel Field data inside safecracker_submit_entry_start callback function

I have Channel with fields A,B,C,D,E I have a Safecracker form that contains input elements for channel fields A,B,C I have an extension with the callback method public function foo($...
1
vote
1answer
98 views

Channel Form Edits Not “Sticking”

I created a channel:form for creating entries and it works fine. However, when I attempt to edit the content of the entry, the edits don't take and it returns the original entry values. Edits to the ...
1
vote
2answers
268 views

Date fields in Safecracker form

I'm trying to collect birthdate information in my Safecracker form. I have a field that is a Date field type. It seems that I am being forced to enter in this format: YYYY-MM-DD HH:MM. I don't want to ...
1
vote
2answers
294 views

SAEF + Matrix + Date_field + custom layout, datepicker not displaying

I have a Matrix with a field called end_date and its cell type set to Date. When the Matrix field is placed inside the following Safecracker form, the end_date datepicker displays correctly in the ...
0
votes
1answer
136 views

Is it possible for the hook handler of safecracker_submit_entry_start to cancel form submission?

I have a hook handler for safecracker_submit_entry_start that gets some value from a form field and processes it. I want to validate the output of that process. If the output is good, then continue ...
0
votes
2answers
399 views

Outputting categories as checkboxes - exp:channel:form / safecracker

I want to output category groups as checkboxes, I've got them outputting correctly however when they are selected and the form is submitted they aren't actually being assigned to the chosen categories ...
0
votes
1answer
194 views

Fieldpack 2.1 (P&T) EE2.6.1 and Safecracker Dropdown Not Working

I've just upgraded a site to EE2.6 with P&T Fieldpack 2.1 all of my safecracker dropdowns are now giving {option_name} instead of my proper Options. My dropdown template code is using the ...
0
votes
1answer
107 views

Can I edit contents of Channel Files field in Safecracker Form?

Can I build a page with SafeCracker that will allow me... 1) Upload files via Channel Files field? I'm running EE 2.5.5 (SafeCracker 2.1). 2) Manage (Edit, Delete, Add) files already previously ...
0
votes
1answer
311 views

channel form not visible for guests in EE 2.8.1

Got a weird one. My channel form is not appearing appearing for guests. I have the Channel Form settings set to allow guests posts, with the username being a member in the guests member group. My ...