Saltcorn 0.6.0 - Box model, flexbox layout, print to PDF

By Tom Nielsen
Published on 23 October 2021

In the drag-and-drop builder, the improvements are:

  • In the Container and card builder elements you can now specify all properties of the box model independently in any direction. You click on a diagram of the box model to select which property to edit. This means you can set margin, padding and border properties in any direction
  • In containers you can set the display model to flex mode and set all the flex properties. This is a straightforward implementation of CSS flexbox model, and you can use this to experiment with the different Flex properties
  • Wider keyboard navigation is now implemented: up, down, left, right, delete backspace. Delete and backspace select the next element as appropriate.
  • The selected element is shown with an indicator box with options selecting the parent, or duplicating or deleting the element
  • Container element can now be set to an HTML element other than div – span, section, footer etc

Other improvements are:

Actions can now receive and respond to the page state. Actions can also result in a file download. This is used in the page-to-pdf plug-in which generates PDFs from pages – so you can now use Saltcorn to generate reports! Using this requires the chromium browser to be installed. If you are on a DigitalOcean marketplace droplet, you will need to SSH in and run sudo apt install chromium-browser. An updated marketplace image with version 0.6.0 is in review

Better error messages: eval errors give a better indication of the formula that failed. Errors in rendering views are tagged with the view name.

Library, triggers and roles are now included in packs and backups.

Many bugs were fixed. Saltcorn once again installs on win32 platforms.
 


Recent posts


nome
/
a year ago

Thanks Tom. This is great

blub
/
a year ago

cfncfngfcngcfgcn

Mike Williams
/
24 days ago
Hey, I was wondering if you are interested in an AI bot that writes any content for you in seconds (headlines, blog posts, blog ideas etc.), so you save a lot of time, costs and frustration. All you have to do is type in some keywords of what you want to create and the AI bot creates high quality content for you. Over 100 000+ bloggers are using the AI bot already. Check out this 60 second video to learn more about it: www.newcopybot.com Regards, Mike Co-Founder of AI Hustle Ps.: After you watch the short video you can get a 7-day free trial of the AI bot and write over 40k words for free.
David McChan
/
15 days ago
I'm sure we've all heard the old saying, "Do what you love, and it'll never feel like work." It's not just a catchy phrase—it's true! But sometimes, even when we do what we love, it can seem impossible to make money doing it. For example: I'm a blogger. I write blog post and articles and all kinds of other stuff. And guess what? I absolutely love it! But because I'm not working for a big company with lots of clients—I'm working for myself—it can sometimes feel like there's no way to turn my passion into profit. But then something happened… something amazing! A new ai tool came out that changed everything for me. Now I can make as much money from writing as any other corporate-type could from their job, without having to compromise my creativity or compromise on my lifestyle. Check out this 60 second video to find more about this new ai tool: www.newcopybot.com Regards, David
Conor Kennedy
/
13 days ago
Hey, I made a quick video for you and I believe your business can strongly benefit from. Check it out: https://vm.tiktok.com/ZMFabG4nL/ Best, Conor
Michael Bolton
/
12 days ago
Hey, I know your business can strongly benefit from this new ai tool, as already over 100 000 businesses have. It allows you to write any high quality copy in seconds like emails, blogs, sales copy, social media content etc. Anything. Click here to get the free 7 day trial: www.newcopybot.com Worst case you use the ai tool for free and that's it. Best, Michael
Anna Marrow
/
11 days ago
All of our clients increase on average their conversion rate by 17,4% and you can too with this new ai tool. Here is a 7 day free trial: www.newcopybot.com Enjoy, if you don't like it let me know. Best, Anna