Jump to content

Christophe

Members
  • Posts

    688
  • Joined

  • Last visited

Everything posted by Christophe

  1. https://www.php.net/manual/en/info.configuration.php#ini.max-input-vars As you may already know, it can be changed in your hosting provider account. Possible solution: https://modules.processwire.com/modules/process-admin-actions/ FTP Files to Page Add files/images from a folder to a selected page. Something that could be useful - to put in the admin.php file (source: Adrian): $this->addHookBefore('InputfieldFile::render', function($event) { $inputfield = $event->object; if($field = $inputfield->hasField) { if(!is_object($field)) return; $p = $event->object->hasPage; $inputfield->label .= ' (' . $p->{$field->name}->count() . ')'; } });
  2. Knowing the version(s) of PHP would help.
  3. Possibly because you type too quickly. (With the Azerty keyboard) I sometimes, for example, typed gogole.com, in the url bar directly or in the search bar of another search engine, wanting to type google.com. It must happen often, because Google bought it. It is redirected to its page.
  4. * Admin Actions https://modules.processwire.com/modules/process-admin-actions/ "FTP Files to Page Add files/images from a folder to a selected page." * You can drag-drop the selected images from the computer's folder to the CKEditor field (perhaps using Ctrl-C and Ctrl-V also works). The images are uploaded and inserted in the field, and are then added automatically to the first image field in the page (my experience).
  5. While looking for apng - which has very good support now: https://caniuse.com/?search=apng (contrary to mng) - for a possible solution for slideshows conversions for a future Joomla! to ProcessWire migration (using css grid and possibly also flexbox), I've just stumbled upon FLIF: https://flif.info/animation.html "14% smaller than lossless WebP, 22% smaller than lossless BPG," Etc. https://github.com/UprootLabs/poly-flif
  6. https://blog.gskinner.com/archives/2020/07/introducing-flokk-a-desktop-app-built-with-flutter.html https://blog.gskinner.com/archives/2020/09/flokk---how-we-built-a-desktop-app-using-flutter.html "Rive takes advantage of cutting-edge technologies such as Flutter and WebAssembly to create native desktop and web apps." https://rive.app "Bring Your Apps and Games to Life with Real-Time Animation" https://blog.rive.app/rives-web-runtime/ "Learn how Rive's web runtime works under the hood and how to embed a Rive animation in a web page."
  7. https://affinity.serif.com/en-gb/supporting-the-creative-community/ + A new 90-day free trial of the Mac and Windows versions of the whole Affinity suite + A 50% discount for those who would rather buy and keep the apps on Mac, Windows PC and iPad + A pledge to engage more than 100 freelance creatives for work, spending the equivalent of our annual commissioning budget in the next three months (more details of this will be announced soon).
  8. An update soon. It seems that I have found a solution for at least the "add one or more events to a day" part. I have to adjust some php, html, css and other things. Also perhaps to change under which page(s) the template code has to be, under Agenda as it currently is or the pages for the years. The code is still quite short.
  9. In case someone needs it. Part of a PM. "Here is my "test" code(s) (created and tested in a online php tester) : First version before adding the name of the days (part): <?php setlocale(LC_ALL, 'fr_FR'); $year = "2020"; // change with processwire name $months_in_year = range(1, 12); echo "<h2>" . $year . "</h2>"; foreach ($months_in_year as $month) { $month_name = utf8_encode(strftime('%B', mktime(0, 0, 0, $month))); $days_in_month = date( 't', strtotime( $year . '-' . $month ) ); echo "<em>" . $month . "° mois : " . $days_in_month . " jours</em>"; echo "<h3>" . ucwords($month_name) . "</h3>"; foreach (range(1, $days_in_month) as $day) { echo "<p>" . $day . "</p>"; } echo "<hr />"; } Second version: <?php setlocale(LC_TIME, 'fr_FR.utf8','fra'); $year = "2020"; // change with processwire name $months_in_year = range(1, 12); echo "<h2>" . $year . "</h2>"; foreach ($months_in_year as $month) { $month_name = strftime('%B', mktime(0, 0, 0, $month)); $days_in_month = date( 't', strtotime( $year . '-' . $month ) ); echo "<em>" . $month . "° mois : " . $days_in_month . " jours</em>"; echo "<h3>" . ucwords($month_name) . "</h3>"; foreach (range(1, $days_in_month) as $day) { $day_name = strftime('%A', mktime(0, 0, 0, $month, $day, $year)); echo "<p>" . ucwords($day_name) . " " . $day . "</p>"; } echo "<hr />"; } setlocale because "Février" for example had accent encoding issues. Perhaps I won't need it. [ ucwords() OR ucfirst() ] mktime will only work correctly until 2038 apparently but I guess it's ok. (I suppose the Julian system is used by default.) There was also jddayofweek, for instance, but I couldn't quickly make it work so I tried and did the same as with $month_name At the beginning I also tried DateTime: a bit." I'm really not sure how to handle the next steps for the moment. I've had some suggestions. I've been away for some time, not using the computer a lot. I've created the php calendar/agenda part quite recently. It still needs adjustments. I still have to figure out how to add one or several events to a day, etc. And if, for example, I need to have years as pages or not in the admin, or as other fields elsewhere. (I guess at least 2 years should be available (for statistics/an annual report, and the following year). (Then will come the registered users solution(s) later. I still have several steps before.) I've just started now with: Agenda [template agenda] Years [template years] 2020 [template year] Events [template events] Event 1 [template event] Event 2 [template event] But I'm just beginning again. Perhaps it will change soon. I don't really know how I managed to create the calendar/agenda part. Just with some suggestions, searches on the Internet and trials and errors. ?
  10. Hi, I help sometimes a small non-profit organization by, among other things, improving the website that I created for them. Recently they asked me if I could add a functionality. So, they would like a kind of agenda/calendar. The editor(s) would enter the events, and the members of the association/organization would connect to the website, only to be able to add their names to the list of persons who would attend the event. They would also be able to remove themselves from the list. Perhaps even the number of persons would be a nice addition, but not obligatory. The list could only appear on hovering or clicking the mouse, it shouldn't necessarily need to be visible from the beginning. It should be visible from the other members connected to the website (on the frontend). Each member should have his/her own account, username and password. Of course their access to the admin should be very limited and secured. I already have some pro modules (even some that I haven't used yet), and I am willing to acquire a new one if it helps. I'm welcoming every suggestion (even though I already have some ideas and will continue researching). Have a very nice weekend!
  11. https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML Another note that might also interest you:
  12. Christophe

    other CMSs

    Just to share an accidental discovery. I've just stumbled upon this website: https://getpublii.com
  13. https://www.litespeedtech.com/products/cache-plugins Where is the ProcessWire LSCache module ??
  14. https://scout-app.io http://livejs.com https://www.sassmeister.com https://www.npmjs.com/package/livereload (?) https://compass.kkbox.com (?) (I didn't include some that are only free, and not open source.)
  15. https://github.com/oklai/koala "The project has been stopped!! The development method has changed a lot be from the project start time to now, and there are many better alternatives in the open source community. So I think the projet is outdated, and decided to stop maintenance. Sorry about for this. If someone is still willing to continue maintenance, welcome to create a new project, it will be the best way." Too bad!
  16. [ After a quick search for Koala (that I already knew but haven't used for the moment) with things that you are looking for. ] Listed in the video description: https://code.visualstudio.com http://koala-app.com https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer https://marketplace.visualstudio.com/items?itemName=ritwickdey.live-sass The video is not in English, but apparently it is understandable. You can surely find other videos on the subject.
  17. I've just noticed this: https://devilbox.readthedocs.io/en/latest/examples/setup-processwire.html The ProcessWire recipe is missing here: https://docs.lando.dev/config/recipes.html#supported-recipes
  18. Has anyone tried https://lando.dev? I've just found it. (I need MariaDB and not MySQL.) *** But the hardware requirements are quite high... https://docs.lando.dev/basics/installation.html#hardware-requirements *** And are some of you happy with Devilbox or Laravel Homestead, for example? (Preferably on Linux.) Are they too complex to install or use, or do they take up too much space, for instance? Is it worth it? What are your opinions? Thanks in advance! NB: For the last projects, I developed online. I will normally soon invest in a new computer for several reasons, one of them - not the most important - being the space left.
  19. https://www.fieggen.com/shoelace/index.htm Website I bookmarked some time ago.
  20. https://affinityspotlight.com/article/comedy-wildlife-photography-awards-2019-the-best-entries-so-far/
  21. https://www.comedywildlifephoto.com
  22. 3 other options among many others: https://leoeditor.com https://leoeditor.com/installing.html https://kaleguy.github.io/leovue/#/t/2 https://jupyter.org (and the new JupyterLab) https://rednotebook.sourceforge.io I'll perhaps add other ones when I find them again in my bookmarks or elsewhere.
×
×
  • Create New...