Questions tagged [fieldtype]

Fieldtypes handle all of the different types of data you can store in your Channels. ExpressionEngine includes a number of Fieldtypes by default, and you can install or uninstall additional ones.

Filter by
Sorted by
Tagged with
6 votes
1 answer
1k views

Set default values for radio, checkboxes, selects, etc

When creating a Channel field, such as a radio field type, is there a way to specify that a certain option should be selected by default? Same question for checkboxes, select dropdowns, etc.
ExpressionEngineNewbie's user avatar
6 votes
1 answer
446 views

Is there a way to add dropbox chooser or google drive picker into the publish page?

I've been using expression engine for 5 years now, but I am new to this forum, so hi everyone! I was wondering if there is a way to use the dropbox chooser and/or google drive features inside the ...
Manuqc's user avatar
  • 61
5 votes
3 answers
739 views

Matrix rows: how to target every 3 rows

I would like to wrap every 3 rows that the matrix fields output with some required html like this: {exp:channel:entries channel="pages" disable="categories|member_data|pagination"} {my_matrix_field} ...
Abs's user avatar
  • 465
5 votes
3 answers
284 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 ...
foamcow's user avatar
  • 7,176
4 votes
2 answers
669 views

Removing unwanted newline characters in Wygwam

Wygwam automatically adds some extra space in <p> tags by default. Is there any way to remove them without editing the source in Wygwam? I'm using Wygwam 2.6.3. What is intended <p>This ...
Dan's user avatar
  • 409
4 votes
2 answers
162 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 ...
Tim's user avatar
  • 636
4 votes
1 answer
103 views

Initialize Wygwam within Custom Fieldtype

I'm developing a fieldtype add-on and within the fieldtype, I would like to include the option to let users choose Wygwam as the text element, if they have it installed. Is there some sort of a "...
pseudoclass's user avatar
4 votes
2 answers
208 views

Multiple groups of FieldTypes / Blocks of content

I'm looking for a flexible way to define very specific blocks of content which can be used multiple times within a page. Some examples of these blocks would be: An image with text to the left An ...
Steve Holland's user avatar
4 votes
1 answer
398 views

Possible to setup Expresso Store default price modifiers and/or options?

We have a store we're setting and we would like to be able to setup default price modifiers and/or options per channel since there are several modifiers per product and a large number of products need ...
Christopher Imrie's user avatar
4 votes
1 answer
968 views

Disable table sorting for one column of a table created with EE's Table class?

I'm building a fieldtype add-on, and it presents the data contained therein via a table. I'm using EE's Table class to generate the thing, and it's mostly working fine - columns are sortable, etc. ...
Sandwich's user avatar
  • 542
