Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Matrix is a custom fieldtype created by Pixel & Tonic to allow rows of data (or "matrixes") within a single entry.
3
votes
Accepted
Output matrix rows in sets of two
The Matrix {switch} variable will work for this. … }
{/matrix_field}
</div>
Which will output:
<div>
1
2
</div>
<div>
3
4
</div>
<div>
5
6
</div>
<div>
7
</div>
Just replace {row_count} in my example with whatever Matrix …
3
votes
An add-on to rate Matrix rows
and each dish being a Matrix row). … But since ratable Matrix rows sounds like the best approach, take a look at VZ Average. I have not tried it but according to the docs it supports rating Matrix rows. …
3
votes
Accepted
Show total channel entries with matrix
search:your_matrix_field="not IS_EMPTY"
...and it will only return entries that actually have content in your Matrix field. … So in this case you'd select entries where your Matrix field is not empty. …
5
votes
Accepted
Matrix & Radio Buttons - how to make radio button part of the same group?
Matrix Radio Group. By Pixel & Tonic. This one is not on Devot:ee and might only be
described here. …
3
votes
Accepted
How do I render a matrix field in search results?
You can display custom field data, including Matrix fields, within the exp:search:search_results tag. In this case it just looks like you have the incorrect syntax. … Your img_caption field is a Matrix column. Matrix columns are only available within the Matrix tag pair, so the column name alone won't display anything. …
1
vote
Accepted
Matrix PHP error "Undefined index: directory" after EE update
This corresponds to the "Allowed file upload directories" select menu on the File column in your Matrix custom field. … Just edit your Matrix custom field, re-saving the custom field settings and you should be good. …
4
votes
Accepted
Place article_images inside a div only if there's more than 1?
Perhaps there is a more elegant way, but this works:
{article_images}
{if total_rows > "1" && row_count == "1"}
<div id='news_slider'>
{/if}
<img title="{img_title}" src="{im …
4
votes
Accepted
Matrix: Is there a way to avoid gaps in my source code
You can use Matrix's search parameter to return only the rows of interest:
{report_articles search:report_type="=Land"}
Show the Land data
{/report_articles}
4
votes
Expiration date for a row
Inside your Matrix tag pair this will work:
{if expiration_date_column > current_time}
{! … -- not expired yet, put your row html here --}
{/if}
Or you can use the search parameter on the Matrix opening tag. …
2
votes
Best content management approach to multi page articles in ExpressionEngine
With a Matrix or Content Elements handling separate pages you'd have to shuffle content between rows in order to change where breaks in your content occur. … On the other hand, the Matrix or Content Elements approach is probably a little more client-proof (no chance for typos in entering the page break trigger). …
7
votes
Accepted
How would I go about integrating a jquery slider in EE with CE Img?
Since your channel:entries loop is pulling multiple entries, and thus multiple Matrix fields, {row_count} will not uniquely identify your captions. …