12
votes
Accepted
Playa upgrade error in EE 2.9
For some reason sometime the update is applied but EE does not change the version number. I'm not even sure on which side the error happens, but setting the version number to 4.5 in exp_fieldtypes ...
5
votes
Accepted
How to move all Playa relationship to EE relationships
It's a pretty simple operation, since they are stored very similarly.
First, backup your database. Then, run this code in a PHP-enabled template:
<?php
$playa = ee()->db->query("SELECT * ...
5
votes
Accepted
convert EE relationships to Playa
Always read the manual Steven!!! http://docs.pixelandtonic.com/playa/using/converting/relationships.html
5
votes
Accepted
Playa broken in MySQL > 5.7.4
So far I've discovered and fixed one case and will add more here if discovered.
File: mod.playa.php
Line: 550
FROM
$sql = 'SELECT DISTINCT(rel.child_entry_id) AS entry_id
TO
$sql = 'SELECT ...
3
votes
Using Playa field to order channel entries list
Probably the order is the order in which the relationships were created; this at least would be the case for the native EE-relationships. I assume with playa it is the same.
From the docs:
...
3
votes
Accepted
Can I use a PLAYA field as a search parameter in channel entries tag
You actually can search on playa fields if you've ticked the "Is field searchable?" for the field. I believe the title or entry id of the related field can be used in the search.
For example, both ...
3
votes
Related entries using Playa
Looks like your missing dynamic="no" parameter on the exp:channel:entries tag. However, it seems like you might be over complicating things as the exp:playa:children would work by itself if you pass a ...
3
votes
Accepted
Using Playa passing values
I have resolved this by adding the option parse="inward" to the {exp:playa:parents} tag. So my code looks like below
{exp:playa:parents channel="article|blogs|calendar_events|contests|podcasts|...
2
votes
Accepted
Very close to working - var_prefix= tabbed and nested
you issue is that all your records have class="active".
It is happens because count is going from exp:channel:entries and for all playa records is the same - 1. You have already var_prefix parametr ...
2
votes
Can I use a PLAYA field as a search parameter in channel entries tag
I have written an add-on that helps filter channel entries by their Playa relationships. If the solution above doesn't quite do it for you, check out PaternitEE on Devot:ee.
2
votes
Accepted
multiple sliders one page - Stash parse order and Playa
Set your var like this, using the trim parameter to remove whitespace and line breaks from the captured variable:
{exp:channel:entries channel="rehab" url_title="{segment_3}" limit="1" require_entry="...
2
votes
Accepted
Playa - var_prefix question
Try removing the parse="inward" parameter from your {exp:channel:entries} tag. It may be confusing things and you don't really need it anyway.
2
votes
No output on a Playa Low Variable
Adding to this, I had to put transcribe=“disable” inside of the Playa tag (not the ece loop) to get it to output. Credit goes to EE Harbor.
2
votes
No output on a Playa Low Variable
You could try and use the playa:children tag instead of the Parse tag:
{exp:playa:children var="lv_book_slider_en"}
{title}
{/exp:playa:children}
2
votes
Display ALL latest related entries using Playa
There is not a way to relate certain entries to another automatically with Playa.
Actually you don't need to relate entries to a certain member, because EE already does that for you. When a member is ...
2
votes
Displaying only one related entry per list
Assuming that the alternate dates are related to the "parent" tour via a Playa field in each "alternate" entry (so the alternate dates are "children"), you'd simply do this:
{exp:channel:entries ...
2
votes
Pixel and Tonic Playa direction
What you're describing is reverse relationships. Playa has no such field for the publish page, but it is possible to get the reverse relationship in the templates with the {exp:playa:parents} tag.
2
votes
Accepted
Matrix with Playa within Playa
You'll probably need to use a var_prefix to get everything to work correctly http://docs.pixelandtonic.com/matrix/templating/field.html
2
votes
Accepted
Pass variables through playa loop to use in an embed?
You don't have the embed syntax quite right. Passing {embed:entry_id} is correct, as that tells the channel:entries tag which entry to load. But there are no channel:entries parameters called title or ...
2
votes
Accepted
Playa with large number of entries +20,000
Yes. Playa has a useful setting to limit the number of entries that are loaded initially. This helps performance. The user can then search to find additional entries to choose from.
2
votes
Accepted
I'm having trouble getting simple IF statements within a Playa tag to evaluate properly
There are some issues in EE 2.9 with conditionals on prefixed variables and variable modifiers which I don't totally grok. (See bug report here for some discussion.)
But the moral is, try this:
{if '...
2
votes
Accepted
Parsing code in a textarea field pulled in with Playa
Wow! This looks so complex...
Please, try using this first party add-on:
{exp:channel:entries channel="Pages" disable="member_data|pagination|categories|category_fields"}
{exp:playa:children var="...
2
votes
Accepted
Playa - PHP error after moving server
See this bug report thread - this error arises when you run 2.5.3 on certain PHP versions. Upgrading to at minimum 2.5.4 should fix this. From the release notes:
Fixed a bug (#18263) where PHP may ...
2
votes
EE3 and Playa - do they work together
Brandon Kelly would definitely list it in a change log if it were released for EE3. I don't think he's actually published a road map for EE3 as of yet, but has tweeted that he is working on EE3-izing ...
2
votes
Accepted
EE3 Relationships VS Playa
I haven't used the latest Playa but the with relationships being native it will stop painful upgrades to the CMS whenever you next upgrade - it's almost always better to rely on core modules then to ...
1
vote
Matrix/Playa saving issue
Resolved - upgrading Matrix to the latest version (was 2.2 now 2.5) and tghis has fixed the issue.
Thanks for the feedback and suggestions folk!
1
vote
Playa Children Entries not Displaying When Parent has Same Title as Another Entry
It's ok, I was passing the url title in as a parameter, I've changed that to be the full url and it is working perfectly.
Thanks.
Stephen.
1
vote
Accepted
tabs not working
This is actually a HTML/CSS issue.
You're forgetting that just the first tab content should have the class active.
The tabs have a conditional, {if count == '1'}class="active"{/if}, but the contents ...
1
vote
Accepted
Using Related Entries for Modular Content Entry
Put both field types in the Matrix, let users choose what to use by entering content or selecting an entry from the Playa field, and then have template-level conditionals checking the fields for ...
1
vote
Accepted
var_prefix message in ee 2.8.1 dev log
You shouldn't need to prefix with Playa for what you're doing. You should just be able to use...
{exp:channel:entries...}
{project_content}
{content limit="1"}
<h4><a ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
playa × 397matrix × 86
pixelandtonic × 48
relationships × 42
stash × 33
channel-entries × 31
categories × 20
low-variables × 19
ee2 × 18
safecracker × 18
add-on × 17
templates × 16
conditionals × 15
filter × 11
structure × 10
parse-order × 9
zoo-visitor × 8
related-entries × 8
search × 7
assets × 6
multi-site-manager × 6
ee2-upgrades × 6
loop × 6
channel × 5
grid × 5