Matrix is a custom fieldtype created by Pixel & Tonic to allow rows of data (or "matrixes") within a single entry.

learn more… | top users | synonyms

0
votes
1answer
19 views

Is it possible to randomize the row output of a matrix field?

I would like to use a parameter like orderby="random" on a matrix field to randomize the order of the row output. {matrix_field orderby="random"} {row_title} {/matrix_field} I tried this, but ...
0
votes
1answer
33 views

How can I setup a table with ingredients in alphabetical order with a letter label and make it easy for client to update?

Please refer to the table at http://www.tomsofmaine.com/research/ingredients for reference. I currently have a Matrix field setup to add new ingredients and generate a table and it works beautifully. ...
0
votes
0answers
16 views

P&T Matrix doesn't generate correct URL for images in gallery

Instead of generating "http://domain.com/images/gallery/image.jpg" it generates "http://domain.com/images/galleryimage.jpg" (notice the missing / after "gallery". Not sure what is causing this? ...
1
vote
1answer
19 views

Matrix File Upload not displaying contents of directory, upload silently fails

EE v2.5.5 - Build Date: 20121220 Assets 2.0.5 Matrix 2.5.3 Safecracker 2.1 (not sure if relevant) I am using (but was not the original developer for) a multisite EE installation. In each installation ...
0
votes
1answer
23 views

A resource with adjustable number of rows & the ability to add or remove columns per row?

A client would like to be able to ‘build’ each detail page for their portfolio. The breakdown would be something like this: Each row can have a combination of either a video block (embed), a text ...
0
votes
0answers
17 views

Matrix PHP Error: Undefined property: Content_publish::$tools_model

Opps I know better than to not include this stuff!! EE version: 2.5.0 Matrix version: 2.2.2.1 I was setting up a new channel and tried to access the entry page for it and got this error. ...
0
votes
0answers
14 views

Matrix jumping between rows

While editing a matrix field, I added some rows, pasted in some content. While listening to music, I noticed it was jumping back and fourth between the first couple rows, in the same column. I know ...
1
vote
0answers
19 views

Matrix field sorting/filtering in the frontend

Is there a proper way to do this? Say I want to have a list of restaurants, and I want to filter them by city AND by type of restaurant. Is this easily done? I'm guessing it would have to be AJAX ...
0
votes
0answers
23 views

Problem with Matrix/File Manager

When trying to add an image the following problems occur: EE v2.5.0. Matrix 2.2.2.1 Select '+ Add Image' the File Manager opens correctly, but the navigation is broken, and 'Show files as' seems to ...
0
votes
1answer
22 views

Maximum rows in a Matrix field

Is there a theoretical (or practical) limit to the number of rows you can have in a Matrix field? Let's say each row has 5 single line text fields and a date field.
0
votes
0answers
55 views

Matrix really slow

Matrix v2.5.5 / EE v2.6.1 / PHP v5.3.3 {exp:channel:entries channel="assets" entry_id="16"} {test_matrix} {cell_1} {/test_matrix} {/exp:channel:entries} It takes 17 seconds to load ...
0
votes
2answers
46 views

Error saving entry with Matrix - Undefined index: field_id

After upgrading from Matrix 2.5 to 2.5.4 (and then to 2.5.5 today), I am now getting errors when I save entries with Matrix fields. The error reads: A PHP Error was encountered Severity: Notice ...
0
votes
3answers
114 views

Matrix Playa Count Conditionals issues

Sorry, I'm having a little brain freeze here and am hoping for some help. I currently have the following code: <div class="my-div"> {exp:playa:children channel="somechannel"} ...
0
votes
2answers
37 views

html structure conditional on matrix row counts

I am using zurb foundation and a pixelandtonic matrix field. I want to do a new html row for every 3 matrix rows i.e {!-- something needs to wrap round this to say for every 3 rows do a new one of ...
1
vote
1answer
37 views

Database Error (Matrix 2.4.3)

Get the following error when clicking on Add-Ons/Fieldtypes/Matrix. Can anyone help? Thanks. A Database Error Occurred Error Number: 1060 Duplicate column name 'var_id' ALTER TABLE exp_matrix_cols ...
1
vote
2answers
49 views

Matrix and Playa: Pull Channel Entry Data

I have a matrix field ({home_layout}) with the first cell setup as a Playa select single entry all in the channel home. How can I now call the channel entry data from that Playa field which is from ...
0
votes
0answers
18 views

Automatically populate Matrix Rows

Is there a way to automatically populate Matrix rows with channel entries with a custom status?
0
votes
0answers
13 views

Using Matrix Comments

I am interested in using Matrix Comments and wondered if anyone could tell me if it was compatible with EE 2.6+ I couldn't see where to place the diff php in the mod.comment.php file as it suggests. ...
2
votes
1answer
31 views

Conditional not working in Low Variables/Matrix field

I have a simple Matrix field inside Low Variables. All I want to do is display a message when there are no results, but the conditional isn't working. Am I doing something wrong? ...
0
votes
2answers
23 views

Removing rows in matrix when having required fields with Safecracker forms

I have multiple matrix fields in the multiple channels. In most channels the fields (columns) are not required. In these cases removing rows means making sure all fields for the row are emptied. I ...
0
votes
1answer
21 views

Add row not working for Matrix field in Safecracker form

I'm building a safecracker frontend form that allow members to update certain objects. This form uses a matrix field for managing opening hours of shops The matrix field displays fine and existing ...
0
votes
3answers
35 views

Pre-Cache Template Base on URL

I am working on a site that has an employees channel with over 1000 entries. When a user visits the "all employees" page we are paginating the results and all is well, however when a user views the ...
0
votes
3answers
65 views

Conditionals in matrix field

I have a matrix field called {gallery} it has a column with 2 checkboxes - public and private I would like to show only the items marked private but would also like an optional message if there are ...
0
votes
1answer
54 views

File Browser Navigation Menu broken

EE v2.5.0 Matrix 2.2.2.1 When I select ‘Add Image’ in a Matrix field, in the File Browser popup the navigation links are not correctly created and return a ‘404’, and the ‘Show files as’ select has ...
0
votes
2answers
46 views

After Upgrade, Matrix Not Displaying Content

I have a fairly simple site set-up for a client and we're using Matrix to display images like a photo gallery. It's always been fine, but after upgrading her to EE 2.6.0, and Matrix 2.5.4, as well as ...
0
votes
1answer
47 views

Matrix & Zoo Visitor

I'm trying to get Matrix to work inside my Zoo Visitor Registration form... I have this: {exp:zoo_visitor:registration_form return="{current_url}"} {embed="_functions/_course-list-matrix"} ...
0
votes
1answer
50 views

Fixed_order makes entry not display

I found this question and answer that has helped me to get where I currently am. My setup is very very similar to the setup discussed in this thread. HUGE UPDATE / EDIT I deleted pretty much my ...
1
vote
2answers
44 views

How to count Matrix rows that are not empty?

This seems like it should be a piece of cake, but I'm at a loss. I have a Matrix field called {the_matrix} which contains two columns {comment} and {image}. And I'm attempting to output the number ...
0
votes
1answer
25 views

Search matrix rows with OR instead of AND

I've setup some time ago a search field for matrix like so {matrix_field search:matrix_col_01="value"} {Title}... {/if} But now i need to add an extra value from a checkbox {matrix_field ...
0
votes
1answer
25 views

creating a slider using a matrix field

When creating a slider on my home page i had set the slider up as a channel, this allowed me to edit the channel and create a limit on how many slides where published. I was using the method of ...
0
votes
1answer
28 views

Stash List & Matrix Rows Returning Empty

Firstly let me say I'm probably making a really simple mistake, this is my first time using Stash so I'm trying to get my head around it. I've spent the last 45 minutes searching through Google and on ...
0
votes
1answer
18 views

Find consecutive empty cells in Matrix field

I'm trying to build a seat reservation system for a small cultural venue. I will be using a matrix field mimicing all the seats (rows for seat rows, colums for seat numbers). If someone makes a ...
1
vote
2answers
38 views

Upgrade from EE1 to EE2 is causing some issues with Matrix

Error Number: 1054 Unknown column 'is_draft' in 'where clause' SELECT row_id, col_id_9 FROM exp_matrix_data WHERE field_id = 20 AND entry_id = 54 AND is_draft = 0 ORDER BY row_order ASC ...
0
votes
0answers
37 views

Help in write a script to Pre-fill matrix field when creating new entry

Based on the answer Pre-fill matrix field when creating new entry? Some body can help me in writing a script that does this task. I've thi particular case. I've to fill the matrix field like the ...
1
vote
1answer
22 views

Save a Matrix fieldtype configuration to make it fixed and permanent for each entry of a channel

is there any solution to make permanent and repeat in each entry form a matrix fieldtype? I would to make this set of field (includes row and colums) fixed for each new entry form in CP. In other ...
1
vote
2answers
23 views

Can I add together the values of the cells in each Matrix row?

The Matrix docs say: :average, :lowest, :highest, and :sum These tags return the average, lowest, highest, or sum value of a given numeric column in your Matrix field. I have a matrix ...
1
vote
1answer
37 views

Simple Matrix order question… I think!

I'm sure this is an easy one to answer. I have a matrix field which I am using together with CE Image to create a gallery. It contains two columns and a variable number of rows depending on how many ...
2
votes
1answer
36 views

sql subquery channel entry & matrix rows

I need to export channel entries with matrix data and having problems joining the entry id with my matrix subquery This is the matrix subquery which adds up my rows: SELECT exp_matrix_data.entry_id, ...
1
vote
1answer
60 views

How to display Playa Info inside of Matrix

I am missing something very simple. I have a Matrix field pulling in content from a Playa field. Lets say my Matrix cells are called {cell_1}, {cell_2} and so on. Each cell is a Playa field and I ...
1
vote
0answers
31 views

Matrix 2.5.3 and Safecracker file 2.1 (EE 2.5.3) not playing nicely

Ok, where to start. Firstly, I should say that there are similar topics to these, but I have my own unique set of problems, so I decided to post a new question. Some background: This was an EE1 site ...
2
votes
4answers
71 views

selecting the last 2 rows of a matrix

I want to select the last 2 rows in a matrix field: You would expect that this could be easily achieved by using the following code. {matrix} {if row_count >= total_rows - 1} test ...
1
vote
2answers
71 views

Checking if Matrix has rows or not

how can I conditionally output rows of an matrix, if there are any? Eg: {if matrixfield} <h2>Also check</h2> {matrixfield} <a ...
0
votes
1answer
46 views

Assign Matrix field entry in Playa

I've been using Matrix for quite a long time and yesterday I bought Playa because I thought that it can do what I need. I have a channel "Movies" and a channel "People". I made a Matrix field for the ...
0
votes
1answer
90 views

Caching Nested Stash List

I have a list and nested stash list loading and displaying ok until I try to cache. Once cached they both display fine on first load, but upon reload the nested list disappears. I'm not clear on how ...
0
votes
1answer
24 views

Getting a custom fieldtype working in Matrix

I've recently updated EE to 2.5.5 and Matrix to 2.5.3, but now one of out in-house addons is broken. The addon is a custom fieldtype designed to be included in a Matrix field, but this now causes the ...
1
vote
1answer
69 views

Show total channel entries with matrix

I am looking to show the total number of channel entries which do not have and empty matrix field. For example I have entries which have a matrix field with customer information. I would like, if ...
1
vote
0answers
49 views

Parsing matrix field inside a playa loop

I have a setup where I have to parse information from a matrix field that is nested within a playa loop. The template code would look like this: {exp:channel:entries} {matrix_tag_pair} ...
2
votes
0answers
43 views

More efficient way to check if Asset field is blank within Matrix

Need to display if a Asset field within a Matrix field has a file or not. While this works, the overhead is really high. Is there a way to write this with less overhead? Based on the EE template ...
0
votes
1answer
88 views

Matrix error before and after upgrade

I'm having an issue with Matrix where after upgrading from Matrix 2.4.3 to 2.5.3 I get this error on every page of the site regardless of the content on the page. Any ideas on how to fix this would be ...
3
votes
1answer
43 views

{if:else if} & Matrix - Help!

I'm trying to add a conditional that checks if some Matrix fields are populated. If there's content, it'll enter the content within the Matrix fields. If not it'll default to another value. However, ...

1 2 3 4