6

Easy to forget, but make sure you give the member group you want to edit the safecracker form the ability to edit that channel in member group prefs. "Can post and edit entries in: [your_channel_name]" selected for that member group (Edit Member Group > Channel Posting Privileges).


6

I've created an extension that'll let you do it. https://github.com/jazonv/SafeCracker-HTML5-Attributes In addition to data-foo="bar", it'll also lets you use autocomplete="no" and novalidate="novalidate". (Inspired by this gist by Objective HTML) Disclaimer: I'm by no means a PHP/Add-on dev. I just wanted to 'have a go' too. Hopefully there's nothing ...


6

Remove safecracker_file from your third_party directory. It has been deprecated (now rolled into the standard File fieldtype).


5

The {options:field_name} tag pair is actually a Safecracker tag, which only works with Field Pack 1.x out of the box. You can add Field Pack 2.x support by opening up system/expressionengine/config/config.php and adding these lines: $config['safecracker_option_fields'][] = 'fieldpack_checkboxes'; $config['safecracker_option_fields'][] = '...


5

Tim, currently this is not possible, but we do have some interesting ideas that would allow you to accomplish this in the next Assets release, which is currently in active development. I don't have an ETA for you, but we are working on it


5

Your question is not very specific, so we can't give you specific answers... however EE can handle all of this stuff, but it does take some planning. Here are a few comments in no particular order that may help... Firstly I'd recommend ditching Structure, as you'll be fighting it at every step for control of your URLs and you could also find that it hinders ...


5

{exp:channel:entries channel="personal_trainer_directory" limit="1" dynamic="no" author_id="CURRENT_USER" status="open|closed" } {if no_results} ***DISPLAY IF NO RESULTS*** {/if} {if status=="closed"} ***DISPLAY IF STATUS IS CLOSED*** {if:else} ***DISPLAY IF THERE IS A RESULT*** {/if} {/exp:channel:entries} Is that what you mean?


5

I've also been struggling with this exact same situation for quite a while, it seems to be an EE bug. Here's what I did to resolve it. Your markup is fine, your member settings are also fine. The only member setting that is vital to this operation is the "Can edit entries authored by others" under "Channel Posting Privileges" in the Member Group settings. ...


4

