storypioneers / kirby-selector

file selector panel field for Kirby CMS
GNU General Public License v3.0
128 stars 23 forks source link

Plugin not working in structure Kirby 2.2.1 #36

Open ghost opened 8 years ago

ghost commented 8 years ago

Hi,

I just installed kirby 2.2.1 but it seems the selector plugin isn't working properly in a structured field. The add and edit button don't do anything when you click them.

JonasDoebertin commented 8 years ago

Are you using the most recent version 1.5.1?

ghost commented 8 years ago

Yes I am, just reinstalled it to be sure but no result. The add and edit button don't work in a structured field.

JonasDoebertin commented 8 years ago

Thanks for checking that out!

Unfortunately, it will take me a few more days to tackle this though.

ghost commented 8 years ago

No problem, thanks for the fast response!

janstieler commented 8 years ago

Hi, on my site, if i press the edit button it open a new screen which looks like that a modal is not working correct. See screenshot and the URl is like that panel/pages/partner/field/partner/structure/fwfhnVYFZ7GVWbifX9aBN8ZQOgQxkJC5/update

bildschirmfoto 2015-11-28 um 03 34 48

Ninjami-Juho commented 8 years ago

Having this issue as well. Pressing the add button closes the structure popup. Now I have to upload images first in the files section, and then open the structure item and select the file. Thats ok for me, but for others using the sites it would be easier to be able to upload directly from the popup. Sometimes people have written a lot in the structure-item and then presses upload and loose everything because the popup closes.

laurelschwulst commented 8 years ago

Hi there, just wanted to let you know that I'm having this issue as well. Thank you in advance!

thomasflad commented 8 years ago

Hi, same issue here. Would be very nice to use this nice plugin in strucutres as well.

JonasDoebertin commented 8 years ago

From my experience, the basic selector functionality works just fine in structure fields.

However, there is an issue with the "Add" and the "Edit" options: these will break in a structure field. This is based on the way these link are design, panel-wise.

The only thing I can think of to fix it, is to simply hide these, whenever the selector runs within a structure field.