Skip to main content
The 2024 Developer Survey results are live! See the results
11 votes

Convert Matrix to Grid

Use the EllisLab Playa & Matrix Importer
Josh Conner's user avatar
3 votes

Stash and Multiple Grid Fields Not Populating

Let me show you how the parser will parse that code before Stash tries to capture it as a list. I'll assume your relationship field only allows you to select a single person: {!-- first grid field --}...
Mark Croxton's user avatar
  • 5,244
2 votes
Accepted

Column Width not working in EE3 Grid field when editing entry

The "column width" parameters does not seems to be used for now.. What i did is modify themes/ee/cp/css/common.min.css Because my screeen is 1920px wide.. i change the max-width of .col-group to ...
Benoit L's user avatar
  • 554
2 votes
Accepted

Using video links within grid text field

There's a setting in your channels​ preferences that you can toggle to automatically convert urls to links. Find that setting and turn it off.
stuartmcd69's user avatar
  • 3,163
2 votes
Accepted

Low Search - option thats not in field being searched for

You need to add value="" to the first option. This is how HTML and forms work. This <option>Hello World</option> will submit Hello world This <option value="hi">Hello World</...
Low's user avatar
  • 11.3k
2 votes
Accepted

data-label not displaying with {grid_field:table}

The Grid field's :table modifier is actually just a single tag, not a tag pair. {table:table cellspacing="0" cellpadding="0" class="my-table"} That variable by itself will output the entire table ...
Derek Jones's user avatar
  • 2,255
2 votes

odd even columns in expressionengine with bootstrap

Yes you could use switch also. {exp:channel:entries} <div class="wrap {switch='col-lg-4|col-lg-8'} col-sm-12 content-item"> ... </div> {/exp:channel:entries} Would output ...
Bluedreamer's user avatar
  • 1,607
2 votes
Accepted

Entries tag search:fieldtype=""

To use search parameter in Grid you have to add search parameter in grid fieldtype not in Channel entries tag. You can get more information from below example. https://docs.expressionengine.com/latest/...
Harsh Barach's user avatar
1 vote
Accepted

Solspace Calendar - Grid Field & Channel Images + Conditionals

If you're going to use embeds, you need to make sure you're passing the entry ID from the {exp:calendar:events} tag over to the embedded {exp:channel:entries} tag inside the embed. That would look ...
Solspace's user avatar
  • 6,149
1 vote
Accepted

Collapsed grid fields have no labels

Currently no first party solution to this. I added a feature request for this a while ago and it has not been resolved yet. Another option would be to use a third party builder such as bloqs and ...
Dang Good's user avatar
1 vote

Possible to 'build' a field tag with a var?

There is a way to do this that would appear to be quite a bit less complicated, and possibly helpfully, does not require the use of either stash, inline php or embeds... What you need to do is exploit ...
JCOGS Design's user avatar
  • 3,585
1 vote

Possible to 'build' a field tag with a var?

