anyone use this w/ a Playa field?
Posted: 15 September 2010 01:06 AM   [ Ignore ]
Wallflower
Rank
Total Posts:  6
Joined  2010-09-14

I’m crossing my fingers that it’s possible…

Profile
 
 
Posted: 15 September 2010 01:11 AM   [ Ignore ]   [ # 1 ]
Absolute Heartthrob!
Avatar
RankRankRankRankRank
Total Posts:  10369
Joined  2008-09-29

It works with Playa. When we were originally testing it, we tested on the following:

Text Input
Checkboxes
Date
File
Matrix
Multi Select
NSM TinyMCE
P&T Checkboxes
P&T Dropdown
P&T Multiselect
P&T Radio Buttons
Relationship
SafeCracker Catchall
Select Dropdown
Textarea
Wygwam
Radio Buttons
Playa
SafeCracker File
P&T List
P&T Pill
P&T Switch

Since then we’ve tested on more fields like S3 UPloader. If we hear of new fields, we’ll test them out.

 Signature 
Profile
 
 
Posted: 15 September 2010 01:15 AM   [ Ignore ]   [ # 2 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

If you are using the {custom_fields} tag pair to display your field:

{custom_fields}
    {if playa}{display_field}{
/if}
{
/custom_fields} 

Or if you prefer to build your entry form without using the custom fields tag pair:

{field:your_playa_field_name} 
Profile
 
 
Posted: 15 September 2010 01:31 AM   [ Ignore ]   [ # 3 ]
Wallflower
Rank
Total Posts:  6
Joined  2010-09-14

holy smokes that was easy!!!

you might want to add a bit about that on this page: http://barrettnewton.com/safecracker/user_guide/entry_form/#field_custom_fields

there are a lot of folks over in the Playa world who are pretty bummed about the current playa/ee2.1/saef situation… this is GREAT!

Profile
 
 
Posted: 19 November 2010 12:03 AM   [ Ignore ]   [ # 4 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

I’ve never used it on a production site, but I have tested it with SC and it works.

Profile
 
 
Posted: 19 November 2010 12:40 AM   [ Ignore ]   [ # 5 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Did you add the datepicker plugin? http://barrettnewton.com/safecracker/user_guide/entry_form/#section_first_steps

{exp:jquery:script_tag ui="datepicker"
Profile
 
 
Posted: 07 February 2011 12:49 PM   [ Ignore ]   [ # 6 ]
Wallflower
Rank
Total Posts:  17
Joined  2011-02-04

Hi,

I’m trying to add a P&T Pill field in an edit form and have it display the styling for the field from P&T.  I guessed and tried wrapping it in {if pt_pill} and it came out as a yes/no dropdown (so come progress), but none of the styling for the field came with.  Do I need to do something else to make that work?

I’d rather not use the custom fields tag, and place the fields myself.  How would that work?

Thanks.

Profile
 
 
Posted: 07 February 2011 09:19 PM   [ Ignore ]   [ # 7 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Hi Connie,

You should just be able to do this to show your pill field outside of the custom_fields loop:

{field:your_pt_pill_field_name} 

Just make sure that the PT Pill theme is properly installed in your themes/third_party folder.

Profile