Publisher does not support the Fluid field type. Please do not contact asking when support will be available.
If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.
Ticket: Matrix field {field_total_rows}
Status | Resolved |
Add-on / Version | Publisher 1.1.3 |
Severity | Critical |
EE Version | 2.7 |
VitaClick™
Oct 21, 2013Hello
in my project i’m using {field_total_rows} to count the rows in the entry.
unfortunately if i switch language its stoping giving the result for another languages.
Reagrds
BoldMinded (Brian)
Thanks for the report. What I’m seeing is that field_total_rows reports the same as total_rows when in the non-default language. The variables are parsing, just incorrect numbers. Is that what you’re seeing as well?
VitaClick™
I use:
{channel url_title=”{segment_2}” limit=”1”}{field_total_rows}{/channel}
Default Language shows correct result: 8 Non Default language shows always: 1
i got the same results with total_rows tag.
BoldMinded (Brian)
You’re using limit=”1”, but its correct for the default language to show 8 rows? I would think it should only show 1 row.
VitaClick™
Without limit=1
i got for default language = 999999999 for no default language = 88888888
its so strange 😊
BoldMinded (Brian)
How many rows do you have in the exp_matrix_data table?
VitaClick™
183
BoldMinded (Brian)
I’m going to try to look into this tonight or tomorrow. Sorry for the delay.
Brian Litzinger
Would it be possible to get FTP access to debug this? If so add it to this ticket. Also if you could point me to a channel > entry that is having issues and a URL in which the field can be seen on the front-end of the site. Also make sure the files are writable for the FTP user provided. Thanks.
VitaClick™
There is no FTP access unfortunately because i’m developing locally.
Brian Litzinger
Would you be able to zip up the whole site (sans any huge image/media folders) and the DB and send it to me so I can work on it locally?
Brian Litzinger
If so you can edit the ticket and put a dropbox or some other sharing link into one of the FTP Host field.
BoldMinded (Brian)
Just checking in. Any possibility of getting a site dump so I can replicate and debug it?
Brian Litzinger
Closing this because I have not had similar reports nor have I noticed similar behaviors in my testing. If this is still an issue just reopen or create a new ticket.