Questions tagged [matrix]
Matrix is a custom fieldtype created by Pixel & Tonic to allow rows of data (or "matrixes") within a single entry.
481
questions
0
votes
1
answer
109
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
1
answer
84
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
2
answers
160
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 ...
1
vote
1
answer
64
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
2
answers
308
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 field ...
1
vote
1
answer
191
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
1
answer
448
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
2
answers
1k
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
0
answers
107
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 ...
3
votes
4
answers
694
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
...
2
votes
2
answers
2k
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 href="{url_title}">{title}</a><...
0
votes
1
answer
111
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
1
answer
255
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
1
answer
88
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
1
answer
350
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 ...
2
votes
1
answer
397
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}
...
3
votes
1
answer
339
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 ...
2
votes
1
answer
1k
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 ...
5
votes
1
answer
4k
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, ...
2
votes
1
answer
140
views
Problem with empty, non-required Assets 2.1 field in a Matrix row
I upgraded to Assets 2.1 yesterday and am experiencing a problem when a non-required Assets 2.1 field in a Matrix row is empty. On a single-entry template (limit=“1” and require_entry=“yes” parameters ...
1
vote
1
answer
212
views
Matrix, plus symbol in text input breaking in simple if conditional
I seem to be getting the same error as in this post, but in my case the problematic part of my condition is a plus symbol, which is pretty absurd!
{if '{caption}' != ''}data-caption="#caption-{row_id}...
1
vote
1
answer
30
views
Matrix hides row options in IE9
This is in response to the thread posted here: https://getsatisfaction.com/pixelandtonic/topics/matrix_in_ie9_hides_row_options which is no longer active.
Matrix 2.5.3 and Internet Explorer 9, the ...
2
votes
1
answer
92
views
Persisting Playa relationship in Matrix row
I have a matrix field that has a single-select Playa field in one of its two columns. (The other column is just text).
In one particular situation, the value of the Playa field was changed, but the ...
2
votes
1
answer
107
views
What are the best practices for having multiple Matrix field on one Safecracker form?
I have a safecracker form with 4 very similar ( a few of the same colmumn names ) Matrix fields. When I click the + button to add a row to one of the Matrix fields it adds 4 rows each with a number 1 ...
1
vote
0
answers
22
views
In a Matrix Fieldtype, how does one call a function before all the rows are saved using save_cell()
In a custom Matrix fieldtype I have, the save_cell() function is used to process the fieldtype data for each row. It seems this function is called on a per row basis, so not called once.
What I ...
1
vote
1
answer
331
views
Sort Channel Entries By Matrix
Is there a way to sort Channel Entries by a Matrix field?
How would this work if date was a Matrix field?
{exp:channel:entries orderby="date" sort="desc" limit="10"}
<a href="{...
1
vote
1
answer
85
views
Updating matrix makes my site go blank
I've just updated EE to 2.5.5 only to find that matrix images aren't showing. Apparently I need to update matrix from 2.1.2 to 2.5.3 to solve this, but when I do all of the site's pages go blank. Any ...
0
votes
1
answer
264
views
Referencing Playa Field inside a Matrix Field from another Channel
I am trying to reference an image field from blog posts (blog channel) to display on a staff profile page (pages channel).
On the blog post there is a matrix field "blog_smile":
Column 1: ...
1
vote
1
answer
20
views
P&T Matrix Required Col on VZ URL fieldtype not honored
I have a matrix fieldtype with a column that has a VZ URL field in it. The column is set to required but you can leave it blank when submitting an entry. Anyone else have this issue or any insight?
1
vote
1
answer
113
views
matrix add image
I am unable to add even a single image when trying to publish or edit content. Clicking the "Add Image" link does nothing. I'm assuming this something to do with my EE installation, but can find ...
1
vote
1
answer
216
views
Matrix with a Playa field which has a Playa Field
To set the stage, I've got 3 Channels: Agenda, Sessions, and Speakers, with a breakdown of the custom field types as follows.
Agenda contains a Matrix field with 3 columns - the start time, end time,...
1
vote
1
answer
175
views
Matrix field customised in Safecracker
I have a Matrix field that I am using for an address.
I have 5 columns in total
Address 1 - Text
Address 2 - Text
City - Text
County - P&T Dropdown
Postal Code - Text
I have City and County ...
1
vote
1
answer
464
views
Unable to upload files with Matrix Multi-Upload
Software Versions:
EE 2.5.2
Matrix 2.5.3
Matrix Multi-Upload Accessory is version 1.1.1 but the module says version 0.9.1(downloaded today from github)
I'm able to upload fine thru Matrix, but not ...
3
votes
4
answers
1k
views
Images disappearing from Matrix field
I got a weird one here, so I don't expect an exact answer, but more of a pointer in the right direction:
I'm working on a site and everything works as expected on my local server, but when I move it ...
1
vote
2
answers
89
views
Upgraded site from EE1 to EE2 but data in exp_matrix_data missing
As the title says, I've upgraded a site from EE1 to EE2 but data that I can see exists for entries in exp_matrix_data table is missing from the publish page, i.e. there's rows in exp_matrix_data whose ...
1
vote
2
answers
375
views
WYGWAM field disappearing in IE8, IE9
We are having an issue where WYGWAM fields are disappearing on initialization of the js in the Edit Entry screen in the control panel. This is only for IE8 and IE9; other browsers work fine. This ...
1
vote
2
answers
615
views
if:else not working with my matrix tag pair
Maybe I am a moron, but i just can't get this to work. Iv anyone can help me... please do so before i start hurting myself... :p
I'm working with EE 2.5.5 and Matrix 2.5.2.
I've got a channel called ...
1
vote
2
answers
83
views
After Upgrading Matrix 2.4.3 → 2.5.3 P&T Dropdown Fields Fail in Templates
After upgrading from Matrix 2.4.3 to 2.5.3 on EE 2.5.5, P&T Dropdowns (1.0.3) used within Matrix fields are no longer parsing in templates. They simply return nothing.
Nothing looks out of place ...
1
vote
2
answers
176
views
Matrix 2.5.3 with Assets 2.0.5 - not behaving correctly
I'm having a very bizarre issue with a fresh install of EE 2.5.5, Matrix 2.5.3 & Assets 2.0.5
I created a field group and then created a matrix field. When I did so the matrix cp did not look ...
0
votes
1
answer
67
views
LV, Matrix fieldtype with an Assets fieldtype in column
I have a Low Variable with a Matrix field type. Inside one of the columns I have an Assets field type.
Seems to work on and off. I could load my template, image is displayed. I could refresh the ...
2
votes
2
answers
105
views
Switchee | Matrix and MX Calculator
I'm trying to use MX Calculate to perform a percentage calculation of each row in a matrix column and the percentage is based on the value that's in each row which I'm trying to get Switchee to ...
1
vote
1
answer
184
views
Low Variables aren't displaying in the Matrix dropdown
This is the second site I've had this problem on, but when I set a matrix field to low variables, I set the grouping I want, add a low variable to that group, but when I go to the entry, the dropdown ...
2
votes
1
answer
103
views
An add-on to rate Matrix rows
I was thinking of using EE for a restaurant review kind of website. Ideally, I would like to create the restaurants as entries and have the entire menu of each restaurant as a Martix in their entry.
...
5
votes
1
answer
225
views
Matrix, user global variables in basic text input breaking in simple if conditional
We have a Matrix that has a simple text input in the first column, and another text input in the second column. First column is for a link title, second column is for a URL. This is the stripped down ...
1
vote
1
answer
245
views
matrix date field output
I'm having some trouble getting a matrix field to output a date cell correctly.
I am running EE 2.5.2, Matrix 2.4.1.
When I put the following code into my template:
{legislator_labi_score limit="1"...
0
votes
3
answers
100
views
In Profile:Edit edit page add text with Matrix
i've a big challenge. I'm trying to replicate this form from behance in my edit profile page made with Profile:Edit add-on by mightybigrobot. Users can add manually their own social URL selecting from ...
1
vote
1
answer
354
views
Matrix and Wygwam / Content Elements plugin conflict
I think I have a plugin conflict.
In the CP, I have a channel with the following channel fields:
Content Elements
Matrix with just Text
Matrix with Text and Wygwam
In the last one, when I try to ...
3
votes
2
answers
254
views
How to stop Matrix NSM TinyMCE field from converting HTML tags to entities
I have a matrix with a text field and a NSM TinyMCE field. For some reason the NSM TinyMCE field keeps converting HTML tags to entities. So I get things like:
<p><p>&lt;p&...
2
votes
3
answers
562
views
How Do I get Multiple Pictures from Matrix for use in a JQuery LightBox?
I am tring to get Pixel and Tonic's Matrix plugin to deliver images to ColorBox / LightboxI have Matrix delivering single images to my JQuery LightBox ( ColorBox) but I can not get it to deliver ...
0
votes
1
answer
138
views
Need to "front load" Matrix content
I have a (P&T) Matrix storing related entries from a channel where the entry_date for each entry is being used as a go-live date. Each row with its related content and more displays as its own ...