Closed joshangell closed 10 years ago
Hi Josh
Thanks for letting me know. I'll take a look shortly and get back to you.
Lewis
Sent from my iPhone
On 21 Mar 2014, at 16:35, Josh Angell notifications@github.com wrote:
Fieldtypes not appearing in the new field form and also existing fields going red in the field list view.
Assuming this is to do with a recent change to the craft fieldtypes api but not totally sure.
Last working in 1.4.2506.
— Reply to this email directly or view it on GitHub.
Hi Josh
This has been acknowledged by Pixel and Tonic to be a new Craft bug caused by a recent change in the way plugin components are loaded. Brandon has confirmed that this has now been fixed in the next Craft release, but if you need the fix now then he says to open
craft/app/services/ComponentsService.php
and change strpos
to strrpos
in this line:
if (($pos = strpos($class, '_')) !== false)
and that will fix the problem :)
Thanks lewis - I can confirm this fixed it :)
Fieldtypes not appearing in the new field form and also existing fields going red in the field list view.
Assuming this is to do with a recent change to the craft fieldtypes api but not totally sure.
Last working in 1.4.2506.