Image Slider: New Entry to Top
Permalink
Hello!
Playing around with the Image Slider Block built into Concrete 5.7. Is there a way to make it so that when you "Add Entry" the new entry is added at the top instead of the bottom? I know you can rearrange using the arrows; however, if you have a good number of images, it would be a pain to rearrange it every time to make sure the newest picture was first.
Thanks.
Playing around with the Image Slider Block built into Concrete 5.7. Is there a way to make it so that when you "Add Entry" the new entry is added at the top instead of the bottom? I know you can rearrange using the arrows; however, if you have a good number of images, it would be a pain to rearrange it every time to make sure the newest picture was first.
Thanks.
This can be done, but requires modifying the block's form and then overriding it.
I made the changes and put them into a new file you can use to do this.
I have attached a zip file. Unzip this file into your application\blocks folder.
After unzipping, there should be a new folder and PHP file with this path:
application\blocks\image_slider\form_setup_html.php