rsanchez / entry_type

A dropdown fieldtype for ExpressionEngine 3 that shows/hides other fields on the publish page.
http://devot-ee.com/add-ons/entry-type/
47 stars 21 forks source link

P&T Field Pack 2.x fieldtypes not available in Entry Type field settings #29

Closed michaelrog closed 10 years ago

michaelrog commented 11 years ago

Since P&T released Field Pack 2.x, I can no longer select a P&T Pill as the selector control for the Entry Type field. I'm guessing it's because package names changed. Will look into it when I get some spare time if it's not already on your radar...

rsanchez commented 11 years ago

There's a protected $fieldtypes array at the top ft.entry_type.php. Try adding this to it:

'fieldpack_pill' => array(),

I think that's all you need to do. Let me know if that works and I'll work it into a new release.

michaelrog commented 11 years ago

Works like a charm.

On 5/7/13 4:35 PM, Rob Sanchez wrote:

There's a protected $fieldtypes array at the top ft.entry_type.php https://github.com/rsanchez/entry_type/blob/master/ft.entry_type.php#L15. Try adding this to it:

'fieldpack_pill' => array(),

I think that's all you need to do. Let me know if that works and I'll work it into a new release.

— Reply to this email directly or view it on GitHub https://github.com/rsanchez/entry_type/issues/29#issuecomment-17572242.

etheya commented 11 years ago

Im having a similar problem... its now stopped actually changing the options available since updating to the new Field Pack... any ideas? its showing the default set of fields... but when changing to another choice nothing is happening, it just goes blank, with no extra fields.

So removes the default fields but doesnt swap them for new ones?

etheya commented 11 years ago

PS running 1.07 and EE 2.6.1

It doesn't seem to be changing to the ones that ive chosen to hide.. almost like its not saving the ones i select.

etheya commented 11 years ago

Hi Rob,

Did you see waht the issue was?

etheya commented 11 years ago

Ah doesnt look like you got my email in return yesterday with the login details etc to have a direct look.

etheya commented 11 years ago

Can you drop me an email if you didnt get my one in return yesterday and i will send you the login details for the site so you can have a look at whats happening... but dont want to post them on here really.

brian@etheya.com

rsanchez commented 11 years ago

I logged in to your site, I could not see anything wrong. I still don't think I understand exactly what the issue is. Unfortunately I don't have time this week to look into it further.

etheya commented 11 years ago

Hi Rob,

Ive worked it out.. or at least a solution... for some reason or other it was CHANGING the visibility of the fields on the initial load of the page... so when you clicked on the option to change, the reason nothing was showing was that the fields in the SHOW TOOLBAR were actually hidden. I have no idea why its happening... BUT i just created a new option which initially shows everything... i then made show that all are visible... then when you click on the option it limits things based on the options asked for...

So its now working, but there is something a little fishy going on in there somewhere... thanks for looking.

B.

On 20 May 2013, at 14:53, Rob Sanchez notifications@github.com wrote:

I logged in to your site, I could not see anything wrong. I still don't think I understand exactly what the issue is. Unfortunately I don't have time this week to look into it further.

— Reply to this email directly or view it on GitHub.