Questions tagged [custom-fields]

Custom-fields is what make EE tick. In a blog or news website analogy, besides an excerpt or body field, entries can have all kinds of custom-fields, from date type fields to google-maps.

Filter by
Sorted by
Tagged with
13
votes
5answers
2k views

How to insert captions with images in a WYSIWYG editor

Has anyone figured out a good way to insert captions alongside images in a client-friendly way? This is one thing WordPress makes very easy but EE doesn't seem to have an answer for. I'm currently ...
10
votes
2answers
230 views

Field with huge amount of content

I have a custom field for some body text, but the content for one particular entry is so long that it gets chopped off, presumably because of the MySQL limit for columns of type TEXT. I absolutely ...
8
votes
3answers
500 views

Is there a way to have “global” Channel fields or liberate a set of fields to multiple Channels?

I remember when I was using EE 1.6.x Brandon Kelly introduced Gypsy. It was amazing. For EE 2 it seems someone was working on something similar called Drifter but support for it was dropped a while ...
8
votes
1answer
130 views

Fieldtype for 2 dependant fields

I have two channel_fields that can be filled, and I need one of these values to be required (but not both). Is there fieldtype that can solve this problem? NB Only one of the fields needs to be ...
7
votes
6answers
1k views

Multi Language site with Structure

I'm looking to build upon a existing Structure built site and integrate another language. It doesn't necessarily need to be built upon using Structure, but as it's already using it and it works ok, ...
5
votes
3answers
445 views

Matrix column with list field type

We're integrating a new client site that has a rather unique need. We have a matrix field with two columns. The second column needs to be output in the template in a list format (LI tags). Originally ...
5
votes
3answers
1k views

Matrix in Matrix

Has anyone ever tried to create a matrix field in a matrix field? (nested matrix) I have a workshop schedule I'm building and thought this would be the "best" way to create it for multiple days, (...
5
votes
3answers
283 views

Repeating field without using Matrix

Has anyone got a way to create a "repeating" field without using Matrix? I kind of need Matrix's ability to create new "rows" but since each row would just have a single bit of text using Matrix ...
5
votes
1answer
2k views

Pre populate a text input field

I have a number of text input fields in an event registration channel that I would like to be pre-poulated with defaults and so not require entering anything unless it's different. This thread gives ...
5
votes
1answer
101 views

Computing word, image, video and audio file counts in a scalable way?

I am attempting to gather as much interesting metadata as possible to display for readers of an EE site I'm developing and am looking for guidance on methods (or indeed the feasibility) of computing ...
4
votes
3answers
891 views

Pre-fill matrix field when creating new entry?

How can I pre-fill a matrix field when creating a new channel entry. The reason to do this (and why a matrix field is needed) is: Data is best entered and represented using a table. Unwanted rows ...
4
votes
3answers
445 views

What are my best options for powerful member management with many custom fields?

