Questions tagged [entries-field]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

How do I write a GraphQL query to search through sub-entries/entries as fields and return the whole entry?

So I have a fairly complex section structure that (on an Entry Type) has a matrix field that contains entries as fields(sub-entry) within a blocktype. I'd like to write a GraphQL query such that when ...
2
votes
1answer
43 views

How many levels will RelatedTo work? In Reverse?

The TL;DR summary: if I have a related Entries field that I access, can I then access an Entries field within that entry? I created a learning project running on MAMP to help me learn Craft, and one ...
1
vote
1answer
42 views

Can't get a simple Reverse Relations for Entries field to work

I'm trying to get a simple Reverse Entries working, nothing fancy, but I'm stumped. I created a little personal project just to help me stretch and learn Craft better. I picked the NFL Draft just ...
2
votes
1answer
36 views

Element API using the entries field to display related content from a separate section

I've seen similar questions but none seem to help. I have two sections named jobs and jobDescriptions. I'm using the entries field to pull in a description field from the jobDescriptions section to ...
1
vote
1answer
41 views

Best Practice on how to build a Pricing Page on CraftCMS

CraftCMS gives us so many ways/options on how to build pages that I'd love to see what people are doing with their pricing pages! I'm planning on building something similar to Amilia.com or Slack.com. ...
1
vote
1answer
54 views

How do you save custom fields on an EntryFixture?

I can't for the life of me figure out how to setup EntryFixtures in craft to populate with custom fields. I'm using the project config which already has the sections and fields defined in my tests. I'...
0
votes
0answers
22 views

Structuring externally scraped content

I scrape content from an external website using JSON API with the FeedMe plugin. Content is saved as entries with plain text and redactor-type Fields. How can I structure this content so that I can ...
1
vote
1answer
49 views

what is the correct way to programmatically set checkboxes (MultiOptionsFieldData) in a migration? (solved)

I need to update existing entries after the creation of a checkbox fields, to apply the default value to everything that was created before the availability of the new field. The code should run in a ...
1
vote
1answer
26 views

After Migration from v2.9 to 3.5 - some entries added into an entry-relation-field get added twice after saving

We migrated a craft cms site with 3 locales from v2.9 to 3.5 We have a section with a field of type "Entries". When editing the entry, and adding certain entries to this field, those get ...
1
vote
1answer
118 views

Database Exception Column not found: 1054 Unknown column 'configVersion' in 'field list'

I get this Error when i want to save a Field. Also when i want to create a new field. I can hit the goback button and strangely the field gets still saved. I work local and have project config ...
0
votes
0answers
27 views

Dropdown form fields are not submitting properly

I am having issues with an entry form that updates current entries. I have a field called "Driver Type" and its handle is "driverType". It is set as a drop-down field on the admin ...
1
vote
1answer
17 views

Output specific entry from entries field based on position

I have an entries field in a section, I am looking to output a certain selected entry from this field based on its position. For example I want to out the 2nd or 3rd entry only from this entry field, ...
1
vote
1answer
107 views

Possible bug when using Entries fieldtype with multi-site

Thought I'd run this by some people who know what they're doing before I report this as a bug. I have a multi-site configuration. One of the sites has a base URL of example.com and only contains one ...
1
vote
1answer
63 views

Feed Me import from CSV ignores decimal point

I use Feed Me to import values from a .csv file into my entries. Since a day i have an issue i can't explain. I didn't change anything. Precisely, the issue concerns a number field. In the .csv file, ...
1
vote
0answers
47 views

Migrating to Matrix using Feed Me and Element API

How can I use Element API to move my entry fields into a matrix-based content builder? I'm going off the docs found at https://docs.craftcms.com/feed-me/v4/guides/importing-into-matrix.html#setup-your-...
1
vote
1answer
53 views

Group by related entries field

I have a channel of Musical Compositions: Now all these Compositions have a Composer. All the composers are stored in a separate channel and then linked with their respective compositions trough a ...
1
vote
1answer
41 views

