12

Sounds like the field's settings have gotten mixed up at some point. I'd try switching the field to "XHTML" formatting, and select the option to "Update all existing channel entries with your new formatting choice?". Once that's done, then switch back to "None" formatting and update all existing again. Hopefully that will resolve for you.


7

There are a number of member add-ons that substitute the native member module for channel entries. They are: Zoo Visitor Profile:Edit Safecracker Registration Since members are handled as regular channel entries, you are free to use any custom fieldtype. Also, since they are channel entries, you can use Safecracker to allow the users to edit their own ...


6

Since Field Instructions will allow HTML and JS, you can add the following in the Field Instructions for that custom field: <script type="text/javascript"> $(document).ready(function() { if ($('#field_id_23').is(':empty')) { $('#field_id_23').val('This is the default text'); } }); </script> Just be sure to ...


5

Try this to see if it works for you. I just tested, and it works just fine for me. $this->EE->session->userdata('signature') To see all the values in the session values stored as userdata, just do the following: var_dump($this->EE->session->userdata); exit();


5

I know you sorted this out, but for others who may wind up here looking for details: Say you have an entry with an entry_id of 10. That entry's channel has a Relationship field with a field_id of 20. While editing that entry, you choose a child entry from your Relationship field, which has an entry_id of 50. You'll end up with these values in your ...


5

Pixel and Tonic has another field_type called P&T List which might be suitable. If you just need a list of items, I'd look at that. I believe it's free.


5

There are a few possible solutions available here: 1. Global variable approach Amend your plugin so that it sets a global variable instead of/as well as returning the value directly. This ensures that it is parsed very early so you can use it as {cid} in tag parameters. You can set a global EE variable like this in your plugin: $this->EE->config->...


5

Use the session cache: if (ee()->session->cache(__CLASS__, __FUNCTION__) === FALSE) { ee()->cp->add_to_head('/path/to/foo.css'); ee()->session->set_cache(__CLASS__, __FUNCTION__, TRUE); } Your code will only run once per page load.


5

For times where the Channel module is overkill, or the random bits of editable content don't really fit the Channel mould, Low Variables is really great. It has a lot of added features beyond just making global variables easily (and safely) editable by end users. Some of the big benefits are text formatting options, custom content types for the global ...


5

You are hitting the limits of InnoDB. It might work to change your table to the MyISAM engine (backup before changing this), as the limits of MyISAM are larger compared to InnoDB. Note that this can cause an performance hit as table locking acts different on MyISAM. You can also replace all VARCHAR fields (with more than 10 characters) with a TEXT field. ...


5

This was driving me insane but I've figured it out. You need to edit the $entry object (1st parameter of the function) in order for this to work. You can, however, use the 2nd parameter, $values, for easy reading of the data. public function before_channel_entry_save( $entry, $values ) { // Set value for specific field name $entry->setProperty( '...


4

I believe the issue is only presented on major updates. EE2 changed the database structure of EE, including changing database table names, adding new tables and then repopulating them with data. Generally, updates may add or delete fields (data columns), but don't do much to existing fields. We had modified a few fields size to MEDIUMTEXT and one or two to ...


4

Nonprofit_tech's suggestion of P&T List is a good one. If that is too light-weight, then there is Grid Lite, which is a free, pared-down Matrix clone.


4

Have a look at your 28th most recent entry in the Edit screen - chances are there's some bad data in one of your fields (or maybe data for a field that no longer exists). Re-save it and see if the error persists.


4

What happens if I get rid of a field? Will that contents still be in the data base? No, if you delete a field from a field group the data is gone. Can I keep the code to display that field in place in my template and use a conditional to render it only if it exists (even though it is no longer a valid "input" field)? It shouldn't cause any issues ...


4

Yep, very simple. Just do this: {if custom_field} ... field has any value ... {/if} If you want to test if the field has a certain value, you can do: {if custom_field == "foobar"} show contents {/if}


4

Since by default the datepicker does not include seconds, EE saves the current time's seconds (minus 1 second) to the entry date (and in fact any custom date field). So the last part of the timestamp for each of these fields is based on when the entry was created. (Looking under the hood, it appears there have been two approaches over the years to this - at ...


4

You should not lose any data which already exists in your fields when changing field types - but if you have anything but a UNIX timestamp stored in the existing text field, the Date fieldtype won't know what to do with the data. UPDATE: To update your existing fields from your current format (5/14/2013) to a timestamp for use with the Date fieldtype, put ...


4

There are a couple of bugs with publish layouts that have popped up in 2.7.1. Here's a link to one that sounds like it might be related and contains a fix file to download and apply: https://support.ellislab.com/bugs/detail/19738 Let us know if that fix works for your issue as well.


4

Any time i've used it P&T fields so far i've gone with this syntax: {field:preferred_position} I haven't specifically used checkboxes, but I think its worth a shot.


4

CKEditor (which is the editor used by Wygwam) has a feature called Templates that you can use for this. With CKEditor content writers can select a template from a list by clicking the Templates button in the toolbar. A template is a predefined piece of HTML that is inserted into a document. Using this feature, the user does not need to start ...


4

you can open file expressionengine/modules/channel/mod.channel.php and check function entries() you can use Channel-Data lib from Justin Kimbrell to simplify access to channel data. example $entries = $this->EE->channel_data->get_channel_entries($channel_id, array( 'select' => array('*'), 'where' => array('...


4

If you need to do this from the template you could use a plugin like this one: http://devot-ee.com/add-ons/create-url-title If you need to do it directly to the DB please update us so we can give you that solution as well. Note: CE String also has a custom method called url_title which will do the same thing but, it's not a free add-on.


3

You may have to run two Channel Entries loops to do this, since the empty fields are essentially treated as 0, so they will always come first in an ascending order. First, to get your entries which have a custom date: {exp:channel:entries channel=:courses" orderby="course_date" sort="asc" search:course_date="not IS_EMPTY"} Then grab those which do not ...


3

I found out that this is actually inside CodeIgniter. To add new HTML5 tags like <figure> and <figcaption> to the list of « do not wrap with <p> tags», just add them to the array located ~ line 30 of /system/codeigniter/system/libraries/Typography.php (the arrays $block_elements and/or $skip_elements). I've also added an EE Bug Report for ...


3

Have you looked at Content Elements? http://dvt.ee/ad0g9RJ


3

Each field type stores it's data differently, some custom add-ons will create one or more extra tables to store fieldtype data for entries. For instance, Matrix will create a table: exp_matrix_cols and exp_matrix_data to store column settings and data that will populate those columns. Relationships (I'm assuming you're talking about stock EE) are in the ...


3

You'll need to use the Allow EE Code plugin, and wrap your field with it on the front-end: {exp:allow_eecode query="y"} {my_field} {/exp:allow_eecode}


3

I think this may be somewhat more simple. Can you go to your Wygwam editor configuration, under Advanced Settings, in the drop-down, choose Skin and follow those instructions. Let's see if that helps? If that doesn't work, please check your dev console for any JS errors and report them here. Thank you! Edit to add: this is quite an old post, but you ...


3

You can do it by using the {custom_fields} loop of SafeCraker. In case, you wouldn't like to show some specific custom fields, don't populate them using if condition. Like: {custom_fields} {if field_name != "not_show_field_1" AND field_name != "not_show_field_2"} [Custom field options] {/if} {/custom_fields} Take a reference from http://ellislab.com/...


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