Working on a college site that will have many, many members (in the hundreds), only a fraction of which will actually be editors in the CMS. All members need to have access to their own information (...
4
votes
2answers
44 views

How to make singular instance of text editable in a template

Is there a good workflow for making a singular instance of text, like an intro paragraph, editable within a template? I find this comes up a lot and the channel entry workflow is really built around ...
4
votes
2answers
160 views

Are there any custom field types, besides Matrix, that allow you to create an updatable, non-finite list of things?

One of my main use cases for Matrix is when I need to manage a non-finite list of things related to an entry (e.g. translation links for articles may trickle in over time, and there's no pre-defined ...
4
votes
2answers
285 views

How to populate Relationships

I'd like to manually populate the relationships table with some data. I can see the structure of the exp_relationships table, which relates parent_entries to children. However, for a custom field ...
4
votes
2answers
354 views

Autocomplete Field Type?

Is there a way to have a field with autocomplete values that are based on the input from another field? The values would be a result of previously entered data in the Channels (along with some other ...
4
votes
4answers
703 views

Date field type - remove “Localised/Fixed”

How do you remove the localised/fixed dropdown on the date fieldtype?
4
votes
1answer
118 views

Can I turn a file field back into a text input field?

In Brief How can I convert a file fieldtype back to a text input field containing {filedir}filename? The long-winded version I have a file field that I converted from an input field when I was ...
4
votes
1answer
508 views

Basic Channel Tag throwing PHP errors

Solution was to save entries until the entries with "bad data" were saved over. I wrote a quick tag to display all entries in a list from a particular channel. However, it threw a bunch of PHP ...
4
votes
1answer
790 views

ExpressionEngine Rich Text - the HTML Output is coming out weird

In EE's Rich Text editor, I typed in the following content. I did not do any fancy markup or formatting. All I did was set each heading to an H4, and typed paragraphs normally. I did not touch the ...
3
votes
2answers
1k views

Unformatted Field Data Wrapped in <p> Tags on Output

I have a text field with formatting set to "none". In the database, the data for that field is stored exactly as it should be: as plain text with no html tags. When I drop the field tag into my ...
3
votes
3answers
203 views

Combining the zoo visitor {member_firstname} {member_lastname} field automagically into one field {member_name}

Zoo Visitor has an elegant setting that makes {screen_name} very nice: Set screen_name as a combination of the following fields The default setting is {member_firstname} {member_lastname}. Perfect....
3
votes
5answers
2k views

Checkbox Fieldtype Conditionals

How would you perform a conditional on a custom checkbox field in which the user can select 0 -4 different options? In other words, I have a "Checkboxes" fieldtype named "{side_content_selectables}". ...
3
votes
2answers
126 views

Can Postmaster update custom fields after sending emails?

Is it possible to make Postmaster update an entry's custom field after it sends an email? I've got a custom field called 'Email Sent' and it'd be nice to stick a 'yes' in there for peace of mind once ...
3
votes
1answer
116 views

How to separate view from `display_field` of a custom field type?

I am implementing a custom field type which has quite a complex display_field function. I would like to separate the view logic and at the moment I have done the following: function display_field($...
3
votes
2answers
177 views

Random String Returned on Plugin

I have a simple plugin that runs a query and returns a single value. {exp:company_id id='{segment_3}'} This outputs a number such as 5081 If I do this: {preload_replace:cid="{exp:company_id id='{...
3
votes
2answers
526 views

P&T Dropdown/Select Dropdown - allow users to enter item not in list?

I'm using Matrix and one of my fields needs to be a Select Dropdown, but since it apparently isn't an option in Matrix I had to install P&T Dropdown. Is there a way to let users enter their own ...
3
votes
1answer
273 views

Unable to post or update entries after modifying custom field type?

I have added a custom field to my channel field group and selected the "P&T Dropdown" type but whenever I attempt to submit content the edit page just reloads and the database does not get updated....
3
votes
3answers
156 views

Can new fields be hidden by default on Publish Pages?

I'm a firm believer in the single custom field group approach, but it can be irritating that, when adding a custom field to a shared custom field group, all publish layouts automatically display that ...
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
2answers
441 views

Unformatted Textarea with Very Basic Text Styling

What's the best way to have an unformatted textarea field (meaning no <p> or <br> tags), but still allow the client to make text bold, italic, or add a link? I often have to put content ...
3
votes
2answers
89 views

Is there a way to ignore the field formatting of a custom field?

I know you can change them globally from the Admin menu, but what I was hoping for was someway to temporarily ignore the field formatting selected and simply output the data in the field. Why? I have ...
3
votes
1answer
158 views

EE date timestamps have different values for the same date/time

i have a list of movie screenings sorted by date. now the client wants to be able to order additionaly with a custom order field, i don't get to the second order_by however... it seems when you enter ...
3
votes
3answers
797 views

ExpressionEngine - Send custom field in New Member Registration Email?

I need to send custom field data to the admin when a user registers. In this example I'm trying to send the ZIPCODE along with other standard fields. I'm using freemember to collect the custom field ...
3
votes
1answer
336 views

WYGWAM/CKEditor Skin

I’ve got something here that is absolutely not critical, but it's bugging me and I’ve been encouraged to post it here to see if anyone can help out. I am trying to change the skin of WYGWAM to one I ...
3
votes
3answers
214 views

Cannot retrieve custom fields inside exp:store:checkout tag

Following Store official documentation I'm trying to include the content of some custom fields inside my {exp:store:checkout}{/exp:store:checkout} tags. According to the docs: Inside the {items} ...
3
votes
1answer
222 views

Krea Content Elements Field and EE 2.6.1 Relationships Field - how to use parts of an article in the related articles section of a Single Entry Page

On our web-site each article (Single Entry Page) is accompanied by 4 related articles. Those 4 are chosen by the editors. I set up a native EE 2.6.1 Relationships Field for them. For the article ...
2
votes
4answers
770 views

What is the maximum number of custom fields you can use in an installation?

I have a fairly large-scale site to build? How many custom fields can I use without running into MySQL database limitations?
2
votes
3answers
1k views

Can I use custom field types for custom category fields?

I have just gone to add some custom fields to my category group when I was shocked to find that there was no way to define a rich text field. There are only several basic field types. Is there a ...
2
votes
2answers
156 views

Default HTML Buttons not visible with IE8

I have a client who informs me that the Default HTML Buttons are not appearing with the field. I am using a mac with Safari and Firefox and they display no problem. Anyone else encountered this ...
2
votes
2answers
891 views

Javascript error EE 2.8: Uncaught TypeError: Object 132 has no method 'replace'

I just upgraded to EE 2.8. I know it's brand new, but I'm already having an issue that I can't seem to fix. On the publish page, and when adding a field to a field group, I see the following error ...
2
votes
1answer
289 views

before_channel_entry_save hook

I am writing an extension on EE 3.5.11 and I am using the before_channel_entry_save hook. In the EE documentation it says and modifications to the object will be saved. I am doing something like this ...
2
votes
1answer
474 views

Database error 1118 - Row size too large

The error occurs when I try to add a new custom field of any kind. The install contains 210 custom fields but will not accept any more. Any advice to troubleshoot would be great. Further details below:...
2
votes
1answer
314 views

Quick way to get user's signature in PHP

I'm just wondering if there is a quick way to get a user's signature using something like the session class? For example to grab the active user's email from the session class you can simply call $...
2
votes
2answers
79 views

Need longer fields than EE natively allows

I have a couple of channels where I need to fit in more text than what EE natively allows. I was able to figure out how to change these fields from Text to Mediumtext, but when I upgraded from EE 1 to ...
2
votes
1answer
2k views

How to get channel field data from a given entry id?

I want to get the channel field data from entry id in my custom module. Is there any way to get the field data. If anyone knows, please help
2
votes
2answers
138 views

Pre-populated content in Wygwam?

Is it possible to have Wygwam (or any custom field) pre-populated with content when you create a new entry? I'm aiming to give my client a table, with some cells already filled in.
2
votes
1answer
188 views

EE 2.7.1 Publish Layout fields disappearing

So I upgraded to EE 2.7.1 and I am having issues with my publish layouts. If I leave things well alone, all seems good in the world. However, if I go in and edit the layout to rearrange fields in a ...
2
votes
3answers
214 views

Order entries by custom time field

I'm trying to build a conference schedule and I would like each time slot entry in my channel to be ordered by the time designated in a custom field. My first approach used a text field {start_time} ...
2
votes
2answers
293 views

How can I use exp:query in entries?

I'm looking for a way to use exp:query in entries. So far I haven't been able to find this. I know it's not recommended but for what I'm trying to build it's most feasible to do so. That way I'll be ...

1
2 3 4 5