Recently, the proposition was put forth that perhaps we could have the image uploaders - for Trongate - uploading images to (individual) module directories instead of to the public folders. A vote was held on YouTube and the verdict from this was clear. The community voted heavily in favour of having images being uploaded to individual modules directories by default. However, a significant number of you voted to have a feature that ultimately gives developers the ability to choose a destination for file uploaders. This would amount to a simple choice between 'public' and 'module'.
All of the work for carrying out the wishes of the community is now complete. Therefore, we're pleased to declare that v1.0.003 of the Trongate Desktop App is ready for download.
This is quite a major upgrade. So, here's everything you need to know:
WHY WAS THIS UPGRADE CARRIED OUT?
- To make modules even more modular. So, Trongate developers can now literally copy and paste entire modules from 'site A' to 'site B' (no command line required). If those modules happen to contain images then the images will be contained within the module's 'assets' directory. All of this makes Trongate web applications extremely portable, scalable and modular. In short, it makes Trongate modules even more self-contained.
WHO MADE THE DECISION TO CARRY THIS OUT?
- A open vote was held on YouTube. Here's the URL: https://youtu.be/D-sPqpLz_eo
WILL THIS CHANGE BREAK MY APP?
No. You'll be fine. However, if you experience any technical difficulties then please let use know via our new Help Bar.
WHAT SHOULD I DO?
Make sure you are on the latest version of the Trongate desktop app. If that's not possible then simply change the permissions of your module's 'assets' directory in instances where you'd like to upload images to the assets folder.
Apart from a potential permissions warning, the likelihood of a serious error appearing due to this update are slim to none.
ARE THE ANY OTHER NEW THINGS WORTH KNOWING ABOUT?
Yes! We have now added a new form_number() method to the form helper. This works in precisely the same way as form_input(). The only difference is when you call form_number(), it draws a form input field that only accepts numeric values (including one decimal point).
Also, Simon Field (who goes by the name 'Dafa') has added a very helpful message for users who run into GD extension errors. Tim Lalev has also added some more functionality onto our API manager and also fixed a broken link. Trongate CSS has been tweaked to accommodate our new 'number' form field. Also, a variety of minor glitches to do with date and time pickers have been fixed.
-based date range pickers is a huge big job and we are eager to take our time and get it right first time. Date ranges and time ranges do work and you are welcome to use them. However, we just haven't had time to get the validation working yet. Rest assured, that will be addressed shortly.
WHAT'S NEXT FOR TRONGATE?
Trongate will never be finished! However, as a community, we have now reached a point where feel that we can finally draw some sort of (perhaps slightly dotted!) line and declare 'job done'. Over the next twelve months, the priority is going to shift from development of the framework to recording video tutorials along with other training material.
In the very near future, you can expect more video training on YouTube and - very soon - training on how to upload modules to the Trongate Module Market. It's a beautiful ecosystem and we feel sure you'll be amazed by how easy it is to upload your own modules and share them with your friends.
If you like Trongate then we do NOT require any money. Trongate is free forever! There's no need to donate. All we ask is, if you like Trongate please do give us a star on GitHub. If you have already given us a star (thank you!) then we'd be really grateful if you could simply talk about Trongate. Articles, podcasts, YouTube videos, tutorials or even tweets mean the world! Thank you so much for your support!
Photo by Andrea Piacquadio from Pexels