Displaying An Entry's Image on Edit Page

Currently, these Entries display just the title. Has anyone found a way to display entries as a thumbnail (from it's image field)? I'm starting to look at plugins, but haven't seen anything that would ...
1
vote
1answer
19 views

Show Category Title only where an entry has been included in an Entries field

I have a Category Group with an Entries field assigned so the admin can select which existing Entries should fall within a given category. An Entry can be assigned to multiple categories. On the ...
1
vote
1answer
217 views

Undefined index error in trying to duplicate file

I've inherited a Craft-based website, and I'm much more familiar with WordPress, so please pardon the extremely basic question: the homepage for this site uses {% extends "_layout" %} and then ...
1
vote
1answer
32 views

How to limit sources for Entries field set up via migration

I'm seeting up all of my project's fields using migrations. This works really well, but I haven't been able to figure out how to limit the sources (sections) for an entry selection field. I've based ...
0
votes
0answers
47 views

Add Matrix Blocks to existing Entry with Form without discarding existing Matrix Blocks

When I want to save an new Matrix block with an form to an existing Entry: <form method="post" accept-charset="UTF-8"> {{ csrfInput() }} <input type="hidden" name="action" value="entries/...
1
vote
1answer
44 views

How to include a lightswitch for each related entry in the source element of a relationship

I have a Services section in which I keep a related entry field for News. (News by Service) The News items to be displayed for each service are selected in a "News" entries field in the Service entry. ...
1
vote
2answers
181 views

Get all available fields in plugin setting page

I am trying to get all the fields created by admin in my custom plugin setting page. As we can get entries , in same way can we have option to get the available fields. {{ forms.elementSelectField({...
2
votes
1answer
288 views

Use an entry field's value in body class

I have created a plain text field that is assigned to a section and is available in the tabs for entries in that section. I want to use this field's value to modify the CSS on my template. My _entry....
3
votes
1answer
316 views

Related Entries not sorting correctly

Craft 3.0.16.1 I have a relationship that is outputting entries, but the entries are not in the order as selected. {# not sorting correctly - **fieldName** is a variable passed via include #} {% ...
1
vote
0answers
75 views

Check the field type of all the attributes of an entry

Here's the whole picture: I'm trying to make an API endpoint which should output everything from an entry: First I did this: public function transform(Entry $entry) { return $entry-...
1
vote
2answers
341 views

Group entries by Category and then in each category by related entry field

I have a channel with categories and an entries field. I need to first group all entries by their category. This is working fine. {% set entries = craft.entries.section('publicationsChannel') %} {% ...
2
votes
1answer
419 views

Element API Fetch Entries URL Within Matrix

I have a matrix with a field to set a Entries URL. Unfortunately the entry is not being returned, only an empty object. Here are my field settings below and element api code. See below for the ...
2
votes
1answer
186 views

Using values from one entry as default values in another?

Is it possible to do the following in Craft? I want to set up course information as follows: 1) have a courseType which contains default values for that type of course - name (i.e. 3 hour skills, ...
1
vote
1answer
183 views

Setting channel url format to include value of entries fieldtype URL

I have a channel with an entry type which has a simple dropdown for {region} and an entries fieldtype which links to a channel of destinations. I'd like the URL format for the channel to be /region/...
1
vote
0answers
137 views

Front end entry dropdown with null option

I have successfully implemented a front-end form that allows the user to add new "blocks" to a certain matrix field. This matrix field has one text field, two date fields, and one entry field that ...
0
votes
1answer
66 views

Entries from previous year 2016 not displaying

Ok, so this is pretty bizarre... Entries from 2016 are NOT displaying when searched for in the admin panel. Whether we search by the year, title, or part of the title, until they're edited (using the ...
0
votes
2answers
433 views

Show all entries from an entry field

I have an Entry field (page) as part of my Matrix field (footer). When the client selects 5 entries, I want to display them all in my list and not just the first. I can only seem to get my code ...
0
votes
2answers
85 views

Calling Sub Channel Entries

How would you go about pulling a selected entry from one channel into another entry using Craft variables? For example, I have a page with an author channel field that allows a user to select the ...
3
votes
1answer
230 views

Set Entries field in Commerce order on completion

I'm trying to set an Entries field within a Commerce Order once the order completes. I've tried using the onOrderComplete event like so; craft()->on('commerce_orders.onOrderComplete',function($...
1
vote
1answer
146 views

Safe number of related entries – before performance hindered?

Is there a safe limit to the number of entries related to another entry via the entry field (including nesting 2 deep) before putting too much strain on performance? I'm approaching a products range ...
1
vote
1answer
35 views

Is it possible to display another column in Entries type field?

I would love to be able to show another column inside Entries type field. Specifically, Image field. Basically,the same functionality as on the Entries list. Is there a plugin or another way of ...
0
votes
1answer
86 views

How to display all fields for an entry within an entry field type?

I've got a portfolio site I'm building, and on each project's page I'm wanting to show a list of people who worked that project. I created a channel section called "work" with an entry field type ...
2
votes
0answers
159 views

Default values of new fields for existing entries

I added a new SEOmatic field to a section that has around 500 entries. As for any other new fields that you add to a section, the default values are only applied on the entries if you open and save ...
1
vote
1answer
475 views

Accessing entries in a matrix field in plugin

I am writing a plugin function that takes an entry id, the entry has a matrix field (called block) and the matrix has a blocktype which contains a number field (blockStep), an entries field (...
1
vote
1answer
96 views

Disabled entries don't show up in the Linked entries field when displayed in the CP entry list

As you can see, I would like to see what challenge the submission is linked to, even though that Challenge might now be turned off (expired or disabled). Is this a bug or intended behaviour. Is ...
1
vote
1answer
224 views

How to render an entry type of a Matrix in HTML?

<a href="{{box.learnMoreLink}}"> {{ box.learnMoreText }} </a> Currently I have a Matrix field that has two plain-text fields. I want to change the href ({{box.learnMoreLink}}) from plain-...
1
vote
1answer
68 views

I managed to make an entry type that won't let me create any entries. How can I fix it?

I managed to make an entry type that won't let me create any entries. The site is for a rock band, and the entry type in question is called "Shows". It contains five fields: Venue Lineup Date Time ...
2
votes
1answer
402 views

Sorting Entries field results by category

I have an entries field 'physicians'. I want to output the selections from that field and sort them by category (also named 'physicians') - with the category heading above each category group. I can'...
1
vote
2answers
382 views

Conditional to see if an Entries field in a user profile contains a certain entry ID

I've got a user profile field named Books. This is an Entries field that contains entries from the Books channel. The idea is that users will save books to their their profile to show they have read ...
-1
votes
1answer
1k views

How to create an entry

I come from a Node/React/Angular background and am entirely new to CMSs and for the life of me can't figure out how to post an entry. I'm on the Entries page, and have one that I can edit, but how do ...
1
vote
1answer
1k views

Frontend form with relation to an entry

I have a field called "assetId" from Entry "A" with Field Type "Entries" and Source "B". How can I build a form so that a relation between these two entries will be established. In the craft backend ...
3
votes
1answer
125 views

Why if I change ie. drop down value, all entries needs to be resaved to take changes? How can I prevent it?

And why clearing cache is not enough?
1
vote
1answer
26 views

How might I select specific data in an entry to be displayed when selecting an entry?

I am not sure if i need a plugin to accomplish a specific task or if Craft CMS can natively handle this task. I created bios for people in a channel of bios. Each entry has a Job Title text field to ...
2
votes
1answer
153 views

Omit Featured Entry from loop of entries with additional omissions

I have a homepage single section has a field for entries (only 1 can be selected). This field is called featuredEntry. In my homepage template (index.html) I set a variable {% set featured = entry....