People who code: we want your input. Take the Survey

Questions tagged [custom-field]

The tag has no usage guidance.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
22 views

Craft 3 entry.author.getPhoto() is coming up null on template, but the author has a photo uploaded in the user > details section, any ideas why?

The site is utilizing a Servd bucket to store all assets. The backend shows a photo successfully uploaded to the user > details section, but does not provide a url in the entry.author.getPhoto(), ...
1
vote
0answers
20 views

Show parents of entry in custom entries field extending BaseRelationField

The default BaseRelationField shows only the name of the selected entry in the field (e.g. "SubEntryX"). I created a custom entries field by extending the BaseRelationField in a module. Now ...
1
vote
0answers
38 views

Cannot get asset from custom user field, with no-admin account

I would like to get a file of custom user field, which is "asset", and provide a link to the file for the user. However, the asset file cannot be gotten. The length of the asset field is zero. In ...
1
vote
0answers
40 views

Customer (Member) Profile Page

I have a site where I'd like customers to login and be immediately presented with their profile page (and ONLY their profile page). On this page they can: 1. See progress reports on their jobs (...
1
vote
0answers
102 views

Element type vs. Field type - or: Element type without database storage?

I have already searched for information on this topic but I did not find much. I hope I did not overlook something. My problem is the following: I want to try to write a plugin that lists entries ...
1
vote
0answers
33 views

Is it possible to create a custom field listing all enabled locales?

We have a multilingual site with about 30 different locales and about 5 pages of content for each. We're using Craft as a content API for the editors to manage content. Some of those locales share ...
1
vote
0answers
52 views

Filter conditions on related UserModel in custom Record

My plugin has a custom ResponseRecord with relations to a UserRecord and ElementRecord as follows: public function defineRelations() { return array( 'user' => array(static::BELONGS_TO,...
0
votes
0answers
60 views

Adding extra data to an element

I know questions similar to this have been asked in the past. But I still don't feel like I am getting a full picture so feel there is benefit in asking it again. I want to add extra data to a post ...