It appears to be stemming from an error in the JS preventing the global EE object from being created. Digging deeper I was able to identify the culprit: { "name": "Link in this site", "key": "", "openWith": "<a href=\"http://farpoint.fcs.uga.edu/facs/template\\" > ", "closeWith": " < \/a>", "className": "btn_Linkinthissite" } Note the ...


4

It's a known bug and will be fixed in the next version of Low Search. To fix yourself, open up /low_search/libraries/Low_search_index.php (v3.0.2), and look up line #79, which reads: die('No collections found'); Change that to: return FALSE; ...and you should be good to go.


4

Well, There are two ways to do so. Server side: In your {exp:channel:form} tag, Add parameter rules:captcha="required" Client side: Use jquery.validate.js to make field required. Include this js library: http://cdn.jsdelivr.net/jquery.validation/1.15.0/jquery.validate.js Put the class required in input field. Use jquery to run the code before form ...


3

Safecracker only supports channel fields. You'll want to use something like FreeMember, Solspace User, or Zoo Visitor to update member data. (there are a few other addons that also do this, try searching devot-ee for them) http://devot-ee.com/add-ons/freemember http://devot-ee.com/add-ons/user http://devot-ee.com/add-ons/zoo-visitor


3

You could check for the presence of the Safecracker library: if (isset(ee()->safecracker)) Or check if you're in the control panel if (REQ === 'CP')


3

You're likely looking at the new docs that just went up, for EE 2.7 (released yesterday). Under EE 2.6.1, the parameter you want is called safecracker_head, not include_assets.


3

So, I've found a way to achieve this, which seems to work in the reduced test case that I created (Grid fieldtype with one column of text type and only one entry being entered in at a time). In the future, I'll create test that's a bit more complex and see if it becomes more involved. The code for this is: <input type="hidden" name="field_id_9[...


3

Bug fix mentioned here http://support.ellislab.com/bugs/detail/20084 Please make sure these seemingly unrelated settings are set: The original author’s group has to have “Include Members in PUBLISH page multi-author list?” set to “Yes” The person attempting to make the edit must have “Can change the author name when > posting channel entries” ...


3

You might see this article http://www.sidd3.com/get-entry-revisions-in-expressionengine/. I hope, it would help you.


3

Try this inside your hook: print_r($cf); exit(); This will let you inspect the structure of the object passed by the hook, and find where entry_id lives.


3

To output the information this worked for me: <p class="grid-row"><em>Fav Style:</em><span>{options:member_favourite_drinks}{if selected}{option_name},{/if}{/options:member_favourite_drinks}</span></p> ... and to have this in a select list: {custom_fields} {if field_name=="member_favourite_drinks"} <...


3

Turns out this was a bug. The bugreport (https://support.ellislab.com/bugs/detail/19837) says to do this, which has resolved it: In the file system/expressionengine/fieldtypes/file/ft.file.php at line 147 replace: container.find("input[type=hidden]").val(function(i, current_value) { with container.find("input[type=hidden][name*='hidden']").val(function(i,...


3

If you're going to be using a form submission to track your project requests all the way through and updating status along the way, I'd think the channel form would be the way to go. With Freeform Pro, you can't really do any editing from the front-end after the initial form is submitted. Users of the control panel can definitely access the form submissions ...


3

For developers: Not easy, the display_field() method from wygwam gets its settings early on. However you maybe able to pluck apart the toolbars in the hook "wygwam_config". See https://github.com/pixelandtonic/wygwam_super_admin_source for an extension that adds a "source" button for super-admins. You could use that as a basis to remove / set other config ...


3

I've had this same problem. I solved it by simply using {if segment_1 == "abc"} statements to not include my jQuery on any page (segment) that had Channel Forms loading it's own jQuery. You can also overwrite the jQuery file that EE/Channel Form includes with your version of jQuery -- I have found EE's version to be slightly different to what I download ...


3

In this case, the POST submission would be rejected not due to XSS, but CSRF. It's not an appropriate API to use for continuous submission from an external source. I haven't used Reinos' add-on, but depending on the third-party's flexibility, their aptitude, and your custom field requirements, it's possible that your needs would be covered by the native ...


3

You could use the Instructions for your question text: <label>{instructions:my_field_name}</label> v2: https://docs.expressionengine.com/v2/add-ons/channel/channel_form/index.html#instructions-my-field-name v3: https://docs.expressionengine.com/latest/channel/channel_form/index.html#instructions-my-field-name


2

As you mentioned within you comment that you are submitting the Safecraker form with AJAX. The Ajax submission returns JSON data which have entry id also. So you can redirect with JavaScript with success function like: window.location = "/submission-complete/"+data.entry_id; Take a reference from here: http://ellislab.com/expressionengine/user-guide/...


2

This question was already asked several times, I found this tutorial http://themetaq.com/articles/bring-matrix-data-editing-to-the-front-end pretty good. I'm doing this same action right now and I disabled jquery and head on safecracker for better optimization. Just a tip: when you disable safecracker_head you also disable all assets on other fields, when ...


2

Checkout Publisher or Publisher Lite by Brian Litzinger. I have been using Publisher since the beta release without problems.


2

SELECT ct.entry_id FROM exp_channel_titles AS ct LEFT JOIN exp_channel_data cd ON ct.entry_id = cd.entry_id WHERE ct.author_id = $member_id Although you've requested the entry_id in your question, you don't actually need to include channel_data, as it's in channel_titles. But I've included above in case you want to pull all the entry data (so change ...


2

I think, you need to look into that channel preferences under "Channel Posting Preferences". You can see "Default HTML formatting in channel entries" and set it to "Convert HTML into character entities". I hope, it would work for you.


Only top voted, non community-wiki answers of a minimum length are eligible