We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Playa

Development and Programming

Helmi_xisnet's avatar
Helmi_xisnet
71 posts
16 years ago
Helmi_xisnet's avatar Helmi_xisnet

Hi Brandon, will this version works with MSM setup?

       
Brandon Kelly's avatar
Brandon Kelly
257 posts
16 years ago
Brandon Kelly's avatar Brandon Kelly

It’ll work as well/poorly as previous versions. MSM users will get some lovin soon, I promise!

       
stinhambo's avatar
stinhambo
1,268 posts
16 years ago
stinhambo's avatar stinhambo

Hi Brandon,

Any love for the weird Javascript dragging bug?

       
Les McKeown's avatar
Les McKeown
133 posts
16 years ago
Les McKeown's avatar Les McKeown

Hi Brandon - welcome back, and thanks for doing this!

       
Brandon Kelly's avatar
Brandon Kelly
257 posts
16 years ago
Brandon Kelly's avatar Brandon Kelly
Any love for the weird Javascript dragging bug?

Not yet, sorry!

       
Brandon Kelly's avatar
Brandon Kelly
257 posts
16 years ago
Brandon Kelly's avatar Brandon Kelly
I’m running into an issue now with special characters in the titles of my related entries. Has anyone encountered this? In my case, there is one entry with an é in the title, so Playa is throwing a REL error on that entry - but the other entries are coming out OK. Also, some entries with multiple quotes (double and single quotes) in the title seemed to be problematic.

This issue has been fixed in Playa 1.1.2.

Thanks Ryan for your help with this!

       
Phil J Leitch's avatar
Phil J Leitch
85 posts
16 years ago
Phil J Leitch's avatar Phil J Leitch
Love this extension, the only thing it is missing for me is the ability to use {count} so I can treat the first related entry differently. I saw a few earlier posts about this as well but there doesn’t seem to have been an answer (or alternate solution!).
This is somewhat tested…let me know if you have any problems. PHP must be turned on for the template where you are using this.
<?PHP
    $count = 1; //set your starting value for count
?>

//On your first entry, count should be equal to 1 and output the class called first
//Count will continue to get larger, so it will never equal 1 again
<?PHP if ($count == 1) { echo ' class="first"';} else { $count++; } ?>

Sorry to not have replied sooner, I let this project slide while working on something else.

Here is what I did and get a count of 1 for everything.

<dt>Memory</dt>
<dd>
<?PHP
    $count = 1; //set your starting value for count
?>

{related_entries id="products_memory"}
<div class="configurator_option"><input type="radio" value="{parts_cost}" name="memory" <?PHP if ($count == 1) { echo ' checked="checked"';} else { $count++; } ?> /> <label>{title}  - ${parts_cost} | ${parts_list_price} | <?PHP echo $count; ?></label></div>
{/related_entries}
</dd>

I have multiple sets of radio buttons and need the first one selected in each case.

Brandon, any chance of getting count in an upcoming update to Playa?

       
Brandon Kelly's avatar
Brandon Kelly
257 posts
16 years ago
Brandon Kelly's avatar Brandon Kelly
Brandon, any chance of getting count in an upcoming update to Playa?

I would love to add a counter some day, but since the PHP thing does work (if a bit hackish), it’s very low on my priority list. If someone else has EE extension experience and wants to give it a shot, talk to me.

       
Linda A's avatar
Linda A
647 posts
16 years ago
Linda A's avatar Linda A

If anyone could shed some light on the following questions, I’d really appreciate it. 😊

1) I am using Mark Hout’s extension right now. I use it to relate selected gallery entries to weblog entries. Can Playa do that too?

2) Is it possible to select how many of the entries related to an entry to display? The blog where I pull in the gallery entries has an RSS feed, and there I only want to show a limited number of the related entries, and I haven’t been able to figure out a solution for this so far.

3) How about selecting which of the related entries to show by way of a gallery custom field on those entries?

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg

I think the PHP count code above is incorrect. With that code the $count variable will never go up. Shouldn’t it be:

<?php if ($count == 1) { echo ' class="first"';} $count++; ?>
       
Brandon Kelly's avatar
Brandon Kelly
257 posts
16 years ago
Brandon Kelly's avatar Brandon Kelly

I just posted a few tips on how to get Playa working in a masked control panel that don’t require any modifications to the extension itself:

http://brandon-kelly.com/apps/playa/#maskedcp

       
Brandon Kelly's avatar
Brandon Kelly
257 posts
16 years ago
Brandon Kelly's avatar Brandon Kelly

Playa 1.1.3 is out: http://brandon-kelly.com/apps/playa/

Fixes a caching issue and speeds up entry saving.

       
Richard Frank's avatar
Richard Frank
200 posts
16 years ago
Richard Frank's avatar Richard Frank

Can you have multiple playas on one publish form? My second playa is not working as expected.

This probably has been answered, but it’s difficult to page through 14 pages of info. Does anyone know how to see the whole thread on one page on this forum?

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

I agree - this thread is ridiculous. Yes, you can have multiple Playa fields on one publish form. I do that all the time. If you can’t do that, maybe there is an extension conflict. Do you have other extensions installed?

       
Brandon Kelly's avatar
Brandon Kelly
257 posts
16 years ago
Brandon Kelly's avatar Brandon Kelly
this thread is ridiculous.

Agreed!

I’ve announced Playa 1.2 on a new thread. Let’s let this one RIP, shall we?

       
First 14 15 16 17

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.