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 ...
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 ...
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 ...
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 ...
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 ...
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="...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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}
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 ...
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 ...
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, ...
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 ...
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 ...
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
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.
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....
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 ...
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 ...
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 ...
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 ...
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
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
custom-fields × 217channel-entries × 27
fieldtype × 20
fields × 19
channel × 14
ee2 × 11
members × 11
templates × 10
matrix × 10
expresso-store × 8
add-on × 8
database × 8
channel-fields × 8
add-on-development × 7
safecracker × 6
mysql × 6
date × 6
relationships × 5
file-uploads × 5
search × 5
query × 5
stash × 4
control-panel × 4
pixelandtonic × 4
wygwam × 4