3 votes
1 answer
122 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($...
Lea Hayes's user avatar
  • 1,466
3 votes
1 answer
341 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 ...
TJ Draper's user avatar
  • 952
3 votes
1 answer
329 views

date field type displays as a string

I'm using a date field type to display the date of an upcoming event, but when its rendered it displays as a string of numbers. For example, one date displays as "1356393654". I'm not using any plug-...
Jon's user avatar
  • 63
3 votes
2 answers
151 views

Changing the distance metric in ObjectiveHTML's Google Maps

I'm using the Google Map Add-On from ObjectiveHTML. When entering a route using the field type in an EE channel entry the distance (as displayed in "Show Details") is always displayed in Kilometers. ...
Anthony Mellor's user avatar
3 votes
1 answer
100 views

Treeview field type?

I need users to select certain locations from a (possibly) tree view UI. The tree view might contain something like a list of states, with each state with a list of counties, with each county with a ...
ExpressionEngineNewbie's user avatar
2 votes
2 answers
358 views

How to target a specific field in the Control Panel with CSS or JS to increase its height (P&T Multiselect)?

I have a Pixel & Tonic multi-select field with 50-60 rows in it. The users obviously need to be able to easily select more than one item. By default, the P&T field shows about 4 items at a ...
Ryan Masuga's user avatar
  • 1,402
2 votes
2 answers
57 views

Where to find dev documentation for multiple fieldtypes

I have looked at the docs for 2.6, but am unable to find an explanation for how to set up multiple fieldtypes in a single package. Can anyone enlighten - I really need this ability.
John de Beer's user avatar
2 votes
2 answers
72 views

Editing for SSL - EE1

I am trying to force the EE1 control panel to my secure cert, with a bit of difficulty. The problem is that not everything is delivered by a relative link, so some stuff, specifically custom ...
Aaron's user avatar
  • 1,162
2 votes
2 answers
2k views

How do I escape characters in an RSS feed?

Here's a link to my RSS feed's failed validation. Nevermind the subtitles being too long, I'll fix that later. But fixing these special characters is a pill and in company names where it's part of ...
Daniel Fowler's user avatar
2 votes
2 answers
122 views

Converting EE1 Text Field with Image tag to EE2 File Field

I've a EE1 - EE2 project where I have a native text field storing a full image tag like: <img src="{filedir_2}sh-275.jpg" style="border: 0;" alt="SH-641 humidity chamber" /> This being the ...
Michael Boyink's user avatar
2 votes
1 answer
653 views

Changing Field Groups for existing channel

I've just (finally) upgraded from EE1.x to EE2.5.5. (I was able to use Importer and Matrix to recreate my photo galleries with enough functionality to maintain them as a "legacy" gallery. If you are ...
Rick Robinson's user avatar
2 votes
1 answer
369 views

I’m not using the add-on, but the error is “Unable to load requested field type file: ft.wygwam.php.”

I updated EE from 2.2.2 to 2.7 core and moved the site to a subdomain called ee.mydomain.com. I changed the URL in config.php and in Admin/General Configuration, and admin works fine. But when I try ...
markratledge's user avatar
2 votes
1 answer
234 views

Methods of including other EE fields in a custom field type

I am developing a custom field type which needs to display fields from two different channels in the CP Edit and Publish pages. Users of this field type will need to edit the data from those different ...
Anthony Mellor's user avatar
2 votes
1 answer
185 views

Creating AJAX endpoints for custom fieldtypes

I'm working on a custom fieldtype that requires some validation via AJAX, which means I need an endpoint to direct my $.get() requests to. I know that accessories support process_x methods but ...
Dom Stubbs's user avatar
  • 3,767
2 votes
2 answers
284 views

How can I sort entries by ascending integers?

I am trying to use a custom field sort_order to order entries by setting the Field Content type of a Text Input to Integer. I'm using EE2. Expected behavior: Entry 1 with a sort_order of 10 Entry 2 ...
bantuist's user avatar
2 votes
1 answer
139 views

Converting spaces in file_url with CE String

Using the Grid we've have a project where a large number of files have been uploaded with spaces in the file names. We want to encode the URLs so the files can be downloaded. To try to solve this we ...
jsuissa's user avatar
  • 283
2 votes
1 answer
105 views

Fieldtype display_field() function converting to htmlentities()?

I'm having some trouble where my display_fields() function is converting my json encoded data from $data into htmlentities(). Here's my function: function display_field($data) { error_log($data);...
spacesuitdiver's user avatar
2 votes
2 answers
132 views

How to update field-type table when a channel gets deleted?

I am trying to build a Expression engine field-type(add-on),where I will be storing the field-type data in a separate table(Ex:field_type_data).I am able to update the records of the table "...
Nisar Uddin's user avatar
2 votes
1 answer
83 views

P&T List: Information wrapped in quotes dropped on save

We are using P&T List for one of our channels. On save, all content wrapped in quotes is dropped. So: "I like beautiful melodies telling me terrible things." ― Tom Waits is saved as: — ...
Shanan Galligan's user avatar
2 votes
1 answer
87 views

Unable to upload files with FF Matrix 1.3.5

All fields using the FF Matrix fieldtype (version 1.3.5) have suddently stopped working. My client can no longer upload files, and the fields can no longer be expanded to add new rows. This is an old ...
Brian's user avatar
  • 45
2 votes
1 answer
120 views

Information not displaying in Playa field

I'm unable to get any relationship information to display within my Playa field. I'm using ExpressionEngine 2.5.2 with Playa 4.0.5 installed and my license key input. I have an information selected ...
jennetcetera's user avatar
2 votes
2 answers
567 views

Solspace Freeform Pro no field types available

I recently bought freeform PRO(version 4.0.11) and upgraded my freeform(version 4.0.8) using the Solspace update method. When I navigate to the module page and select the tab field types the page ...
0x1ad2's user avatar
  • 319
2 votes
0 answers
72 views

EE5 : File upload field not displaying in entry

any idea what's going wrong as the file upload field is not displaying ? CHMOD Permissions checked, PHP version 7.00 checked... But no problem to upload an image directly through File Manager
Velar's user avatar
  • 21
1 vote
1 answer
66 views

Prevent multiple add_to_head() calls

In function display_field(), if a fieldtype needs to use ee()->cp->add_to_head('/path/to/foo.css') and ee()->cp->add_to_foot('/path/to/bar.js'), how can I get it to do so only once, even ...
Sandwich's user avatar
  • 542
1 vote
1 answer
198 views

Coppee Pastee Fatal error when trying to install fieldtype

I receive this error when trying to install Coppee Pastee in ExpressionEngine 2.8.0 Fatal error: Call to undefined method EE_Fieldtype::EE_Fieldtype() in /System/expressionengine/third_party/...
Josh Conner's user avatar
1 vote
1 answer
118 views

field Type no passing tag data to replace_tag function

having a bit of a problem with a field type and trying to pass in tag data.: in my template i have {entries ...} {field} {keys}{key}{/keys}{/field} {/entries} however when i do a var_dump($tag_data)...
4razmus's user avatar
  • 231
1 vote
1 answer
51 views

Error when trying to access a channel from the backend

Good evening! I was wondering if anyone has seen this issue before. Whenever I try and access the backend details of a channel, I'm getting this php error: Error: Unable to load requested field ...
Jake Covert's user avatar
1 vote
1 answer
211 views

Does anyone know of a working color picker plugin for Expression Engine 2.x?

I've found all the plugins on devot-ee.com, but none of them seem to work. Most of them seem to cause some sort of javascript conflict. The "modal" that the pickers use show up at the bottom of the ...
jthomas's user avatar
  • 271
1 vote
1 answer
117 views

Load EE Field Type in Third Party Module

I am trying to load wygwam field type into a custom module, on my localhost the following works: require_once(APPPATH . 'fieldtypes/EE_FieldType.php'); require_once(PATH_THIRD.'wygwam/ft.wygwam.php');...
4razmus's user avatar
  • 231
1 vote
2 answers
190 views

Is it possible to populate a select list field from another grid field?

I'm working on a project where the client wants to be able to upload new page background images and then select one for each page/section of the site. A solution I thought might solve this would be ...
Wes's user avatar
  • 411
1 vote
1 answer
66 views

Create a plugin or Field type

I am new to EE and working my way around the CMS. I have worked with WP and Joomla. The task I have is to build an admin functionality where the admin can select either a URL or upload a file and ...
Bharath Parlapalli's user avatar
1 vote
1 answer
39 views

Determine if display_field is request from {safecracker} tag vs. backend?

:) I am trying to develop a new fieldtype and would like to display different markup depending on whether the field was requested by the user or in the backend. Is there a reliable way to detect in ...
spacesuitdiver's user avatar
1 vote
2 answers
273 views

Using the RTE within my own custom field type

As a learning process, I am developing a field type that will allow me to insert data from multiple text inputs and text area fields (similar to an address field with text fields for address, state, ...
pseudoclass's user avatar
1 vote
1 answer
90 views

How to create a global configuration page for my custom field type?

I have created a custom field type which integrates with a web service. I need to create a simple interface which allows the User ID and API key to be configured globally. Will I need to create a ...
Lea Hayes's user avatar
  • 1,466
1 vote
1 answer
132 views

How do I embed a slide deck from Slideshare

what´s the best way to embed an iframe from Slideshare into an entry? Here´s an example. <iframe src="http://de.slideshare.net/slideshow/embed_code/17368866" width="427" height="356" frameborder="...
awa's user avatar
  • 525
1 vote
1 answer
52 views

Assets 2.0 (P&T) not saving field setting for mutiple selection

I downloaded Assets 2.0 and ran into an issue where the selection for the field "Allow multiple selections?" is not saved. Thus I can't restrict the user to select only one file. UPDATE: I'm using ...
Flo's user avatar
  • 11
1 vote
1 answer
72 views

Solspace composer template if field_type = file

I want to change the output of the standard file upload field with something similar to "Whipping File Inputs Into Shape with Bootstrap 3". I am using the following conditional in my Solspace Freeform ...
Dan's user avatar
  • 277
1 vote
1 answer
65 views

Does replace_tag fire for single tags if there is no $data?

I'm having a problem with a custom field type where I want to return 'some value' on the condition of there being no value in data. This works when I use a tag pair, but not when I use a single tag. ...
Nathan Pitman's user avatar
1 vote
1 answer
176 views

Error Field Typewith EE2.8 and Tinymce

Deprecated function EE_Fieldtype() called in system/expressionengine/third_party/nsm_tiny_mce/ft.nsm_tiny_mce.php on line 61. When I try to create a new channel field I get this: Fatal error: Call to ...
tomstuder's user avatar
1 vote
1 answer
58 views

VZ Address Directory

I'm trying to figure out the best setup for a directory. I'm adding a bunch of stores that have multiple locations so I wanted to set up my entry to have one address field as "headquarters" followed ...
user2867's user avatar