Hot answers tagged

11 votes

Convert Matrix to Grid

Use the EllisLab Playa & Matrix Importer
user avatar
5 votes
Accepted

Matrix Total Rows Column Search Conditional

EE simply removes any tags corresponding to custom fields that have no data. So by the time EE is ready to parse the outer {if} conditional, it will look like this: {if > 0} Try wrapping the ...
user avatar
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. ...
user avatar
  • 3,572
3 votes
Accepted

Multiple custom matrix field in channel form issue

So, a bright (Latvian) mind was kind enough to look into this. It seems the problem lies with ExpressionEngine code on this one. Embeds or Stash will work just fine but you can also patch EE as ...
user avatar
3 votes

Pixel and Tonic: Matrix fields not saving File/image data

In case this helps anyone else out there I fixed it with the same versions of EE (2.2.2) and Matrix (2.2.2.1) as the OP and with php 5.4.x and php5.5.x. Essentially I did a diff between the latest ...
user avatar
3 votes

Images disappearing from Matrix field

It seems this problem can now be fixed by updating to the latest version of Matrix (2.5.10) per the change log found here: http://docs.pixelandtonic.com/matrix/changelog.html Matrix 2.5.10Released ...
user avatar
3 votes

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

{if row_count == total_rows / 2} is not exist actually, is exist - from version 2.9.0. I tested it with EE v2.9.2 & Matrix 2.6 Mathematic Operators example for your case - split to 2 columns: ...
user avatar
  • 5,781
3 votes
Accepted

Matrix field total_rows > 0 not working?

If you're having trouble with tags not working correctly in conditional statements try wrapping the them in double or single quotation marks. {if "{mymatrix:total_rows}" > 0}{!-- Here --} {...
user avatar
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="...
user avatar
  • 3,163
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 ...
user avatar
2 votes

Super Search DB error with Matrix fields

I am experiencing the same problem where it seems to happen when "Is field searchable?" is enabled within the field settings containing the Matrix field-type (not sure why??!)... I found a solution ...
user avatar
  • 131
2 votes

Create a perfect table using Matrix?

No - you can create as many rows as you want, but not as many columns as you want. Columns must be defined beforehand.
user avatar
  • 17.4k
2 votes

Best content management approach to multi page articles in ExpressionEngine

I think your idea of using Matrix rows or Krea Content Elements to set up separate pages is a good one. In the past, I've just used a single Wygwam field in conjunction with Simple Pagination. ...
user avatar
  • 7,941
2 votes
Accepted

exp_channel_data matrix field contains YTowOnt9

Issue was with DataGrab 1.8.0 If a matrix field has a value and DataGrab has the field option "Action to take when an entry is updated" is set to, "Delete all existing rows" even though there are no ...
user avatar
  • 319
2 votes
Accepted

Assets in a Matrix can't select files from a subfolder

Ok, for some reason, the Assets index was outdated for that folder, showing a weird mixture of old and current folders and files. I'm still not sure I'm ok with the ease at which both EE and Assets' ...
user avatar
  • 542
2 votes
Accepted

Matrix with Playa within Playa

You'll probably need to use a var_prefix to get everything to work correctly http://docs.pixelandtonic.com/matrix/templating/field.html
user avatar
  • 4,747
2 votes

How do I display matrix fields inside of a relationship field (channel entry)?

Matrix doesn't do the inheritance like that. Just simply used the fields as you would a regular matrix field {exp:channel:entries channel="fruit" limit="1"} {related-entry-kinds} <-- name of ...
user avatar
2 votes

Hi all, The matrix ee extension returns only one row

I think the problem isn't with Matrix but to do with your IDs. Your hrefs are all linking to #myModal, which in itself isn't an issue, however you have 4 divs with an ID of myModal so it is always ...
user avatar
2 votes

How can I hide an expired row in a Matrix field?

You can try to use search: parameter with combination with {current_time}* {my_matrix_field search:date=">{current_time"}"} usually date fields is keep data in timestamp format, so it must work. ...
user avatar
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'}
user avatar
  • 645
2 votes
Accepted

Use unique id for each entry

{count} probably belongs to the outer {exp:channel:entries} loop. You want either {row_id}, {row_count}, or {row_index}, which Matrix provides. https://docs.pixelandtonic.com/matrix/templating/field....
user avatar
  • 418
2 votes

Is there a layout switcher in EE2?

If I understood what you want, maybe one of these add-ons can help you: Entry Type - A dropdown fieldtype that shows/hides other fields on the publish page; Better Pages - Better Pages is an ...
user avatar
  • 6,108
2 votes

Matrix rows out of order when outputting

Strange that you're getting a random output since orderby="id" is the default. Are you sure there isn't some kind of JavaScript that's reordering your fields on the front-end? You could try disabling ...
user avatar
  • 611
2 votes

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

I've done that before using the simple math add-on to do the calculation of where to break the matrix rows into their respective columns. Basically just plug in the matrix total rows variable, device ...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 2,831
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"} {/...
user avatar
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 ...
user avatar
  • 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?...
user avatar
  • 5,900
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 ...
user avatar

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