Hot answers tagged

11 votes

Convert Matrix to Grid

Use the EllisLab Playa & Matrix Importer
5 votes

Does anyone know how to create a staging for Expression Engine version 2?

If you know how to create a production or development server for EE2, you can create a staging server... if you don't know how to create a development or production server then go find that out first. ...
  • 3,587
3 votes

How can I add an ampersand (or similar) following all but the final entry in a Matrix loop?

I think the best way achieve this is to do by adding CSS. For that you just need to create one class pipe containing the + sign (either with an image or with color). Then put that pipe class on ...
3 votes
Accepted

Don't display duplicate column data from Matrix

Sounds like a good use for stash. Capture the matrix (or the entire entry, it's up to you). The following assumes you know how to capure and set a list with stash, ie: {exp:stash:set_list name="...
  • 3,163
2 votes
Accepted

Disable automatic link creation from Matrix text field

This is set on per-channel basis, not per-field. Go to Admin -> Channel Administration -> Channels, click "Edit Preferences" next to your channel and set "Automatically turn URLs and email addresses ...
  • 2,846
2 votes

Can't save large matrix field

1) read server logs 2) turn debugging on in index.php This should help you understand better where the problem is. I have lots of issues like that and Usually it is a matter of server configuration ...
2 votes
Accepted

Totaling up and averaging numeric Matrix/Grib fields

Matrix actually comes with this functionality, if you look at their docs, there is a average function. {exp:channel:entries channel="YOUR_CHANNEL"} {YOUR_MATRIX_FIELD:average col="SCORE_COL"} {/...
2 votes
Accepted

Using a grid/matrix field to set stock levels for different colours with CartThrob

You should be able to setup a product modifier field as a regular grid or matrix that allow counting the inventory of each item separately but don't make a difference on price, or are priced in the ...
  • 1,232
2 votes

Display only unique values from a Matrix column

Well, the query module gives you direct access to SQL querying your database tables, so this seem quite possible. It depends on the complexity: Are you looking to isolate rows based on a unique column?...
  • 5,900
2 votes

How to see if a checkbox is selected?

I had the same problem post upgrade from EE 2.8 to 2.10 and found that I needed to change the conditionals as follows to make them work again: {if '{my_checkboxes:selected option="value"}' == '1'}
  • 645
2 votes
Accepted

How do I import checkbox field values using DataGrab?

If you are using a normal, EE checkbox, you should just need to supply pipe-delimited values (eg, One|Two|Three). If you are using a Field Pack checkbox, these aren't currently supported within ...
1 vote

Best practices for importing matrix data

A matrix (or native grid field) can become unwiedly with a lot of records so I'd go down the relationship route. Create a new channel for the data, you can then use relationship field(s) to associate ...
  • 1,577
1 vote

Does anyone know how to create a staging for Expression Engine version 2?

You might want to consider this Bootstrap file from Ben Parizek (originally from Leevi Graham). It allows for Local, Development (Staging) and Production (Live) environments. You can set different ...
  • 31
1 vote
Accepted

How can I add an ampersand (or similar) following all but the final entry in a Matrix loop?

if you change this {if total_results >= "1"} + {/if} to this {if count != total_results} + {/if} Then you will get the "+" if there are multiple and it will ...
  • 1,987
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.
  • 17.4k
1 vote
Accepted

EE Matrix filepicker error: Cannot read property 'rows' of null

Have you tried updating to the latest version of Matrix? Perhaps it's a compatibility issue. https://docs.pixelandtonic.com/matrix/changelog.html
1 vote
Accepted

Playa in a matrix column P&T example

Looks like our Playa field tag ({neighborhood_plan}) is missing the prefix - it needs that since it's inside of your prefixed Matrix field: {neighborhood_plans var_prefix="npd" search:...
  • 17.4k
1 vote
Accepted

Low Variable and Matrix count not showing

I found it! I was trying to use a LV field tags to get the row count of a matrix field while I needed to use the matrix field tag {row_count}. {exp:low_variables:pair var="lv_Form"} ...
1 vote

Conditional with Low Variables, Matrix and Playa

As with others you've spoken to, I'm very out of practice with EE. However, if you look at the EE manual for conditionals, the way you've written this is recommended against. If you look here, it will ...
1 vote

ExpressionEngine Matrix :total_rows doesn't work when no rows

{matrix:total_rows} can't work if there are no rows in the field simply because EE doesn't parse any field tags that don't have any actual data. Matrix never even gets called and the tag gets replaced ...
1 vote
Accepted

ExpressionEngine Matrix :total_rows doesn't work when no rows

I believe when there are zero rows the matrix variable just returns false, so you can just use it in the conditional like this. {exp:channel:entries dynamic="no" channel="regions" url_title="[...
1 vote
Accepted

Matrix & EE 2.9.2 SQL Error

You're missing a database column that was added in Matrix version 2.5 for compatibility with Better Workflow. It sounds like you may have updated the files for that add-on but not triggered the update ...
  • 2,255
1 vote

Matrix and Solspace Importer issue with saving properly

I would query the matrix table for an entry that doesn't work and one that does and compare the 2 to see if there is any difference.
  • 1,987
1 vote

Unable to load the requested file: content/_assets/glossary_items.php after upgrade

I just had this on a fresh EE install. Kinda weird, but thanks for the tip. Installing matrix worked for me as well.
1 vote
Accepted

"Invalid Conditional" error if relationship :count is 0 in conditional?

Since the version 2.9 of eecms, the expected format for conditionals is {if var:count > 0}. Some addons make necessary to use {if "{var:count}" > 0}, but just because of the way the developer ...
  • 6,108
1 vote
Accepted

Why won't SuperSearch look in Matrix field to find results?

Was the field and Matrix columns set to "searchable" after creating entries with Matrix content? If so, that data might not yet be in the exp_channel_data database table, in which Super Search ...
  • 6,139
1 vote
Accepted

Matrix half of the total rows, output code at N row_count

Using grid and native (2.9.2) it’s quite cool, you can now do could do: {if grid_field:count == grid_field:total_results / 2} In our case I wanted to create a two column set of lists :)

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