I ran a quick test with a dropdown field, where the value of the drop down was {body} (a field in another channel I have). I believe the following should work to do what your looking for. {exp:...
Tom Jaeger's user avatar
1 vote
Accepted

Datagrab import, relationshipfield inside grid

This is one that really you should direct to the author of Datagrab... it is quite possible though that the add-on does not support the importing of relationships within grids. The datagrab web site ...
JCOGS Design's user avatar
  • 3,585
1 vote
Accepted

Stash List with Grid and Entry Title

Suspect it is because you are using different context settings between setting the list and getting it back again. You set the list using {entry_id} as the context. You retrieve the list using {...
JCOGS Design's user avatar
  • 3,585
1 vote
Accepted

how to get EE3 Grid data filled out on frontend

Think I found it. Despite the dev tools not showing the actual value on the input that was filled in, i was able to grab data based off the name attr and it spits out the filled in data still. $('...
Chief's user avatar
  • 117
1 vote
Accepted

how to display a row # when looping through 2 different custom fields

yes.. Php was the way to go here in the template. I created a php variable set to 1 and then within each loop I just incremented it and spit out the php variable so it kept a 1-10 list and never ...
Chief's user avatar
  • 117
1 vote
Accepted

Grid Conditionals - side by side fields - only display if field filled

That's do-able, something like this should get you going, by using count conditionally you'll only ever get output if something exists: {e_contact} {if e_contact:count=="1"} <span><i ...
stuartmcd69's user avatar
  • 3,163
1 vote

check if specific field in all rows is empty in a grid field

Not 100% sure I understand what you are trying to do - in your example code you appear to want to display all entries in the grid field, and have a heading included if there are downloadable documents ...
JCOGS Design's user avatar
  • 3,585
1 vote
Accepted

EE3 Grid - Row count doesn't change when you rearrange

You can try offset or > in your conditional {project_photos} {if project_photos:count == 1} View Photos {/if} {/project_photos} (realize this will only show if there is one, and ...
Tiffany Ring's user avatar
1 vote

EE3 Grid - Row count doesn't change when you rearrange

Rearrangement will change the ORDER ID of Grid not ROW ID. If you want to do some code on first row of GRID, You can try something like this: {grid} {if grid:count == 1} {!-- My code --} ...
Mufi - Amici Infotech's user avatar
1 vote
Accepted

How do I include a Relationship field inside a Grid?

I recall if you're inside a relationship inside a matrix you revert to standard tags, so this <p>{content:links_to}{content:links_to:title}{/content:links_to}</p> Changed to this <p&...
stuartmcd69's user avatar
  • 3,163
1 vote

Grid field not saving any data regardless of what I put in it

So, the answer here was exactly what Zenbuman noted: it was the version of PHP. We upgraded to PHP5.4.5 on the server and no more problems. Yay!
TTUGoldFOX's user avatar
1 vote

Column Width not working in EE3 Grid field when editing entry

For whatever reason the option to set columns widths is not observed. I recall EL claiming it was necessary for the CP to be responsive in ee3. I find that ridiculous as it is easy enough to implement ...
Jeremy's user avatar
  • 435
1 vote
Accepted

Q re: nested conditional with grid rows

To do the searching you can simply replace the outer conditional with a search tag (which has the same syntax as the channel entries search tag). The {if} tag is pretty efficient in 2.11 so not an ...
JCOGS Design's user avatar
  • 3,585
1 vote

Parent relationship in grid field type

I made a quick simple plugin that works around this issue. The plugin returns a pipe-separated list of entry ids which can then be used in a channel entries tag's entry_id or fixed_order parameters. ...
James Smith's user avatar
  • 4,885
1 vote
Accepted

How to get file_id of file uploaded in Grid field

Have you tried a variable pair and the {file_id} variable inside it? But, by this way, you already have access to the mime type, using the {mime_type} variable. {gallery} <figure> {...
Sobral's user avatar
  • 6,108
1 vote
Accepted

Get {count} for a Relationships field within a Grid field

Your code is right. You need to pass relationships field with grid prefix like this: {grid_field} {grid_field:relationships_field} {grid_field:relationships_field:count} // incorrectly ...
Mufi - Amici Infotech's user avatar
1 vote
Accepted

Suggestion for fields to use for this type of content

You could use Content Elements? Create a new field type called "Event Pricing" selecting Content Elements as the field type, then when editing the field remove all the default ones, then add your own ...
Peter Lewis's user avatar
  • 5,353
1 vote
Accepted

Does EE3 support preload-replace with conditionals in grid fields?

This is an instance were you will need to quote your conditional, since it's not a true variable. Starting in version 2.9.0, the conditionals parser learned how to behave, and parses conditionals as ...
Derek Jones's user avatar
  • 2,255
1 vote
Accepted

How can I make dynamic Grid (or Matrix) fields in the control panel?

It is not. The simplest solution is to have all four columns and simply instruct the content manager to use the appropriate 2nd, 3rd, or 4th column based on the value of the 1st.
Derek Hogue's user avatar
  • 17.4k

Only top scored, non community-wiki answers of a minimum length are eligible