Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
5 votes
Accepted

Database error 1118 - Row size too large

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 ...
user avatar
  • 161
5 votes
Accepted

before_channel_entry_save hook

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 ...
user avatar
3 votes
Accepted

Is it possible to change a Content Element Name when using Content Elements?

Unfortunately, it's not currently possible (as of Content Elements 1.6.10) to rename a Content Element. The only workaround is to delete an element and create a new one. I've made a feature request ...
user avatar
  • 1,349
3 votes
Accepted

How to list all members and their custom member fields?

Please see this thread: Display members in group in template You will probably need to use an extension or plugin to do this easily. Something like solspace User or another plugin that will allow you ...
user avatar
  • 589
3 votes
Accepted

Method to add multiple fields to a channel entry

Easy, I'd create a grid field with Date | Time | Location | Price. For ease of management I'd create a separate channel for locations (manage all locations separately to stop typos and misspellings ...
user avatar
  • 3,163
3 votes
Accepted

Select with Field

You are using this inside a channel entry loop, correct? If not, you need to be. And you might also try using the other field segements: {exp:channel:entries channel="...
user avatar
  • 5,900
3 votes
Accepted

Channel Entry Model Not Saving Custom Fields

You may be using the incorrect field name. You can't access it via its short name, it has to be by it's field_id. Here is an example of how I do something like this: // these are usually set at the ...
user avatar
  • 5,900
2 votes
Accepted

Expresso Store and Drag and drop upload form during checkout

You will need to upload the images separately from the checkout. I suggest using a channel entry form or as you mentioned, solspace freeform. After you get your customer to upload an image, you need ...
user avatar
2 votes
Accepted

How to upload photo, edit it with Aviary and then submit through a front-end form?

Have a look at @objectivehtml's extremely powerful Photo Frame add-on. There is also a demo of it running on the front end. To get the same number of editing options, you may also need his companion ...
user avatar
2 votes
Accepted

Expresso Store: checkout and order custom field w/ amout value - how to calculate total

You will need to use a product instead of a custom order field. In Store 2, the checkout tag and add to cart tag both submit to the same URL, so you can use this to add optional products to the cart ...
user avatar
2 votes

Expression Engine - Passing Custom Field Variables to Layout

If your trying to pass a simple value to your layout, you can set it on the layout tag. For example: {layout="pages/.layout" body_class="contact"} But custom fields variables need to be parsed by ...
user avatar
  • 6,108
2 votes

displaying certain entries first based on custom field

http://ellislab.com/expressionengine/user-guide/add-ons/channel/channel_entries.html#orderby You can order by custom fields in the channel entries tags. It might mess up the order of the remaining ...
user avatar
2 votes

How get the particular part for a string?

Use the PHPStringFun add-on and use regX either with substr or str_replace. Alternatively you could use Low Replace or MX Jumper. Or you could even activate PHP on the template and post parse. All ...
user avatar
  • 5,353
2 votes
Accepted

How can I tell if a fieldtype is in use?

This MySQL query should give you a list of fieldtypes which are not currently in use as Channel or Grid fields: SELECT name FROM exp_fieldtypes WHERE (SELECT COUNT(*) FROM exp_channel_fields ...
user avatar
  • 17.4k
2 votes
Accepted

When viewing entries in CP, can I view custom fields?

Yes you can use Zenbu. really nice addon suite https://devot-ee.com/add-ons/zenbu
user avatar
2 votes

Channel entries search by custom field

The channel entries call you are using to retrieve the custom field would need some more parameters to work - you need to give it some sort of channel or entry information for EE to work out what ...
user avatar
  • 3,562
1 vote
Accepted

Custom fieldtype: tag pair and replace_tag_catchall()

Fieldtype tag pairs with modifiers SHOULD NOT contain the modifier in the closing tag. Wrong: {myfield:modifier}{somedata}{/myfield:modifier} Right: {myfield:modifier}{somedata}{/myfield}
user avatar
  • 4,002
1 vote
Accepted

Why does a multiselect fieldtype custom field result in a DB error

Since you're using a multiselect element, you're posting an array of data when the entry is saved. But you can't simply insert an array into the database - you need to turn it into a string. So in ...
user avatar
  • 17.4k
1 vote

Outputting next post image within {exp:channel:next_entry}

Its not working because you aren't specifying a channel. {exp:channel:next_entry channel="testimony"} <img src="{testimony_story_background}"/> {/exp:channel:next_entry} Couple things to ...
user avatar
  • 1,029
1 vote

URL to search a field for keyword on Low Search

At this moment, using the URL tag and GET variables for the query (not encoding it) will always use the existing query and apply the given URL tag's parameters to it. If you switch to encoded queries, ...
user avatar
  • 11.3k
1 vote
Accepted

Use Custom Field as Timezone Parameter in Date Field

If I'm inferring correctly, there are events in multiple time zones and they want each to show in the time that is local to the location of the event. If so, I think what you want is Fixed instead of ...
user avatar
  • 2,255
1 vote
Accepted

Do unused custom fields affect performance?

For each custom field you add, it adds at least 2 columns to the exp_channel_data table, and if that table gets too big, it can affect performance in some respects. I have a site with many channels ...
user avatar
1 vote
Accepted

Custom Fields in DevDemon Subscriptions

You need Subscriptions 1.5.3 for custom member fields to be detected. See: http://www.devdemon.com/expressionengine-addons/subscriptions
user avatar
1 vote
Accepted

Adding the total number from a specific custom field of all channel entries

I used the "Tally" addon found here https://devot-ee.com/add-ons/tally. It works like a charm.
user avatar
  • 35
1 vote

PHP Error Notice Undefined index: field_ta_rows in textarea/ft.textarea.php

I came across this just now and fixed it by changing the number of rows assigned to the gird textarea field. Possibly related to this Structure bug (if you're using that?): http://structure.tenderapp....
user avatar
  • 4,885
1 vote

Dynamic Content In Fancybox Not Working

You've got a few problems, all related to JavaScript, not EE though. You'd be better off asking on the general Stack Exchange if this doesn't answer it. Your JavaScript code is being generated per ...
user avatar
  • 5,353
1 vote

Output custom author fields on entry

This sounds like the "auto hyperlink" feature built into each of the Channel preferences. This custom field doesn't happen to be a hyperlink or email address by chance? If it is, simply disable this ...
user avatar
  • 611
1 vote
Accepted

Registering for different events, with each event having its own registration questions

I would take a look at using an add-on like FreeForm to manage the actual event Registration. You would then be able to use the Form Composer functionality to build a form for each event with the ...
user avatar
  • 7,556
1 vote
Accepted

combining two sets of custom field groups

Yes, it is possible. You just need to change field groups association in table exp_channel_fields. Make you db backup then run next code (u can even use SQL Manager from CP) UPDATE exp_channel_fields ...
user avatar
  • 5,781
1 vote

Filtering and Ordering

Remember you can always use Dynamic Parameters to sort data on the fly - https://ellislab.com/expressionengine/user-guide/add-ons/channel/dynamic_parameters.html
user avatar
  • 1,577

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