22437 Posts in 7073 Topics by 2750 members
|Go to End|
15 October 2012 at 1:54pm
I have already posted this to forms but no replies so maybe more luck here
I have created an Orbit slider class to go with my Zurb Foundation template (which I am planning to submit for public use). This class has some couple of small issues as detailed below:
1. If I use the UploadField to choose an image "from files" the resulting popup is correct and in the correct directory but does not show the image thumbnails that are available in the Files repository. What is the config to enable this - or is there one at all? It is very hard to choose images if you can't see them.
2. How do I disable the upload buttons when there is already one image selected. This is supposed to be automatic in a has_one and I have set allowedMaxFileNumber' => 1 to no avail.
3. When I create a new Orbit image and choose an image "from files" it fails, as there is no actual object to attach it to. I see there is a setRecord() method available and if I add
In the getCMSFields() function then at least I get a warning to save the new object first. For the unwary though, the save button by default says "Create" whereas the warning text is by default "Files can be attached once you have saved the record for the first time." which will lead some users to quiz the operation. How might I save this object immediately it's instantiated.
Curiously, if I upload a fresh image to an unsaved new Orbit image this seem to happen automatically and it works fine.
Any ideas appreciated.
30 May 2013 at 4:20am
Have you found a solution?
I wanted to have thumbnails in SS for 4 years now Version 3 came with some sort of improvement, but it looks quite buggy
I don't know why they don't care about this issue. You really can't select images without seeing them! Filenames are good unless you've got more than 10 images …
|Go to Top|