11
votes
3
votes
Stash and Multiple Grid Fields Not Populating
Let me show you how the parser will parse that code before Stash tries to capture it as a list. I'll assume your relationship field only allows you to select a single person:
{!-- first grid field --}...
3
votes
Grid "no_results" not working?
There is no no_result variable or condition for grid. Use total_rows instead.
{if store_telephone_data:total_rows >= 1}
...
{if:else}
<td>N/A</td>
<td>N/A</td>
{...
2
votes
Assets in Grid In Low Variables - multiple files
I reported this bug to Pixel & Tonic, and they right away got working on a "duct-tape" type fix. It seems, to get this working, in Assets 2.6, you can change line 1810 of system/expressionengine/...
2
votes
Accepted
Column Width not working in EE3 Grid field when editing entry
The "column width" parameters does not seems to be used for now.. What i did is modify themes/ee/cp/css/common.min.css
Because my screeen is 1920px wide.. i change the max-width of .col-group to ...
2
votes
Accepted
Using video links within grid text field
There's a setting in your channels preferences that you can toggle to automatically convert urls to links.
Find that setting and turn it off.
2
votes
Accepted
Low Search - option thats not in field being searched for
You need to add value="" to the first option. This is how HTML and forms work.
This <option>Hello World</option> will submit Hello world
This <option value="hi">Hello World</...
2
votes
Listing grid fields as a relationship choice
I don't think you'll be able to solve it this way. The intent of relationships is to relate Channel Entries together, not relate different data points in a specific entry to another entry.
I would ...
2
votes
Accepted
data-label not displaying with {grid_field:table}
The Grid field's :table modifier is actually just a single tag, not a tag pair.
{table:table cellspacing="0" cellpadding="0" class="my-table"}
That variable by itself will output the entire table ...
2
votes
Accepted
Entries tag search:fieldtype=""
To use search parameter in Grid you have to add search parameter in grid fieldtype not in Channel entries tag. You can get more information from below example. https://docs.expressionengine.com/latest/...
2
votes
odd even columns in expressionengine with bootstrap
Yes you could use switch also.
{exp:channel:entries}
<div class="wrap {switch='col-lg-4|col-lg-8'} col-sm-12 content-item">
...
</div>
{/exp:channel:entries}
Would output ...
1
vote
Accepted
Stash List with Grid and Entry Title
Suspect it is because you are using different context settings between setting the list and getting it back again.
You set the list using {entry_id} as the context.
You retrieve the list using {...
1
vote
Accepted
how to get EE3 Grid data filled out on frontend
Think I found it. Despite the dev tools not showing the actual value on the input that was filled in, i was able to grab data based off the name attr and it spits out the filled in data still.
$('...
1
vote
Accepted
how to display a row # when looping through 2 different custom fields
yes.. Php was the way to go here in the template. I created a php variable set to 1 and then within each loop I just incremented it and spit out the php variable so it kept a 1-10 list and never ...
1
vote
Accepted
Grid Conditionals - side by side fields - only display if field filled
That's do-able, something like this should get you going, by using count conditionally you'll only ever get output if something exists:
{e_contact}
{if e_contact:count=="1"}
<span><i ...
1
vote
check if specific field in all rows is empty in a grid field
Not 100% sure I understand what you are trying to do - in your example code you appear to want to display all entries in the grid field, and have a heading included if there are downloadable documents ...
1
vote
Accepted
EE3 Grid - Row count doesn't change when you rearrange
You can try offset or > in your conditional
{project_photos}
{if project_photos:count == 1}
View Photos
{/if}
{/project_photos}
(realize this will only show if there is one, and ...
1
vote
EE3 Grid - Row count doesn't change when you rearrange
Rearrangement will change the ORDER ID of Grid not ROW ID. If you want to do some code on first row of GRID, You can try something like this:
{grid}
{if grid:count == 1}
{!-- My code --}
...
1
vote
Accepted
How do I include a Relationship field inside a Grid?
I recall if you're inside a relationship inside a matrix you revert to standard tags, so this
<p>{content:links_to}{content:links_to:title}{/content:links_to}</p>
Changed to this
<p&...
1
vote
Grid field not saving any data regardless of what I put in it
So, the answer here was exactly what Zenbuman noted: it was the version of PHP. We upgraded to PHP5.4.5 on the server and no more problems.
Yay!
1
vote
Column Width not working in EE3 Grid field when editing entry
For whatever reason the option to set columns widths is not observed. I recall EL claiming it was necessary for the CP to be responsive in ee3. I find that ridiculous as it is easy enough to implement ...
1
vote
Accepted
Q re: nested conditional with grid rows
To do the searching you can simply replace the outer conditional with a search tag (which has the same syntax as the channel entries search tag). The {if} tag is pretty efficient in 2.11 so not an ...
1
vote
Can you query a grid field to return a list of distinct fields?
I preface the answer by saying that I do not recommend using SQL to get at your entry data this way, as it's what the Channel Entries tag and field variables are designed to do for you. That said, ...
1
vote
Assets in Grid In Low Variables - multiple files
When using the Parse or Pair tag to output a Grid field, the tag will act the same as a regular Channel Grid field would. That means you can use the same template tags and parameters. That means the ...
1
vote
Parent relationship in grid field type
I made a quick simple plugin that works around this issue. The plugin returns a pipe-separated list of entry ids which can then be used in a channel entries tag's entry_id or fixed_order parameters.
...
1
vote
Accepted
How to get file_id of file uploaded in Grid field
Have you tried a variable pair and the {file_id} variable inside it? But, by this way, you already have access to the mime type, using the {mime_type} variable.
{gallery}
<figure>
{...
1
vote
Accepted
Get {count} for a Relationships field within a Grid field
Your code is right. You need to pass relationships field with grid prefix like this:
{grid_field}
{grid_field:relationships_field}
{grid_field:relationships_field:count}
// incorrectly ...
1
vote
Accepted
Suggestion for fields to use for this type of content
You could use Content Elements? Create a new field type called "Event Pricing" selecting Content Elements as the field type, then when editing the field remove all the default ones, then add your own ...
1
vote
Accepted
Does EE3 support preload-replace with conditionals in grid fields?
This is an instance were you will need to quote your conditional, since it's not a true variable. Starting in version 2.9.0, the conditionals parser learned how to behave, and parses conditionals as ...
1
vote
Accepted
How can I make dynamic Grid (or Matrix) fields in the control panel?
It is not. The simplest solution is to have all four columns and simply instruct the content manager to use the appropriate 2nd, 3rd, or 4th column based on the value of the 1st.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
grid × 220relationships × 42
safecracker × 22
matrix × 18
channel-entries × 15
assets × 13
conditionals × 12
ee3 × 12
ee2 × 10
search × 9
low-variables × 9
file-uploads × 8
2.7.0 × 8
image × 7
templates × 6
channel × 6
fieldtype × 6
files × 6
categories × 5
stash × 5
playa × 5
pixelandtonic × 5
low-search × 5
solspace × 4
error × 4