Questions tagged [fieldtypes]

The tag has no usage guidance.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
77 views

Set default order of Custom Fields inside Layout Tab

I'm writing a custom plugin, and I want to specify a custom order of the Fields in a tab. My plugin installs several fields, and I want the user to be able to simply add the tab that contains my ...
2
votes
0answers
87 views

Custom fieldtype to add text field to dropdown, radiobuttons and checkboxes

In my plugin I need to create a fieldtype of a dropdown, radiobutton or checkbox combined with a textfield. I've gone ahead and created a custom field type using the description here https://craftcms....
1
vote
1answer
40 views

Special characters like ✓ are not being saved in text fields

we have just noticed that characters like ✓ are being saved in the title field but not in plain text fields regardless of the database type (PostgreSQL / MySQL) or field type in the database (text, ...
1
vote
0answers
44 views

Craft Table/Tabular static entry input field

Is there a way to set up a Craft CMS entry field to have a table with predefined rows and columns? I have tried with the native Craft Table field, but it allows users to add rows or edit default ...
1
vote
0answers
27 views

Storing complex field content (plugin)

I'm trying to work through some issues with the field content for our Maps plugin, but I'm not sure about the best way to go about it. Currently the value for each map field is stored as an element ...
1
vote
0answers
46 views

How do you include an "Add element" button to the element selector modal

In my plugin's field types I am extending the BaseRelationField. How do you activate the "Add Element" button that shows in the Element Selector modal when the element is double clicked?
1
vote
0answers
45 views

The fieldtype class “insert fieldtype class here” could not be found

I'm specifically having this issue with Sprout SEO, but I would imagine the problem would persist across any plugin, given whatever solution is used. Anywho, so I've got three environments - dev, ...
1
vote
0answers
118 views

Custom Drop Down Field Type Validation

I have a custom fieldtype that I have built in a plugin. I want to validate these fields inside of field settings when data is added. I saw there was a getErrors method in the model however I am ...
1
vote
0answers
136 views

What's the best way to get all content for a field?

Given an array of field IDs, I want to get all content for those fields. So, in this situation: entry 1 field ID 1: 'test' entry 2 field ID 1: 'test test' I want to end up with array('test', '...
1
vote
0answers
139 views

Custom field type not accessible in usermodel

I have altered the Craft usermodel using some standard field types (like an entry field type) and an customfieldtype (extended from the EntriesFieldType). The only thing I have altered in the child ...
0
votes
0answers
18 views

Field type that lets me select fields

I am trying to find a field type that lets me select one or more fields. I want to use this on a category to let the user select which fields should be used a faceted filters on the product listing.
0
votes
0answers
22 views

Display custom field content instead of full name for user field in craft admin

Is it possible to display custom field content attached to user profile instead of user's first and last name in the admin area for User field?
0
votes
0answers
52 views

Updating Search Indexes failing because of "rouge" invalid field handle

I'm on the latest build 3.5.3. I created a Lightswitch field type within a Matrix field in my local dev env and called it "colorBlock". No problems there. When I recreated this in my staging ...