Make a download page
Make a download page
Fred Sunday 27th August 2017, 18:35:03Hi, you want to propose files to download from your site Flatboard?
Ok, follow the guide 👀...
1°) Recover this file (right click, save as) and rename it to download.php.
2°) Send it to the root of your Flatboard, and insert the link in your sidebar of the theme (sidebar.tpl.php).
3°) Create the download folder in the uploads folder.
4°) Send your archives (.zip only!) to this folder.
5 °) Finish
You can customize the script by editing it, everything is commented.
Last modified by Fred on Sunday 27th August 2017, 18:37:00
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
Replies 15
Plugin sent!
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
Hi @Fred,
sorry that I have not written to you by mail. I had to clarify some things privately.
The download plugin now works well in the new flatboard version. I have now tested again. So you can make the plugin here in the forum, if you want.
sorry that I have not written to you by mail. I had to clarify some things privately.
The download plugin now works well in the new flatboard version. I have now tested again. So you can make the plugin here in the forum, if you want.
The plugin is currently working only with the next version of Flatboard, which is not published, so the plugin will not be ;)
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
Je tiens aussi à préciser pour tous les francophone, pour avoir la date en français, remplacez
$date = date($config['date_format'], $filemtime);
Par :
$date = date($config['date_format'], $filemtime);
$en = array("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
$fr = array("Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche", " Janvier", "Février", " Mars", "Avril", " Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre");
$date = str_replace($en, $fr, $date);
$date = str_replace("th", "", $date);
Suggested Topics
goopDat@5e502df7
started Hello world!
Open Bar
jcjm@f330cc9c
started todolist Private forum is shown to everyone
Bug reports
Fred
started plugin Nofollow
Resources